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 Details
- CVSS 4.0 Base Score: 8.4 (HIGH)
- CVSS 4.0 Vector: (CVSS: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)
- CVSS 3.1 Base Score: 9.6
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade gpsd | Sep 21, 2026 | Jul 9, 2026 |
| Redhat_linux | — | Upgrade python3-gpsd-debuginfoUpgrade python3-gpsdUpgrade gpsd-clientsUpgrade gpsdUpgrade gpsd-clients-debuginfoUpgrade gpsd-debuginfoUpgrade gpsd-minimal-debuginfoUpgrade gpsd-minimal-clients-debuginfoUpgrade gpsd-minimalUpgrade gpsd-minimal-debugsourceUpgrade gpsd-debugsourceUpgrade gpsd-minimal-clients | Jul 17, 2026 | Jul 9, 2026 |
| Rocky_linux | — | Upgrade python3-gpsd-debuginfoUpgrade gpsdUpgrade gpsd-clientsUpgrade python3-gpsdUpgrade gpsd-debugsourceUpgrade gpsd-minimal-debuginfoUpgrade gpsd-minimal-debugsourceUpgrade gpsd-debuginfoUpgrade gpsd-clients-debuginfoUpgrade gpsd-minimal-clientsUpgrade gpsd-minimal-clients-debuginfoUpgrade gpsd-minimal | Aug 10, 2026 | Aug 7, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub