Skip to main content

gpsd CVE-2026-60122

| EUVDEUVD-2026-48380 HIGH
Code Injection (CWE-94)
2026-07-23 VulnCheck GHSA-9m96-crvq-5qcj
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Control GPS input feed
  2. Delivery
    Inject EOD + system() into SKY used field
  3. Exploit
    Operator runs gpsprof in polar mode
  4. Execution
    gnuplot processes crafted heredoc script
  5. Impact
    Execute arbitrary OS commands as operator

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to control GPS input data reaching gpsd (a malicious or spoofed GNSS receiver, or a tampered data feed) AND requires a user to run the gpsprof utility in polar mode against that data so the generated gnuplot script is processed. The specific injection vector is the SKY.satellites[].used field, and the payload must contain the string EOD to prematurely terminate the gnuplot heredoc before appending system() calls. Limiting factors: the vulnerability is not remotely self-triggering - it needs operator interaction (UI:P, running gpsprof in polar mode), only affects gpsd through release-3.27.5, and yields code execution bounded to the privileges of the user invoking gpsprof (no privilege escalation, scope unchanged). It is therefore not exploitable against a default idle gpsd daemon without someone running the profiling tool.

Impact

The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H) scores 8.5 (High) and is internally consistent with the description: exploitation is local/input-driven (AV:L), requires no privileges (PR:N) but does require user interaction (UI:P) - specifically an operator running gpsprof in polar mode against attacker-influenced GPS data. Impact is full confidentiality, integrity and availability loss on the vulnerable system, but scope is unchanged (SC/SI/SA:N), so damage is bounded to the privileges of the user running gpsprof rather than a privilege-crossing compromise. There is no CISA KEV listing and no public POC referenced, so this is not confirmed as actively exploited; EPSS was not provided. Real-world priority is moderate rather than urgent: the attack needs both control of GPS input and a human running a specific diagnostic tool in a specific mode, which limits mass exploitation, but the outcome (arbitrary command execution) is severe where those conditions hold. Note the required user interaction (running gpsprof) is the primary limiting factor and should temper the raw High score.

Exploit ScenarioDerived

An attacker who controls a GPS receiver or the data stream feeding gpsd crafts SKY satellite records whose used field contains the EOD heredoc terminator followed by gnuplot system() calls. When an operator later runs gpsprof in polar mode against that data, gnuplot parses the malicious script and executes the injected shell commands with the operator's privileges. No public exploit code is identified at time of analysis, but the technique is straightforward given the described injection point.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 23, 2026

OS command injection in gpsd's gpsprof profiling utility (through release-3.27.5) lets an attacker who controls GPS input inject shell commands via the SKY.satellites[].used field. The value is written unsanitized into a gnuplot heredoc, so a crafted used value containing the heredoc terminator EOD closes the data block early and appends gnuplot system() calls that execute as the user running gpsprof in polar mode. No public exploit identified at time of analysis; the flaw is code-execution class (CWE-94) with a CVSS 4.0 base score of 8.5.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply the gpsd fix from commit 4c06658 / https://gitlab.com/gpsd/gpsd/-/commit/5a9c44a42136b9bb98d460a8a716e9fd344a8d93, or upgrade to the first tagged gpsd release that includes it once published (versions through release-3.27.5 are vulnerable). Until a packaged release is available, the most effective compensating control is to avoid running gpsprof (especially in polar mode) against GPS feeds from untrusted or attacker-reachable receivers, since exploitation depends on that operator action. Where profiling is required, run gpsprof against captured/validated data from trusted receivers only, or run it under a low-privilege, sandboxed account so that any resulting command execution is confined; the trade-off is reduced convenience for operators and loss of live-plotting workflows. Restricting who can supply GPS input to the profiled daemon (physical/network access to the receiver source) further reduces exposure. Consult the VulnCheck advisory (https://www.vulncheck.com/advisories/gpsd-gpsprof-code-injection-via-sky-satellites-used-field) and upstream work item https://gitlab.com/gpsd/gpsd/-/work_items/406 for details.

Affected VersionsENISA

GPSd patch: 5a9c44a42136b9bb98d460a8a716e9fd344a8d93
GPSd 0 ≤3.27.5

Affected Packages

euvd gpsd no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

gpsd is the GPS daemon and toolkit that parses feeds from GNSS receivers and exposes them to client applications on Linux/Unix systems. The affected component, gpsprof, is a Python profiling/plotting helper that collects SKY reports (satellite metadata, including the per-satellite used flag) and emits a gnuplot script to visualize signal geometry. The vulnerability is CWE-94 (Improper Control of Generation of Code): gpsprof embeds satellite data inside a gnuplot heredoc (a here-document delimited by the EOD marker) without escaping or validating field contents. Because gnuplot supports a system() function for shell command execution, any attacker-controlled data that can break out of the heredoc's data context is promoted from data to executable script. CPE cpe:2.3:a:gpsd:gpsd:*:*:*:*:*:*:*:* confirms the gpsd application itself is the affected product across versions up to the fix.

Know when Gpsd gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 7.8 HIGH

Attacker-supplied GPS data plus a required operator action gives AV:L/UI:R, no privileges needed (PR:N), and command execution yields full C/I/A within the operator's scope (S:U).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Red Hat 7.8 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

gpsd's gpsprof utility (versions through 3.27.5) contains an OS command injection vulnerability enabling arbitrary code execution when an attacker controls GPS input data. Organizations relying on gpsd for GPS data processing face risk of system compromise and unauthorized access if processing data from untrusted sources.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
gpsd common on Linux GPS/NTP setups, but gpsprof diagnostic use is niche
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Liberty Linux 9 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy