Command Injection Vulnerability in Inspektor Gadget by Lin-bit
CVE-2026-24905

6.6MEDIUM

Key Information:

Vendor
CVE Published:
29 January 2026

What is CVE-2026-24905?

Inspektor Gadget, a toolset for data collection and system inspection on Kubernetes and Linux, has a command injection vulnerability that allows attackers to execute arbitrary commands. This flaw arises from unsafe handling of user input in the image building process, particularly regarding the parameters in the 'buildOptions' structure. Before version 0.48.1, an attacker could control the 'build.yml' file passed to 'ig image build' or its parameters, leading to execution of unauthorized commands on the Linux host or build container. Users must update to the fixed version to mitigate this security risk.

Affected Version(s)

inspektor-gadget < 0.51.1

References

CVSS V4

Score:
6.6
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.