cve.bz

CVE-2026-60122 gpsd gpsd: Code Injection

8.5 highEPSS 0.2%

High (8.5) in gpsd gpsd. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

8.5 high
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 7th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-07-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-60122 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-60122?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-60122?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-60122 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
gpsdthrough 3.27.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12gpsdno fix listedDEBIAN-CVE-2026-60122
Debian13gpsd3.25-5+deb13u2DEBIAN-CVE-2026-60122
Debian14gpsd3.27.5-1DEBIAN-CVE-2026-60122
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 3 moregpsdno fix listedUBUNTU-CVE-2026-60122
Red Hatenterprise_linux:9::appstreamgpsd-minimal, gpsd-minimal-clients, gpsd-minimal-debuginfo and 2 more1:3.26.1-2.el9_8.2RHSA-2026:65606
Red Hatenterprise_linux:10.2gpsd, gpsd-clients, python3-gpsd and 4 more1:3.26.1-3.el10_2.2RHSA-2026:65162
openSUSETumbleweedgpsd3.27.5-4.1openSUSE-SU-2026:11891-1
AlmaLinux9gpsd-minimal, gpsd-minimal-clients1:3.26.1-2.el9_8.2ALSA-2026:65606
AlmaLinux10gpsd, gpsd-clients, python3-gpsd1:3.26.1-3.el10_2.2ALSA-2026:65162
Rocky Linux9gpsd-minimal1:3.26.1-2.el9_8.2RLSA-2026:65606
Rocky Linux10gpsd1:3.26.1-3.el10_2.2RLSA-2026:65162

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This Important flaw in the `gpsprof` utility, part of the `gpsd` package, allows arbitrary OS command execution. Exploitation requires a local attacker to provide specially crafted GPS input data and for a user to process this malicious data with `gpsprof`. This can lead to a complete system compromise.

Red Hat's mitigation

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10gpsd-1:3.26.1-3.el10_2.2Fixed 2026-09-08RHSA-2026:65162
Red Hat Enterprise Linux 9gpsd-minimal-1:3.26.1-2.el9_8.2Fixed 2026-09-08RHSA-2026:65606

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-60122.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON