{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-26982 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-26982 is a medium-severity command injection vulnerability in ghostty-org ghostty, published on 9 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-26982 and fix it if it is affected.\n\nWhat it is: CVE-2026-26982 is a medium-severity command injection vulnerability in ghostty-org ghostty, published on 9 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-26982 in the wild and no public exploit code.\n\nAffected product: ghostty-org ghostty. 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-26982/ (Markdown: https://insights.sbomify.com/CVE-2026-26982/index.md)","id":"CVE-2026-26982","markdown":"https://insights.sbomify.com/CVE-2026-26982/index.md","name":"CVE-2026-26982","record":{"aliases":["GHSA-4jxv-xgrp-5m3r","UBUNTU-CVE-2026-26982","openSUSE-SU-2026:10316-1"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Ghostty terminal emulator","requires_auth":"none","summary":"Attackers can execute arbitrary commands via hidden control characters in pasted or dropped text, requiring user interaction to trigger.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"ghostty","vendor":"ghostty"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"Ghostty is a cross-platform terminal emulator. Ghostty allows control characters such as 0x03 (Ctrl+C) in pasted and dropped text. These can be used to execute arbitrary commands in some shell environments. This attack requires an attacker to convince the user to copy and paste or drag and drop malicious text. The attack requires user interaction to be triggered, but the dangerous characters are invisible in most GUI environments so it isn't trivially detected, especially if the string contents are complex. Fixed in Ghostty v1.3.0.","ecosystems":["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":"Ghostty affected by arbitrary command execution via control characters in paste and drag-and-drop operations","id":"CVE-2026-26982","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":1,"n_references":3,"next":{"headline":"ImageMagick: Invalid MSL \u003cmap\u003e can result in a use after free","id":"CVE-2026-26983"},"packages":[{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.3.0-1.1"],"introduced":["0"],"last_affected":[],"package":"ghostty","purl":"pkg:rpm/opensuse/ghostty\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10316-1"}],"prev":{"headline":"OpenEXR has heap-buffer-overflow via signed integer underflow in ImfContextInit.cpp","id":"CVE-2026-26981"},"products":["ghostty"],"published":"2026-03-09","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"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":"partial"},"state":"PUBLISHED","updated":"2026-03-10","vendors":["ghostty-org"]},"summary":"Attackers can execute arbitrary commands via hidden control characters in pasted or dropped text, requiring user interaction to trigger.","url":"https://insights.sbomify.com/CVE-2026-26982/"}