RCE in Gpsd Project
CVE-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 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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.029 (86.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 86th percentile — 86.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.018 · newest: 0.029 · change: +0.011
Affected products
- Gpsd Project
- Ntpsec Gpsd — versions 0
Weakness classification (CWE)
References
- gitlab.com/gpsd/gpsd/-/work_items/404 (issue-tracking, Exploit, Third Party Advisory, Issue Tracking)
- Patch Commit (1) (Patch, patch)
- Patch Commit (2) (Patch, patch)
- Patch Commit (3) (Patch, patch)
- www.vulncheck.com/advisories/gpsd-gpsprof-command-injection-via-gnuplot-plot-ti… (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-58459?
- CVE-2026-58459 is a high-severity vulnerability in Gpsd Project, classified under OS Command Injection. CVSS score: 7.8/10. Published 2026-07-09.
- How severe is CVE-2026-58459?
- High severity. CVSS v3 base score is 7.8 out of 10.