highCVE-2026-58459

CVE-2026-58459 gpsd vulnerability

gpsd through release-3.27.5, fixed at commit 4c06658, contains a command injection vulnerability in gpsprof that allows attackers who control the GPS device subtype value to execute arbitrary shell commands by embedding backtick payloads in the gnuplot plot title without proper escaping. The subtype field sourced from a DEVICES JSON log entry or NMEA PGRMT sentence is written into a generated gnuplot program via a set title statement with only double-quote characters escaped, enabling arbitrary shell command execution as the user running gnuplot when the victim renders the generated plot through the gpsprof and gnuplot workflow.

Productgpsd
CVSS8.4
EPSS0.00726
UpdatedJuly 13, 2026

Quick answer

gpsd project gpsd should be reviewed and updated if it matches the affected versions. The recommended fix is to apply the vendor-supported patched version or the mitigation steps below, then retest the public website with Fixnx.

Who is affected

Affected versions

  • Review vendor advisory for affected versions.

Fixed versions

  • Apply the latest vendor-supported patched version.

How to fix it

gpsd is affected by CVE-2026-58459, a command injection risk. gpsd through release-3.27.5, fixed at commit 4c06658, contains a command injection vulnerability in gpsprof that allows attackers who control the GPS device subtype value to execute arbitrary shell commands by embedding backtick payloads in the gnuplot plot title without proper escaping. The recommended remediation is to update to a gpsd build containing commit 4c06658e988f4ced1a7a574ce082a22ef625df56 or a later vendor-supported release. Until the update is complete, avoid running gpsprof on untrusted GPS device logs or subtype values until patched, review logs, and reduce exposure of the affected service or workflow.

  1. Inventory every deployment, package, appliance, container, service, and managed environment that uses gpsd.
  2. Confirm the installed version and compare it with the affected versions listed in the source advisory and the source advisory for CVE-2026-58459.
  3. Apply the vendor-supported fix: update to a gpsd build containing commit 4c06658e988f4ced1a7a574ce082a22ef625df56 or a later vendor-supported release.
  4. If the update cannot be applied immediately, avoid running gpsprof on untrusted GPS device logs or subtype values until patched; disable unnecessary public access, endpoints, integrations, uploads, management interfaces, or high-risk features until patched.
  5. Review application, device, reverse-proxy, WAF, package manager, container, authentication, and audit logs for activity related to CVE-2026-58459.
  6. Rotate sessions, API tokens, service credentials, integration keys, and administrator passwords if logs or affected data indicate compromise, code execution, credential exposure, or unauthorized access.
  7. Clear caches, restart affected services, rebuild affected containers or appliances when appropriate, and remove temporary files, stored payloads, generated artifacts, or unsafe configuration created during exploitation attempts.

Scan now. Google sign-in is only needed to unlock fix guidance.

Verify the fix

  • Confirm gpsd now reports a gpsd build containing commit 4c06658e988f4ced1a7a574ce082a22ef625df56 or a later vendor-supported release or a later vendor-supported fixed release for the deployed branch.
  • Verify the affected workflow no longer allows the behavior described in CVE-2026-58459, using a safe regression test or vendor-provided validation method.
  • Review logs after remediation for continued exploit attempts, denial-of-service symptoms, suspicious redirects, unauthorized requests, file access, credential exposure, or configuration changes.
  • Rerun a Fixnx scan and any product-specific scanner, package audit, device health check, or manual regression test relevant to the affected service.
  • Document affected assets, fixed versions, mitigation decisions, validation evidence, and any cleanup or credential rotation performed.

Related categories

Trusted references

FAQ

What is affected by CVE-2026-58459?

gpsd project gpsd should be checked against the vendor advisory and trusted references linked on this page.

What should I fix first?

Start with internet-facing sites, admin panels, login flows, plugins, themes, modules, packages, and systems that process user-controlled input or sensitive data.

How do I confirm the fix worked?

Apply the patched version or mitigation, clear caches where relevant, retest the affected workflow, and run a new Fixnx scan to verify public website exposure signals.

How are Fixnx security risk categories chosen?

Fixnx keeps one canonical risk page and assigns only broad, relevant categories such as ecosystem, technology area, or vulnerability class.