{"answers":{"affected":"3 open source packages ship an affected version, including github.com/inspektor-gadget/inspektor-gadget. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-25996 exists.","fix":"Upgrade github.com/inspektor-gadget/inspektor-gadget to 0.49.1 or later.","what":"CVE-2026-25996 is a medium-severity vulnerability in inspektor-gadget, published on 12 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-25996 and fix it if it is affected.\n\nWhat it is: CVE-2026-25996 is a medium-severity vulnerability in inspektor-gadget, published on 12 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-25996 exists.\n\nAffected packages and fixed versions:\n- github.com/inspektor-gadget/inspektor-gadget (Go): affected all versions; fixed in 0.49.1\n- github.com/inspektor-gadget/inspektor-gadget (Go): affected all versions; fixed in 0.49.1\n- github.com/inspektor-gadget/inspektor-gadget (Go): affected all versions; fixed in 0.49.1\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-25996/ (Markdown: https://insights.sbomify.com/CVE-2026-25996/index.md)","id":"CVE-2026-25996","markdown":"https://insights.sbomify.com/CVE-2026-25996/index.md","name":"CVE-2026-25996","record":{"aliases":["GHSA-34r5-6j7w-235f","GO-2026-5068"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["other"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes eBPF tool","requires_auth":"none","summary":"Attackers can inject ANSI escape sequences into operator terminals via malicious container events, potentially causing terminal manipulation or confusion.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"inspektor_gadget","vendor":"linuxfoundation"}],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"description":"Inspektor Gadget is a set of tools and framework for data collection and system inspection on Kubernetes clusters and Linux hosts using eBPF. String fields from eBPF events in columns output mode are rendered to the terminal without any sanitization of control characters or ANSI escape sequences. Therefore, a maliciously forged – partially or completely – event payload, coming from an observed container, might inject the escape sequences into the terminal of ig operators, with various effects. The columns output mode is the default when running ig run interactively.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Inspektor Gadget uses unsanitized ANSI Escape Sequences In `columns` Output Mode","id":"CVE-2026-25996","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"other","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"FreeRDP has heap-use-after-free in xf_clipboard_format_equal","id":"CVE-2026-25997"},"packages":[{"ecosystem":"Go","fixed":["0.49.1"],"introduced":["0"],"last_affected":[],"package":"github.com/inspektor-gadget/inspektor-gadget","purl":null,"source":"GHSA-34r5-6j7w-235f"},{"ecosystem":"Go","fixed":["0.49.1"],"introduced":["0"],"last_affected":[],"package":"github.com/inspektor-gadget/inspektor-gadget","purl":"pkg:golang/github.com/inspektor-gadget/inspektor-gadget","source":"GHSA-34r5-6j7w-235f"},{"ecosystem":"Go","fixed":["0.49.1"],"introduced":["0"],"last_affected":[],"package":"github.com/inspektor-gadget/inspektor-gadget","purl":"pkg:golang/github.com/inspektor-gadget/inspektor-gadget","source":"GO-2026-5068"}],"prev":{"headline":"PJSIP has a heap buffer overflow in ICE with long username","id":"CVE-2026-25994"},"products":["inspektor-gadget"],"published":"2026-02-12","related":[{"cvss_score":6.6,"headline":"Inspektor Gadget has a Command Injection vulnerability in Makefile.build","id":"CVE-2026-24905","kev_date_added":null,"published":"2026-01-29"},{"cvss_score":4.8,"headline":"Inspektor Gadget: Tracing Denial of Service via Event Flooding","id":"CVE-2026-31890","kev_date_added":null,"published":"2026-03-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-12","vendors":["inspektor-gadget"]},"summary":"Attackers can inject ANSI escape sequences into operator terminals via malicious container events, potentially causing terminal manipulation or confusion.","url":"https://insights.sbomify.com/CVE-2026-25996/"}