llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · @cyclonedx/cdxgen

GHSA-5266-JM88-3GRM

cdxgen standalone binaries bundle a Node.js runtime vulnerable to CVE-2026-111497 (Brotli decoder out-of-bounds write), reachable by scanning a crafted repository or posting to server mode

Parche disponible
Descargar PNG JSON
CVSS 3.1
8.1
Alta
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche el mismo día de la divulgación
Exposición30 dDesde la divulgación, 22 oct 2026, 7:09 a. m.
Detección27 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir de cerca
Monitorear y programar la remediación
Estimación de Llama con el árbol SSVC de CISA a partir de vector CVSS 3.1 y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
No es drama, es prevención. Hazme caso.Mis orejas detectan algo raro por aquí.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Parche 12.8.9
Monitoreo
Detectada +1
22 oct 26
24 oct 26
18 nov 26
21 nov 26
22 oct 26
30 oct 26
6 nov 26
14 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-5266-JM88-3GRM divulgada · CVSS 8.1 (GitHub)
Remediación Parche 12.8.9 @cyclonedx/cdxgen · 0 d desde divulgación
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

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:

  1. Generating an SBOM for an untrusted repository. With default settings, a repository whose `Podfile.lock` names a pod with an external `:git` source makes cdxgen download that pod's podspec from the named host. cdxgen decompresses any response sent with `Content-Encoding: br` even 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`
2. Server mode (`--server`). The `/sbom` endpoint decompresses request bodies sent with `Content-Encoding: br` before 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 `realpathSync` bypass 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.7` and `:13.4.0` run 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-ppc64` uses AlmaLinux's `nodejs` 22.23.x, which is still affected.
- `ghcr.io/cdxgen/cdxgen-bun` images 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 `undici` to 7.30.1 and refreshes `fast-uri`, `brace-expansion` and `qs`.
  • `cdxgen-secure` is now built on the `cdxgen` image from the same release. Before this, every `cdxgen-secure` image was built on a fixed `cdxgen:master` image from August 2026, which ran master's code on Node.js 24.18.0, even under v12 tags.
  • `cdxgen-ppc64` installs the official Node.js 24.22.1 build instead of the AlmaLinux package.
  • `cdxgen-bun` is built with Bun 1.4.4.
  • 13.5.0 bundles Node.js 24.22.1 and updates `undici` to 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_HOSTS` to the registries you trust. cdxgen then makes no request to hosts a repository names.
  • Set `COCOA_FULL_SCAN=false` to skip remote podspec downloads.
  • Do not expose `cdxgen --server` to untrusted clients.
References
  • https://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)
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
7.1/ 10Alto
Vector 7.1 (fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
@cyclonedx/cdxgen≤ 12.8.8
@cdxgen/cdxgen≤ 13.4.0
12.8.8
12.9.2
13.4.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npm@cyclonedx/cdxgen
Corregida 12.8.9 0 d 12.9.2 no afectada
Versiones corregidas12.8.9
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/cdxgen/cdxgen/security/advisories/GHSA-5266-jm88-3grm

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.