CVE-2026-58459: gpsd_project gpsd OS Command Injection
Vulnerability summary
CVE-2026-58459 is a critical (CVSS 9.6) OS Command Injection vulnerability in gpsd_project gpsd. EPSS estimates a 2.86% chance of exploitation in the next 30 days, higher than 86.6% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 09-07-2026PublishedVulnerability first disclosed.
- 28-07-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
10 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.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
- OSV · WolfiEcosystem advisory · calculated8.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
- OSV · ChainguardEcosystem advisory · calculated8.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
- NVDNIST8.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
- CVE.orgCNA7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · Red hatEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated9.6CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.6CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS trend
Probability
2.86%
Chance of exploitation in the next 30 days
Percentile
87%
Versus all other CVEs
30-day change
+1.07 pp
From 1.80% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (gitlab.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Redhat12 products
- gpsd< 1:3.26.1-3.el10_2.1
- gpsd-clients< 1:3.26.1-3.el10_2.1
- gpsd-clients-debuginfo< 1:3.26.1-3.el10_2.1
- gpsd-debuginfo< 1:3.26.1-3.el10_2.1
- gpsd-debugsource< 1:3.26.1-3.el10_2.1
Mageia2 products
- gpsd< 3.27.5-1.1.mga10
- gpsd< 3.25-1.2.mga9
Chainguard1 product
- py3.13-gpsdAll versions (No fix recorded)
Debian1 product
- gpsdAll versions (No fix recorded) | < 3.25-5+deb13u2 | < 3.27.5-1
Gpsd_project1 product
- gpsd≤ 3.27.5
Ntpsec1 product
- gpsd≤ 3.27.5 | ≤ 4c06658e988f4ced1a7a574ce082a22ef625df56
Opensuse1 product
- gpsd&distro=openSUSE Tumbleweed< 3.27.5-3.1
Ubuntu1 product
- gpsdAll versions (No fix recorded)
Wolfi1 product
- py3.13-gpsdAll versions (No fix recorded)
9 vendors · 21 products
References
23 links- www.vulncheck.com/advisories/gpsd-gpsprof-command-injection-via-gnuplot-plot-title-subtype-fieldThird Party AdvisoryARTICLEREPORTAdvisory
Show all 23 references
- github.com/ntpsec/gpsdPACKAGE