CVE Database›Document archive›CVE-2026-60122

CVE-2026-60122

gpsd: gpsd: Arbitrary OS command execution via code injection in gpsprof utility

Loading…

Severity

Important

Red Hat Product Security

7.8

CVSS 3.1

Review impact separately from score.

Published · July 24, 2026

Updated · September 9, 2026

Description

A flaw was found in gpsd. This code injection vulnerability in the gpsprof utility allows an attacker to execute arbitrary operating system (OS) commands. By controlling GPS input data, an attacker can inject malicious content into the SKY.satellites[].used field. This unsanitized input is then processed by gnuplot, enabling the attacker to run commands as the user executing gpsprof.

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

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.

CVSS / CWE

CVSS 3.1 · 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')