Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-104859

HIGH 7.3EPSS 8%

Nx: OS command injection in the @nx/docker release pipeline

Also known as GHSA-6vc5-vf29-ffr2

Mitigation

  • Upgrade @nx/docker to one of 22.7.8, 23.1.1 (or later in the same release line).

Who should check

  • Projects that depend on npm package @nx/docker (>= 21.4.0, < 22.7.8)
  • Anyone running nrwl nx >= 21.4.0, < 22.7.8; >= 23.0.0, < 23.1.1

Vulnerability facts

Affected
@nx/docker >= 21.4.0, < 22.7.8
Fixed in
22.7.8, 23.1.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.3 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: Passive
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.22% chance of exploitation in 30 days (percentile 8, 2026-11-26)
CWE
CWE-78
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
npm @nx/docker>= 21.4.0, < 22.7.822.7.8, 23.1.1osv
nrwl nx>= 21.4.0, < 22.7.8; >= 23.0.0, < 23.1.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-104859. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-104859.md
Affected: @nx/docker >= 21.4.0, < 22.7.8
Fixed in: 22.7.8, 23.1.1

Steps:
1. Search this machine and project for @nx/docker (npm), nrwl nx: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-104859 being exploited?

There is no confirmed exploitation: CVE-2026-104859 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-104859?

High: CVSS 7.3 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-104859?

@nx/docker >= 21.4.0, < 22.7.8.

Is there a fix for CVE-2026-104859?

Yes. Fixed in 22.7.8, 23.1.1. Upgrade @nx/docker to one of 22.7.8, 23.1.1 (or later in the same release line).

How do I check if I'm affected by CVE-2026-104859?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors