CVE-2026-24905: Inspektor Gadget: Command Injection via malicious buildOptions manipulation

CVE-2026-24905 · Severity: medium · CVSS 4 · Published 2026-06-25

Inspektor Gadget: Command Injection via malicious buildOptions manipulation in github.com/inspektor-gadget/inspektor-gadget

Technologies: github.com/inspektor-gadget/inspektor-gadget (Go). Vendors: Go.

Quick answers

Is CVE-2026-24905 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-24905 being exploited in the wild.
How severe is CVE-2026-24905?
Medium severity, with a CVSS score of 4, published 25 June 2026.
Which products and versions are affected?
github.com/inspektor-gadget/inspektor-gadget (Go) SEMVER:introduced=0,fixed=0.51.1.
Is there a fix for CVE-2026-24905?
Yes. github.com/inspektor-gadget/inspektor-gadget (Go): upgrade to 0.51.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-24905?
Check whether you run github.com/inspektor-gadget/inspektor-gadget (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/inspektor-gadget/inspektor-gadget (Go): upgrade to 0.51.1 or later
    go get github.com/inspektor-gadget/inspektor-gadget@v0.51.1

Affected products

  • github.com/inspektor-gadget/inspektor-gadget (Go) SEMVER:introduced=0,fixed=0.51.1

Identifiers

  • CVE-2026-24905
  • GHSA-79qw-g77v-2vfh
  • GO-2026-5211

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.