Vulnerability · Published Feb 12, 2026 · Assigned by GitHub_M
CVE-2026-25996Inspektor Gadget uses unsanitized ANSI Escape Sequences In `columns` Output Mode
Medium 6.9
In plain English
A medium-severity security flaw in inspektor-gadget from inspektor-gadget. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/inspektor-gadget/inspektor-gadget | 0.49.1 | GHSA-34r5-6j7w-235f |
| Go | github.com/inspektor-gadget/inspektor-gadget | 0.49.1 | GO-2026-5068 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| inspektor-gadget | inspektor-gadget | < 0.49.1 |
Weakness: CWE-150 · 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
References
- https://github.com/inspektor-gadget/inspektor-gadget/security/advisories/GHSA-34r5-6j7w-235f x_refsource_CONFIRM
- https://github.com/inspektor-gadget/inspektor-gadget/commit/d59cf72971f9b7110d9c179dc8ae8b7a11dbd6d2 x_refsource_MISC
- https://github.com/inspektor-gadget/inspektor-gadget/releases/tag/v0.49.1 x_refsource_MISC