RCE in Gpsd

CVE-2026-60122

gpsd through release-3.27.5, fixed at commit 4c06658, contains a code injection vulnerability in the gpsprof utility that allows an attacker who controls GPS input data to execute arbitrary OS commands by injecting malicious content into the SKY.satellites[].used field, which is inserted unsanitized into a gnuplot heredoc data block. Attackers can supply a used value containing the string EOD to terminate the heredoc early and append gnuplot system() calls, achieving OS command execution as the user running gpsprof when the generated plot script is processed by gnuplot in polar mode.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.003 (18.2th percentile) — read the EPSS interpretation.

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.

Affected products

  • Gpsd — versions 0, 5a9c44a42136b9bb98d460a8a716e9fd344a8d93

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-60122?
CVE-2026-60122 is a high-severity vulnerability in Gpsd, classified under Code Injection. CVSS score: 7.8/10. Published 2026-07-23.
How severe is CVE-2026-60122?
High severity. CVSS v3 base score is 7.8 out of 10.