CVE-2026-25996
Inspektor Gadget uses unsanitized ANSI Escape Sequences In `columns` Output Mode
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (medium).
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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/inspektor-gadget/inspektor-gadget | 0.49.1 |
| rapidfort fedora 43 | inspektor-gadget | 0.50.1-1.fc43 |
References
- https://github.com/inspektor-gadget/inspektor-gadget
- https://github.com/inspektor-gadget/inspektor-gadget/commit/d59cf72971f9b7110d9c179dc8ae8b7a11dbd6d2
- https://github.com/inspektor-gadget/inspektor-gadget/releases/tag/v0.49.1
- https://github.com/inspektor-gadget/inspektor-gadget/security/advisories/GHSA-34r5-6j7w-235f
- https://nvd.nist.gov/vuln/detail/CVE-2026-25996