Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-58459
VULNERABILITY

CVE-2026-58459

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
8.4
Severity
HIGH
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

Timeline

Published
Jul 9, 2026 17:17
Modified
Oct 25, 2026 17:10
Last observed
Oct 25, 2026 14:04

CWE

CWE-78

Affected product identifiers

cpe:2.3:a:gpsd_project:gpsd:*:*:*:*:*:*:*:*

References