CVE-2026-119282

Source
https://cve.org/CVERecord?id=CVE-2026-119282
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-119282.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-119282
Aliases
Published
2026-10-29T21:07:46Z
Modified
2026-11-05T02:31:09Z
Severity
  • 7.3 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Nx: OS command injection via nx.json plugin options in @nx/maven and @nx/gradle
Details

Nx is a monorepo solution for TypeScript and polyglot codebases. From 22.0.2 until 22.7.9 and 23.1.2 for @nx/maven, and from 21.0.0 until 22.7.9 and 23.1.2 for @nx/gradle, the plugins' project-graph analyzers launch through a shell and interpolate plugin options from nx.json into command arguments. The @nx/maven targetNamePrefix value and arbitrary @nx/gradle option names or values can therefore be interpreted as shell syntax whenever an nx command constructs the project graph. A user who runs Nx in an attacker-controlled repository or pull request can execute injected commands with the user's privileges, while workspaces that register neither affected plugin are not exposed to this path. Remediation requires upgrading both nx and each affected plugin to matching releases because the plugin fix depends on code in the nx package. This issue is fixed in versions 22.7.9 and 23.1.2.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-78",
        "CWE-88"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119282.json"
}
References

Affected packages

Git / github.com/nrwl/nx

Affected ranges

Type
GIT
Repo
https://github.com/nrwl/nx
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "21.0.0"
                },
                {
                    "fixed": "22.7.9"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "introduced": "23.0.0"
                },
                {
                    "fixed": "23.1.2"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "02c5d59e8dbbbe30963c0181c6a22cd8c1190a25"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "60196b7cfcffcada35b6b90e53bf1a78d049b548"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "c227f4780b054c512965c73aa480a48f9f781409"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "22.7.9",
            "range": [
                {
                    "fixed": "02c5d59e8dbbbe30963c0181c6a22cd8c1190a25"
                }
            ],
            "source": "REFERENCES_TAG"
        },
        {
            "original_tag": "23.1.2",
            "range": [
                {
                    "fixed": "82723c9cf1a8d46a3b774d0b977001f2c6c19561"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

21.*
21.0.0
21.0.1
21.0.2
21.0.3
21.0.4-beta.0
21.1.0
21.1.0-beta.0
21.1.0-beta.1
21.1.0-beta.2
21.2.0
21.2.0-beta.1
21.2.0-beta.2
21.2.0-beta.3
21.2.0-beta.4
21.2.0-beta.5
21.2.1
21.3.0
21.3.0-beta.0
21.3.0-beta.1
21.3.0-beta.2
21.3.0-beta.3
21.3.0-beta.4
21.3.0-beta.5
21.3.0-beta.6
21.3.0-beta.7
21.3.0-rc.0
21.4.0
21.4.0-beta.0
21.4.0-beta.1
21.4.0-beta.10
21.4.0-beta.11
21.4.0-beta.12
21.4.0-beta.2
21.4.0-beta.3
21.4.0-beta.4
21.4.0-beta.5
21.4.0-beta.6
21.4.0-beta.7
21.4.0-beta.8
21.4.0-beta.9
21.5.0-beta.0
21.5.0-beta.1
21.5.0-beta.2
21.5.1
21.5.1-beta.3
21.5.1-beta.4
21.5.1-beta.5
21.6.1
21.6.1-beta.0
21.6.1-beta.1
21.6.1-beta.2
21.6.1-beta.3
21.6.1-beta.4
21.6.1-rc.0
22.*
22.0.0
22.0.0-beta.0
22.0.0-beta.1
22.0.0-beta.2
22.0.0-beta.3
22.0.0-beta.4
22.0.0-beta.5
22.0.0-beta.6
22.0.0-beta.7
22.0.0-beta.8
22.0.0-beta.9
22.0.0-rc.0
22.0.1
22.1.0
22.1.0-beta.0
22.1.0-beta.1
22.1.0-beta.2
22.1.0-beta.3
22.1.0-beta.4
22.1.0-beta.5
22.1.0-beta.6
22.1.0-beta.7
22.1.0-beta.8
22.1.0-rc.0
22.1.0-rc.1
22.1.0-rc.2
22.1.0-rc.3
22.1.0-rc.4
22.1.0-rc.5
22.1.1
22.2.0
22.2.0-beta.0
22.2.0-beta.1
22.2.0-beta.2
22.2.0-beta.3
22.2.0-beta.4
22.2.1
22.2.2
22.2.3
22.3.0
22.3.0-beta.0
22.3.0-beta.1
22.3.0-beta.2
22.3.0-beta.3
22.4.0
22.4.0-beta.0
22.4.0-beta.1
22.4.0-beta.2
22.4.0-beta.3
22.4.0-beta.4
22.4.0-beta.5
22.4.1
22.5.0
22.5.0-beta.0
22.5.0-beta.1
22.5.0-beta.2
22.5.0-beta.3
22.5.0-beta.4
22.5.0-beta.5
22.6.0
22.6.0-beta.0
22.6.0-beta.1
22.6.0-beta.10
22.6.0-beta.11
22.6.0-beta.12
22.6.0-beta.13
22.6.0-beta.14
22.6.0-beta.2
22.6.0-beta.3
22.6.0-beta.4
22.6.0-beta.5
22.6.0-beta.6
22.6.0-beta.7
22.6.0-beta.8
22.6.0-beta.9
22.6.0-rc.0
22.6.0-rc.1
22.6.0-rc.2
22.7.0
22.7.0-beta.0
22.7.0-beta.1
22.7.0-beta.10
22.7.0-beta.11
22.7.0-beta.12
22.7.0-beta.13
22.7.0-beta.14
22.7.0-beta.15
22.7.0-beta.16
22.7.0-beta.17
22.7.0-beta.2
22.7.0-beta.3
22.7.0-beta.4
22.7.0-beta.5
22.7.0-beta.6
22.7.0-beta.7
22.7.0-beta.8
22.7.0-beta.9
22.7.0-rc.0
22.7.0-rc.1
22.7.0-rc.2
22.7.1
22.7.2
22.7.3
22.7.4
22.7.5
22.7.6
22.7.7
22.7.8
23.*
23.0.0
23.1.0
23.1.0-beta.0
23.1.0-beta.1
23.1.0-beta.2
23.1.0-beta.3
23.1.0-beta.4
23.1.0-beta.5
23.1.0-beta.6
23.1.0-beta.7
23.1.0-rc.0
23.1.0-rc.1
23.1.0-rc.2
23.1.0-rc.3
23.1.1
23.2.0-beta.0
23.2.0-beta.1
23.2.0-beta.2
23.2.0-beta.3
23.2.0-beta.4
23.2.0-beta.5
23.2.0-beta.6
23.2.0-beta.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-119282.json"