CVE-2026-25996 Inspektor Gadget uses unsanitized ANSI Escape Sequences In `columns` Output Mode
MediumCVSS 6.9
EPSS 0.63%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- Kubernetes
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| inspektor-gadget(Go) | < 0.49.1 | 0.49.1 | Fixed |
| linuxfoundation inspektor gadget | < 0.49.1 | 0.49.1 | Fixed |
| inspektor-gadget | = < 0.49.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| inspektor-gadget(Go) | < 0.49.1 | 0.49.1 |
| inspektor-gadget | = < 0.49.1 | No fix listed |
| linuxfoundation inspektor gadget | < 0.49.1 | 0.49.1 |
References
- https://github.com/inspektor-gadget/inspektor-gadget/security/advisories/GHSA-34r5-6j7w-235f exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/inspektor-gadget/inspektor-gadget/commit/d59cf72971f9b7110d9c179dc8ae8b7a11dbd6d2 patch
- github.com product
- https://github.com/inspektor-gadget/inspektor-gadget/releases/tag/v0.49.1 product release-notes
- github.com