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

GHSA-6PWR-9GQ6-X9VV

Credentials printed to logs and to the dry-run activity summary

Parche disponible
Descargar PNG JSON
CVSS 3.1
5.3
Media
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche el mismo día de la divulgación
Exposición8 dDesde la divulgación, 12 nov 2026, 9:51 p. m.
Detección5 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
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 parcial. Hay versiones corregidas disponibles.
Ponle etiqueta y a la cola. Ordenadito.Traje la llave inglesa: esto se arregla.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Parche 12.9.2
Monitoreo
Detectada +1
13 nov 26
18 nov 26
21 nov 26
13 nov 26
15 nov 26
17 nov 26
19 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-6PWR-9GQ6-X9VV divulgada · CVSS 5.3 (GitHub)
Remediación Parche 12.9.2 @cyclonedx/cdxgen · 0 d desde divulgación
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
Summary

In four situations cdxgen writes secrets to its standard output or standard error at default verbosity. Anyone who can read a CI job log, a saved activity report or a server log, but not the repository or the job's secrets, then sees them. In one case the scanned repository chooses which of cdxgen's environment variables is printed.

Details
  • Install failures. After a failed `npm install` (and the yarn, pnpm and rush paths), `createNodejsBom()` in `lib/cli/jsBom.js` prints the package manager's standard error without redaction; `getPipFrozenTree()` and `createUVLock()` in `lib/ecosystems/pythonutils.js` do the same for pip and uv. Tokens in dependency URL query strings, such as pre-signed storage URLs or GitLab `private_token=` values, and for pip values that pip expanded from the operator's environment, end up in the log. This needs installs on (the default outside secure mode) and an install failure whose message names the URL.
  • Dry-run activity summary. `safeSpawnSync()` records the joined command line as the activity target without sanitizing it (`buildCommandActivityDescriptor()` in `lib/core/fs.js`), although `docs/PERMISSIONS.md` says secret-bearing values are not shown there. With `--dry-run`, a `MAVEN_CENTRAL_MIRROR` URL that carries a user name and password is printed in the `clj` row for `deps.edn` projects (`clojureMirrorArgs()` in `lib/inventory/mavenCentralMirror.js`), and with registry lookups on, network rows show passwords from `MAVEN_CENTRAL_MIRROR`, `MAVEN_CENTRAL_URL` or `NPM_URL`.
  • Environment variables chosen by the repository. A `.mvn/maven.config` can name a settings file whose `<localRepository>` contains `${env.NAME}`. `expandMavenProperties()` in `lib/inventory/jvmLocalRepos.js` substitutes the real value of any variable, and the probed path is printed in the dry-run summary. This needs `--dry-run` with `--introspect` and deep analysis, `MAVEN_CACHE_DIR` unset and secure mode off.
  • YAML warnings. The modules that use the `yaml` package do not set its `logLevel`, so warnings about unknown tags are written through `process.emitWarning()`, which bypasses cdxgen's console handling. Each warning quotes up to 80 characters of the tagged line and the line above it, for example a CloudFormation `!Sub` string with a password, or a token in agent front matter that cdxgen keeps out of the BOM. The CI file parsers that run with formulation reach this, as do the AI inventory readers.
Impact

Disclosure of tokens and passwords to readers of logs and activity reports, including the logs of pull-request pipelines and hosted scanners. The BOM itself is not affected by these paths.

Patches

Fixed in `@cdxgen/cdxgen` 13.8.0. Versions 13.0.0 through 13.7.0 of `@cdxgen/cdxgen` are affected. The 12.x line, published as `@cyclonedx/cdxgen`, is also affected by some of the issues above from 10.5.2 through 12.9.1, and no 12.x release contains the fix. Users of 12.x should move to `@cdxgen/cdxgen` 13.8.0 or apply the workarounds below. File paths in this advisory refer to the 13.x source tree; in 12.x most of the same functions are under `lib/helpers/` or in `lib/cli/index.js`.

First affected release of each issue:

  • install failure output: 10.5.2
  • dry-run activity summary: 13.6.0 (not in 12.x)
  • environment variables chosen by the repository: 13.4.0 (not in 12.x)
  • YAML warnings: 12.2.0
Workarounds
  • Keep credentials out of registry and mirror URLs; configure them through the package manager's own credential settings.
  • Treat cdxgen output in CI as sensitive and restrict who can read it.
  • Set `NODE_NO_WARNINGS=1` for the cdxgen process to suppress the YAML warnings.
  • Do not combine `--dry-run` with credentialed mirror URLs, or with `--introspect` and deep analysis on untrusted repositories.
Credit

These issues were found by Anthropic's OSS Scanner (scan cdxgen-20261108-009) and reported as ANT-2026-XWS361CO, ANT-2026-4QYG8XQP, ANT-2026-KDJIGVFC, ANT-2026-CJHXKAG4.

References
  • https://github.com/cdxgen/cdxgen/blob/master/SECURITY.md
  • https://github.com/cdxgen/cdxgen/blob/master/docs/THREAT_MODEL.md
  • Fixed in: https://github.com/cdxgen/cdxgen/pull/4787
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:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
5.9/ 10Medio
Vector 5.9 (moderada) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
@cyclonedx/cdxgen≥ 10.5.2 ≤ 12.9.1
@cdxgen/cdxgen≥ 13.0.0 < 13.8.0
10.5.2
12.9.1
12.9.2
13.0.0
13.8.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npm@cyclonedx/cdxgen
Corregida 12.9.2 0 d 12.9.2 no afectada
Versiones corregidas12.9.213.8.0
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-6pwr-9gq6-x9vv

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