{"cve":"CVE-2026-104859","nvd":{"published":"2026-10-02T18:17:02.270","modified":"2026-10-05T21:16:32.897","status":"Undergoing Analysis","description":"Nx is a monorepo solution for TypeScript and polyglot codebases. From 21.4.0 until 22.7.8 and from 23.0.0 until 23.1.1, the @nx/docker release pipeline builds docker tag, image lookup, and docker push invocations as shell command strings. The release.docker.repositoryName and registryUrl configuration values are interpolated into those strings and passed to /bin/sh -c, allowing shell syntax in untrusted Nx configuration to execute during nx release version or nx release publish. A pull request or repository configuration change can therefore execute commands with the release job's privileges and expose registry credentials or cloud tokens, and dry-run publishing does not prevent the vulnerable pre-check command from executing. This issue is fixed in versions 22.7.8 and 23.1.1.","cvss_v4":{"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.3},"cvss_v3":null,"cwes":["CWE-78"],"references":["https://github.com/nrwl/nx/commit/6d60eed061f050e0d5af509a1f5a07c707f09865","https://github.com/nrwl/nx/commit/b587441fd8da28c5db37edb0826554e0060dc81b","https://github.com/nrwl/nx/pull/36505","https://github.com/nrwl/nx/security/advisories/GHSA-6vc5-vf29-ffr2"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:57:46.668721662+00:00"},"epss":{"cve":"CVE-2026-104859","score":0.00148,"percentile":0.03996,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-6vc5-vf29-ffr2","url":"https://osv.dev/vulnerability/GHSA-6vc5-vf29-ffr2","summary":"@nx/docker: OS command injection in the @nx/docker release pipeline","modified":"2026-10-05T23:45:08.226593535Z","packages":[{"ecosystem":"npm","name":"@nx/docker","purl":"pkg:npm/%40nx/docker","ranges":[">=21.4.0 <22.7.8"],"fixed":["22.7.8"]},{"ecosystem":"npm","name":"@nx/docker","purl":"pkg:npm/%40nx/docker","ranges":[">=23.0.0 <23.1.1"],"fixed":["23.1.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}