Vulnerability · Published Jul 23, 2026 · Assigned by VulnCheck
CVE-2026-60122gpsd gpsprof Code Injection via SKY.satellites used Field
High 7.8
In plain English
A high-severity code injection in gpsd from gpsd. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | gpsd | 1:3.26.1-3.el10_2.2 | ALSA-2026:65162 |
| AlmaLinux:10 | gpsd-clients | 1:3.26.1-3.el10_2.2 | ALSA-2026:65162 |
| AlmaLinux:9 | gpsd-minimal | 1:3.26.1-2.el9_8.2 | ALSA-2026:65606 |
| AlmaLinux:9 | gpsd-minimal-clients | 1:3.26.1-2.el9_8.2 | ALSA-2026:65606 |
| AlmaLinux:10 | python3-gpsd | 1:3.26.1-3.el10_2.2 | ALSA-2026:65162 |
| Debian:12 | gpsd | no fix listed | DEBIAN-CVE-2026-60122 |
| Debian:13 | gpsd | 3.25-5+deb13u2 | DEBIAN-CVE-2026-60122 |
| Debian:14 | gpsd | 3.27.5-1 | DEBIAN-CVE-2026-60122 |
| Rocky Linux:10 | gpsd | 1:3.26.1-3.el10_2.2 | RLSA-2026:65162 |
| Rocky Linux:9 | gpsd-minimal | 1:3.26.1-2.el9_8.2 | RLSA-2026:65606 |
| Ubuntu:22.04:LTS | gpsd | no fix listed | UBUNTU-CVE-2026-60122 |
| Ubuntu:24.04:LTS | gpsd | no fix listed | UBUNTU-CVE-2026-60122 |
| Ubuntu:26.04:LTS | gpsd | no fix listed | UBUNTU-CVE-2026-60122 |
Affected products (as reported)
Weakness: CWE-94 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- Issue Tracker issue-tracking
- Patch Commit patch
- https://www.vulncheck.com/advisories/gpsd-gpsprof-code-injection-via-sky-satellites-used-field third-party-advisory