GO-2025-3665
MEDIUM 6.7CVSS 3.1Inspektor 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.
Patches
The issue has been fixed in v0.40.0
Workarounds
There is not known workaround to fix it.
- Published
- 6 May 2025
- Last modified
- 3 Mar 2026
- Weakness
- CWE-285
- Also known as
- GHSA-pv22-fqcj-7xwh
- Sources
- OSV GHSA-pv22-fqcj-7xwhJSONOSVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/inspektor-gadget/inspektor-gadget | >= 0.31.0, < 0.40.0 | 0.40.0 |
References
- https://github.com/inspektor-gadget/inspektor-gadget/security/advisories/GHSA-pv22-fqcj-7xwh · WEB, ADVISORY
- https://github.com/inspektor-gadget/inspektor-gadget/commit/c51d419964f5b6f9344fcad4faba70e2e025212b · WEB, FIX
- https://github.com/inspektor-gadget/inspektor-gadget · PACKAGE
- https://pkg.go.dev/vuln/GO-2025-3665 · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 May 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 May 2025)