GHSA-pv22-fqcj-7xwh: Inspektor Gadget Security Policies Can be Bypassed
Security policies like allowed-gadgets, disallow-pulling, verify-image can be bypassed by a malicious client. Impact Users running ig in daemon mode or IG on Kubernetes that rely on any of the features mentioned above are vulnerable to this issue. In order to exploit this, the client needs access to the server, like the correct TLS certificates on the ig daemon case or access to the cluster in the Kubernetes case.
Published May 6, 2025
Affected packages
github.com/inspektor-gadget/inspektor-gadget
- Ecosystem
- Go
- Affected
- >= 0.31.0, < 0.40.0
- Fixed in
- 0.40.0
- Check
go list -m github.com/inspektor-gadget/inspektor-gadget
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Security policies like `allowed-gadgets`, `disallow-pulling`, `verify-image` can be bypassed by a malicious client.
Impact
Users running ig in daemon mode or IG on Kubernetes that rely on any of the features mentioned above are vulnerable to this issue. In order to exploit this, the client needs access to the server, like the correct TLS certificates on the ig daemon case or access to the cluster in the Kubernetes case.
Patches
The issue has been fixed in v0.40.0
Workarounds
There is not known workaround to fix it.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-53941
Uprobe gadgets: unprivileged container's ld.so.cache causes high CPU utilization and container startup DoS
medium6.9Aug 19, 2026CVE-2026-44778
Inspektor Gadget: Unprivileged container can crash USDT note parser via crafted ELF (no shipped gadget affected)
low2.9Jun 22, 2026CVE-2026-24905
Inspektor Gadget: Command Injection via malicious buildOptions manipulation
medium6.6Apr 22, 2026CVE-2026-25996
Inspektor Gadget uses unsanitized ANSI Escape Sequences In `columns` Output Mode
medium6.9Apr 22, 2026
