CVE-2026-58459
published 2026-07-09CVE-2026-58459: gpsd through release-3.27.5, fixed at commit 4c06658, contains a command injection vulnerability in gpsprof that allows attackers who control the GPS device…
PriorityP263critical9.6CVSS 3.1
AVNACLPRNUIRSCCHIHAH
EPSS
2.86%
86.8th percentile
gpsd through release-3.27.5, fixed at commit 4c06658, contains a command injection vulnerability in gpsprof that allows attackers who control the GPS device subtype value to execute arbitrary shell commands by embedding backtick payloads in the gnuplot plot title without proper escaping. The subtype field sourced from a DEVICES JSON log entry or NMEA PGRMT sentence is written into a generated gnuplot program via a set title statement with only double-quote characters escaped, enabling arbitrary shell command execution as the user running gnuplot when the victim renders the generated plot through the gpsprof and gnuplot workflow.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| gpsd_project | gpsd | <= 3.27.5 | — |
| gpsd_project | gpsd | — | — |
| ntpsec | gpsd | <= 3.27.5 | — |
Detection & IOCsextracted from sources · hover to see the quote
- →Look for backtick characters (`) embedded in GPS device subtype values within DEVICES JSON log entries or NMEA PGRMT sentences, which indicate attempted command injection payloads targeting gpsprof/gnuplot. ↗
- →Monitor gnuplot process execution spawned by gpsprof for unexpected child processes, which would indicate successful command injection via the 'set title' statement in a generated gnuplot program. ↗
- →Inspect generated gnuplot program files (produced by gpsprof) for 'set title' statements containing backtick sequences, which are the injection vector. ↗
- →Flag gpsd versions through release-3.27.5 (i.e., any version prior to fix commit 4c06658) as vulnerable in asset inventory and patch management systems. ↗
- ·Exploitation requires user interaction: a victim must actively process a specially crafted plot through gpsprof and gnuplot for the injected commands to execute. ↗
- ·The attack surface is limited to environments where an attacker can control the GPS device subtype value — either via a malicious/compromised GPS device, a crafted DEVICES JSON log entry, or a spoofed NMEA PGRMT sentence. ↗
- ·Affected packages confirmed on Red Hat Enterprise Linux 10 (gpsd) and Red Hat Enterprise Linux 9 (gpsd-minimal); Fedora and EPEL packages are also tracked as affected. ↗
CVSS provenance
nvdv3.19.6CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
nvdv4.08.4HIGHCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
gpsd: gpsd: Command Injection via GPS device subtype allows arbitrary code execution
vendor_redhat·2026-07-09·CVSS 7.8
CVE-2026-58459 [HIGH] CWE-78 gpsd: gpsd: Command Injection via GPS device subtype allows arbitrary code execution
gpsd: gpsd: Command Injection via GPS device subtype allows arbitrary code execution
gpsd through release-3.27.5, fixed at commit 4c06658, contains a command injection vulnerability in gpsprof that allows attackers who control the GPS device subtype value to execute arbitrary shell commands by embedding backtick payloads in the gnuplot plot title without proper escaping. The subtype field sourced from a DEVICES JSON log entry or NMEA PGRMT sentence is written into a generated gnuplot program via a set title statement with only double-quote characters escaped, enabling arbitrary shell command execution as the user running gnuplot when the victim renders the generated plot through the gpsprof and gnuplot workflow.
A flaw was found in gpsd, a service application that monitors one or more GP
VulDB
gpsd up to 3.27.5 gpsprof subtype os command injection (Nessus ID 326290)
vuldb·2026-07-13·CVSS 9.6
CVE-2026-58459 [CRITICAL] gpsd up to 3.27.5 gpsprof subtype os command injection (Nessus ID 326290)
A vulnerability was found in gpsd up to 3.27.5. It has been rated as very critical. Affected by this vulnerability is an unknown functionality of the component gpsprof. Performing a manipulation of the argument subtype results in os command injection.
This vulnerability was named CVE-2026-58459. The attack may be initiated remotely. There is no available exploit.
GHSA
gpsd through release-3.27.5, fixed at commit 4c06658, contains a command injection vulnerability in gpsprof that allows attackers who control the GPS device subtype value to execute arbitrary shell co
ghsa_unreviewed·2026-07-09
CVE-2026-58459 [HIGH] CWE-78 gpsd through release-3.27.5, fixed at commit 4c06658, contains a command injection vulnerability in gpsprof that allows attackers who control the GPS device subtype value to execute arbitrary shell co
gpsd through release-3.27.5, fixed at commit 4c06658, contains a command injection vulnerability in gpsprof that allows attackers who control the GPS device subtype value to execute arbitrary shell commands by embedding backtick payloads in the gnuplot plot title without proper escaping. The subtype field sourced from a DEVICES JSON log entry or NMEA PGRMT sentence is written into a generated gnuplot program via a set title statement with only double-quote characters escaped, enabling arbitrary shell command execution as the user running gnuplot when the victim renders the generated plot through the gpsprof and gnuplot workflow.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-58459 gpsd: gpsd: Command Injection via GPS device subtype allows arbitrary code execution [fedora-all]
bugzilla·2026-07-10·CVSS 7.8
CVE-2026-58459 [HIGH] CVE-2026-58459 gpsd: gpsd: Command Injection via GPS device subtype allows arbitrary code execution [fedora-all]
CVE-2026-58459 gpsd: gpsd: Command Injection via GPS device subtype allows arbitrary code execution [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
gpsd through release-3.27.5, fixed at commit 4c06658, contains a command injection vulnerability in gpsprof that allows attackers who control the GPS device subtype value to execute arbitrary shell commands by embedding backtick payloads in the gnuplot plot title without proper escaping. The subtype field sourced from a DEVICES JSON log entry or NMEA PGRMT sentence is written into a generated gnuplot program via a set title statement with only double-quote
Bugzilla
CVE-2026-58459 gpsd: gpsd: Command Injection via GPS device subtype allows arbitrary code execution [epel-all]
bugzilla·2026-07-10·CVSS 7.8
CVE-2026-58459 [HIGH] CVE-2026-58459 gpsd: gpsd: Command Injection via GPS device subtype allows arbitrary code execution [epel-all]
CVE-2026-58459 gpsd: gpsd: Command Injection via GPS device subtype allows arbitrary code execution [epel-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
gpsd through release-3.27.5, fixed at commit 4c06658, contains a command injection vulnerability in gpsprof that allows attackers who control the GPS device subtype value to execute arbitrary shell commands by embedding backtick payloads in the gnuplot plot title without proper escaping. The subtype field sourced from a DEVICES JSON log entry or NMEA PGRMT sentence is written into a generated gnuplot program via a set title statement with only double-quote ch
Bugzilla
CVE-2026-58459 gpsd: gpsd: Command Injection via GPS device subtype allows arbitrary code execution
bugzilla·2026-07-09·CVSS 7.8
CVE-2026-58459 [HIGH] CVE-2026-58459 gpsd: gpsd: Command Injection via GPS device subtype allows arbitrary code execution
CVE-2026-58459 gpsd: gpsd: Command Injection via GPS device subtype allows arbitrary code execution
gpsd through release-3.27.5, fixed at commit 4c06658, contains a command injection vulnerability in gpsprof that allows attackers who control the GPS device subtype value to execute arbitrary shell commands by embedding backtick payloads in the gnuplot plot title without proper escaping. The subtype field sourced from a DEVICES JSON log entry or NMEA PGRMT sentence is written into a generated gnuplot program via a set title statement with only double-quote characters escaped, enabling arbitrary shell command execution as the user running gnuplot when the victim renders the generated plot through the gpsprof and gnuplot workflow.
https://github.com/ntpsec/gpsd/commit/1a6bb7bcbdf58aa940132e630870af061dc88537https://github.com/ntpsec/gpsd/commit/4c06658e988f4ced1a7a574ce082a22ef625df56https://github.com/ntpsec/gpsd/commit/5581ba196d826a984fbfaf792b7d58535f9911cehttps://gitlab.com/gpsd/gpsd/-/work_items/404#note_3534119267https://www.vulncheck.com/advisories/gpsd-gpsprof-command-injection-via-gnuplot-plot-title-subtype-field
2026-07-09
Published