CVE-2026-119282

    Dashboard / Vulnerabilities / CVE-2026-119282

    CVE-2026-119282

    Published: 29 Oct 2026Last Modified: 5 Nov 2026

    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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 382bd6eb2c5d38fe60c189a32684d6eeec559f9c

    Affected versions

    22.7.8
    22.7.7
    22.7.6
    22.7.5
    22.7.4
    22.7.3
    22.7.2
    22.7.1
    22.7.0
    22.7.0-rc.2
    22.7.0-rc.1
    22.7.0-rc.0
    22.7.0-beta.17
    22.7.0-beta.16
    22.7.0-beta.15
    22.7.0-beta.14
    22.7.0-beta.13
    22.7.0-beta.12
    22.7.0-beta.11
    22.7.0-beta.10
    22.7.0-beta.9
    22.7.0-beta.8
    22.7.0-beta.7
    22.7.0-beta.6
    22.7.0-beta.5
    22.7.0-beta.4
    22.7.0-beta.3
    22.7.0-beta.2
    22.7.0-beta.1
    22.7.0-beta.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2026-119282 | CVE-DB