{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-104859","id":"CVE-2026-104859","title":"Nx: OS command injection in the @nx/docker release pipeline","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 unt","descriptionLong":"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.","published":"2026-10-02T17:49:37.975Z","updated":"2026-11-11T10:47:24.957570192Z","reserved":"2026-10-02T14:38:43.244Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":7.3,"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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":7.3,"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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":7.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"high","source":"GitHub"}],"rating":"high","products":["nrwl nx"],"affectedProducts":[{"vendor":"nrwl","product":"nx","defaultStatus":null,"versions":[{"version":">= 21.4.0, < 22.7.8","status":"affected"},{"version":">= 23.0.0, < 23.1.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@nx/docker","purl":"pkg:npm/%40nx/docker","ranges":[">=21.4.0 <22.7.8",">=23.0.0 <23.1.1"],"fixed":["22.7.8","23.1.1"],"advisory":"GHSA-6vc5-vf29-ffr2"}],"cwes":["CWE-78"],"aliases":["GHSA-6vc5-vf29-ffr2"],"references":[{"url":"https://github.com/nrwl/nx/security/advisories/GHSA-6vc5-vf29-ffr2","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/nrwl/nx/pull/36505","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/nrwl/nx/commit/6d60eed061f050e0d5af509a1f5a07c707f09865","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/nrwl/nx/commit/b587441fd8da28c5db37edb0826554e0060dc81b","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104859.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104859","tags":["advisory"]},{"url":"https://github.com/nrwl/nx","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00148,"epssPercentile":0.04095,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-104859","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104859","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-104859","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6vc5-vf29-ffr2","ok":true,"note":"GHSA-6vc5-vf29-ffr2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-104859","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["docker"],"critical":[],"attention":null}