Scope: this advisory affects only the cdxgen standalone (SEA) binaries attached to GitHub releases and the cdxgen container images
Description
Scope: this advisory affects only the cdxgen standalone (SEA) binaries attached to GitHub releases and the cdxgen container images. Both bundle their own Node.js runtime. Installing the npm package with npm, pnpm or npx does not bundle Node.js: those installs use the host's Node.js and are fixed by upgrading Node.js to 22.23.4, 24.22.1 or 26.12.1. The affected binaries are all the release executables: cdxgen-*, cbom-*, obom-*, hbom-*, cdx-*, aibom-*, saasbom-*, tracebom-*, slim and full, on every platform. The affected images are ghcr.io/cdxgen/cdxgen* tags built with Node.js older than 24.22.1.
Impact
Only the standalone binaries and the container images are affected. The npm packages are not, as long as the host's Node.js is patched.
cdxgen's standalone binaries are caxa archives, and its container images are built on a pinned Node.js. Both bundle a Node.js runtime that predates the October 2026 Node.js security releases:
- 12.8.7 and 12.8.8 bundle Node.js 24.18.0.
- 13.4.0 bundles Node.js 24.21.0.
These runtimes are affected by CVE-2026-111497, an out-of-bounds write in Node.js's Brotli decoder that the Node.js project rates High and describes as permitting remote code execution.
cdxgen feeds untrusted data to that decoder in two ways:
- Generating an SBOM for an untrusted repository. With default settings, a repository whose
Podfile.locknames a pod with an external:gitsource makes cdxgen download that pod's podspec from the named host. cdxgen decompresses any response sent withContent-Encoding: breven though it never asks for Brotli. So the repository author controls the bytes that reach the vulnerable decoder. Secure mode still allows any https host.
With non-default options, other paths lead to the same decoder:
- project-supplied npm, Deno or Dart registries, with
FETCH_LICENSE - OCI registry probes, with
--bom-audit
- Server mode (
--server). The/sbomendpoint decompresses request bodies sent withContent-Encoding: brbefore it validates or authenticates them.
The bundled Node.js 24.21.0 (13.4.0) is also affected by:
- the TLS hostname-verification bypasses CVE-2026-105483, CVE-2026-106069 and CVE-2026-106072, which matter only to an attacker who can both choose the hostname and intercept the connection
- the permission-model
realpathSyncbypass CVE-2026-106073, which weakens cdxgen's secure mode by revealing whether paths exist outside the allowed set, but not their contents
The bundled runtimes also predate the Node.js distrust of the compromised eMudhra intermediate CAs. An attacker who can intercept network traffic and holds one of those keys can impersonate any HTTPS host cdxgen contacts, including the public package registries.
On the 24.18.0 runtime, a certificate with non-string name attributes can also crash the process.
Note on 12.8.8: release 12.8.8 was intended to ship the Node.js security update. Its standalone binaries still bundle Node.js 24.18.0, and its container images were not published. Use 12.8.9 or later.
Container images:
ghcr.io/cdxgen/cdxgen:v12,:latest,:v13,:12.8.7and:13.4.0run Node.js 24.21.0.ghcr.io/cdxgen/cdxgen-secure, on every tag, runs Node.js 24.18.0 and master's cdxgen code from August 2026.ghcr.io/cdxgen/cdxgen-ppc64uses AlmaLinux'snodejs22.23.x, which is still affected.ghcr.io/cdxgen/cdxgen-bunimages built before 2026-10-22 run Bun 1.4.3 or earlier. Those Bun releases vendor a google/brotli without the same decoder fix (google/brotli@0ed4268a), so the Brotli issue applies to them through Bun rather than Node.js. Bun 1.4.4 includes the fix.
Pull the 12.8.9 or 13.5.0 tags once they are published.
Patches
- 12.8.9 bundles Node.js 24.22.1 in every standalone binary and container image. It also updates
undicito 7.30.1 and refreshesfast-uri,brace-expansionandqs. cdxgen-secureis now built on thecdxgenimage from the same release. Before this, everycdxgen-secureimage was built on a fixedcdxgen:masterimage from August 2026, which ran master's code on Node.js 24.18.0, even under v12 tags.cdxgen-ppc64installs the official Node.js 24.22.1 build instead of the AlmaLinux package.cdxgen-bunis built with Bun 1.4.4.- 13.5.0 bundles Node.js 24.22.1 and updates
undicito 8.12.2.
To check which runtime a binary uses, run cdxgen --version ("Runtime: Node.js, Version: …"), or look for pkg:generic/nodejs/node@ in the release's *-postbuild.cdx.json.
Workarounds
- Use the npm package on a patched Node.js (22.23.4, 24.22.1 or 26.12.1) instead of the standalone binary.
- Set
CDXGEN_ALLOWED_HOSTSto the registries you trust. cdxgen then makes no request to hosts a repository names. - Set
COCOA_FULL_SCAN=falseto skip remote podspec downloads. - Do not expose
cdxgen --serverto untrusted clients.
References
- nodejs.org/
en/ blog/ vulnerability/ october-2026-security-releases - Node.js v24.22.1 release notes; brotli fix google/brotli@0ed4268a4401abcb44720963
- cdxgen/cdxgen#4541 (v12), cdxgen/cdxgen#4542 (v13 dependencies)