CVE-2026-60122

HIGH

gpsd gpsprof Code Injection via SKY.satellites used Field

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0017
EPSS Percentile 7.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-94
Status published
Products (2)
gpsd/gpsd < 3.27.5
gpsd/gpsd 5a9c44a42136b9bb98d460a8a716e9fd344a8d93
Published Jul 23, 2026
Tracked Since Jul 24, 2026