# CVE-2024-50611: CycloneDX cdxgen may execute code contained within build-related files

- Severity: High 7.2 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.85%, higher than 59% of CVEs (2026-12-01)
- Published: 2024-10-27T00:00:00.000Z
- Modified: 2026-06-17T08:04:48.187Z
- Also known as: GHSA-hxf3-vgpm-fv9p
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

CycloneDX cdxgen through 10.10.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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- cyclonedx cdxgen: up to 10.10.7
- @cyclonedx/cdxgen (npm): before 11.1.7

## Every score

- CISA-ADP: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P`

## References

- <https://github.com/CycloneDX/cdxgen/releases> (web)
- <https://github.com/CycloneDX/cdxgen/issues/1328> (web)
- <https://owasp.org/www-project-dep-scan/>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-50611> (advisory)
- <https://github.com/CycloneDX/cdxgen/pull/1614> (web)
- <https://github.com/CycloneDX/cdxgen> (package)
- <https://github.com/CycloneDX/cdxgen/releases/tag/v11.1.7> (web)
- <https://owasp.org/www-project-dep-scan> (web)

## Sources

- CVE List: [CVE-2024-50611](https://www.cve.org/CVERecord?id=CVE-2024-50611), CVE Terms of Use, modified 2024-10-30
- GitHub Advisory Database: [GHSA-hxf3-vgpm-fv9p](https://github.com/advisories/GHSA-hxf3-vgpm-fv9p), CC-BY-4.0, modified 2025-02-03
- NVD: [CVE-2024-50611](https://nvd.nist.gov/vuln/detail/CVE-2024-50611), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-50611 · Whole record: https://cve.day/CVE-2024-50611.json · Rebuilt by cve.day 2026-11-25T22:58:47.375Z
