Skip to main content
VulnerabilityPublished

CVE-2024-50611: cdxgen · Code Injection

Affects cdxgenSource CVE Database V5

0

Mentioned vulnerabilities

Not known to be exploited · CVSS 7.2 High.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
7.2High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.8% chance of exploitation in 30 days – higher than 57% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubcyclonedx/cdxgenpkg:github/cyclonedx/cdxgenOther threatsAffected
  • <=10.10.7
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Avoid running cdxgen against untrusted or external codebases unless in a fully isolated and sandboxed environment.
  2. Run cdxgen with the least privileges necessary, never with administrative or root privileges.
  3. Implement strict access controls and codebase validation before scanning to ensure only trusted code is processed.
  4. Use containerization or virtual machines to isolate the scanning process from critical infrastructure.
  5. Monitor build-related files such as build.gradle.kts for unexpected or suspicious modifications.
  6. Follow updates from CycloneDX maintainers for patches or design changes addressing this limitation.
  7. Integrate additional security checks in CI/CD pipelines to detect anomalous behavior during dependency scanning.
  8. Educate developers and security teams about the risks of processing untrusted code with tools that execute build scripts.

Description

CycloneDX cdxgen prior to 11.1.7, when run against an untrusted codebase, may execute code contained within build-related files such as build.gradle.kts, a similar issue to CVE-2022-24441. cdxgen is used by, for example, OWASP dep-scan. NOTE: this has been characterized as a design limitation, rather than an implementation mistake.

References

Community reviews

Loading reviews…