{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-60122 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-60122 is a high-severity code injection vulnerability in gpsd, published on 23 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-60122 and fix it if it is affected.\n\nWhat it is: CVE-2026-60122 is a high-severity code injection vulnerability in gpsd, published on 23 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-60122 in the wild and no public exploit code.\n\nAffected product: gpsd. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-60122/ (Markdown: https://insights.sbomify.com/CVE-2026-60122/index.md)","id":"CVE-2026-60122","markdown":"https://insights.sbomify.com/CVE-2026-60122/index.md","name":"CVE-2026-60122","record":{"aliases":["ALSA-2026:65162","ALSA-2026:65606","CLSA-2026-1789034846","CLSA-2026-1789389842","DEBIAN-CVE-2026-60122","GHSA-9m96-crvq-5qcj","MGASA-2026-0509","RHSA-2026:65162","RHSA-2026:65606","RLSA-2026:65162","RLSA-2026:65606","UBUNTU-CVE-2026-60122","openSUSE-SU-2026:11891-1"],"analysis":{"component_type":"other","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GPS daemon utility","requires_auth":"none","summary":"An attacker controlling GPS input can execute arbitrary OS commands via unsanitized data in gpsprof's gnuplot script generation.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"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.","ecosystems":["AlmaLinux:10","AlmaLinux:9","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:9::appstream","Rocky Linux:10","Rocky Linux:9","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"gpsd gpsprof Code Injection via SKY.satellites used Field","id":"CVE-2026-60122","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":20,"n_references":3,"next":{"headline":"MISP importModule missing authorization allows read-only users to modify events via misp_standard imports","id":"CVE-2026-60124"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["1:3.26.1-3.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"gpsd","purl":"pkg:rpm/almalinux/gpsd","source":"ALSA-2026:65162"},{"ecosystem":"AlmaLinux:10","fixed":["1:3.26.1-3.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"gpsd-clients","purl":"pkg:rpm/almalinux/gpsd-clients","source":"ALSA-2026:65162"},{"ecosystem":"AlmaLinux:10","fixed":["1:3.26.1-3.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"python3-gpsd","purl":"pkg:rpm/almalinux/python3-gpsd","source":"ALSA-2026:65162"},{"ecosystem":"AlmaLinux:9","fixed":["1:3.26.1-2.el9_8.2"],"introduced":["0"],"last_affected":[],"package":"gpsd-minimal","purl":"pkg:rpm/almalinux/gpsd-minimal","source":"ALSA-2026:65606"},{"ecosystem":"AlmaLinux:9","fixed":["1:3.26.1-2.el9_8.2"],"introduced":["0"],"last_affected":[],"package":"gpsd-minimal-clients","purl":"pkg:rpm/almalinux/gpsd-minimal-clients","source":"ALSA-2026:65606"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["1:3.26.1-3.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"gpsd","purl":"pkg:rpm/redhat/gpsd","source":"RHSA-2026:65162"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["1:3.26.1-3.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"gpsd-clients","purl":"pkg:rpm/redhat/gpsd-clients","source":"RHSA-2026:65162"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["1:3.26.1-3.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"gpsd-clients-debuginfo","purl":"pkg:rpm/redhat/gpsd-clients-debuginfo","source":"RHSA-2026:65162"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["1:3.26.1-3.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"gpsd-debuginfo","purl":"pkg:rpm/redhat/gpsd-debuginfo","source":"RHSA-2026:65162"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["1:3.26.1-3.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"gpsd-debugsource","purl":"pkg:rpm/redhat/gpsd-debugsource","source":"RHSA-2026:65162"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["1:3.26.1-3.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"python3-gpsd","purl":"pkg:rpm/redhat/python3-gpsd","source":"RHSA-2026:65162"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["1:3.26.1-3.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"python3-gpsd-debuginfo","purl":"pkg:rpm/redhat/python3-gpsd-debuginfo","source":"RHSA-2026:65162"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:3.26.1-2.el9_8.2"],"introduced":["0"],"last_affected":[],"package":"gpsd-minimal","purl":"pkg:rpm/redhat/gpsd-minimal","source":"RHSA-2026:65606"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:3.26.1-2.el9_8.2"],"introduced":["0"],"last_affected":[],"package":"gpsd-minimal-clients","purl":"pkg:rpm/redhat/gpsd-minimal-clients","source":"RHSA-2026:65606"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:3.26.1-2.el9_8.2"],"introduced":["0"],"last_affected":[],"package":"gpsd-minimal-clients-debuginfo","purl":"pkg:rpm/redhat/gpsd-minimal-clients-debuginfo","source":"RHSA-2026:65606"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:3.26.1-2.el9_8.2"],"introduced":["0"],"last_affected":[],"package":"gpsd-minimal-debuginfo","purl":"pkg:rpm/redhat/gpsd-minimal-debuginfo","source":"RHSA-2026:65606"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:3.26.1-2.el9_8.2"],"introduced":["0"],"last_affected":[],"package":"gpsd-minimal-debugsource","purl":"pkg:rpm/redhat/gpsd-minimal-debugsource","source":"RHSA-2026:65606"},{"ecosystem":"Rocky Linux:10","fixed":["1:3.26.1-3.el10_2.2"],"introduced":["0"],"last_affected":[],"package":"gpsd","purl":"pkg:rpm/rocky-linux/gpsd?distro=rocky-linux-10\u0026epoch=1","source":"RLSA-2026:65162"},{"ecosystem":"Rocky Linux:9","fixed":["1:3.26.1-2.el9_8.2"],"introduced":["0"],"last_affected":[],"package":"gpsd-minimal","purl":"pkg:rpm/rocky-linux/gpsd-minimal?distro=rocky-linux-9\u0026epoch=1","source":"RLSA-2026:65606"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.27.5-4.1"],"introduced":["0"],"last_affected":[],"package":"gpsd","purl":"pkg:rpm/opensuse/gpsd\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11891-1"}],"prev":{"headline":"Vitec Flamingo 4.12.2 Unauthenticated OS Command Injection via ping.php","id":"CVE-2026-60121"},"products":["gpsd"],"published":"2026-07-23","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-28","vendors":["gpsd"]},"summary":"An attacker controlling GPS input can execute arbitrary OS commands via unsanitized data in gpsprof's gnuplot script generation.","url":"https://insights.sbomify.com/CVE-2026-60122/"}