CVE-2026-119282 (GCVE-0-2026-119282)
Vulnerability from cvelistv5
Published
2026-10-29 21:07
Modified
2026-11-03 16:50
CWE
  • CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-88 - Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
Summary
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.
Impacted products
Vendor Product Version
nrwl nx Version: >= 21.0.0, < 22.7.9
Version: >= 23.0.0, < 23.1.2
Create a notification for this product.
   @nx maven Version: >= 21.0.0, < 22.7.9
Version: >= 23.0.0, < 23.1.2
Create a notification for this product.
   @nx gradle Version: >= 21.0.0, < 22.7.9
Version: >= 23.0.0, < 23.1.2
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-119282",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-03T16:48:35.280950Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-03T16:50:52.627Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "nx",
          "vendor": "nrwl",
          "versions": [
            {
              "status": "affected",
              "version": "\u003e= 21.0.0, \u003c 22.7.9"
            },
            {
              "status": "affected",
              "version": "\u003e= 23.0.0, \u003c 23.1.2"
            }
          ]
        },
        {
          "product": "maven",
          "vendor": "@nx",
          "versions": [
            {
              "status": "affected",
              "version": "\u003e= 21.0.0, \u003c 22.7.9"
            },
            {
              "status": "affected",
              "version": "\u003e= 23.0.0, \u003c 23.1.2"
            }
          ]
        },
        {
          "product": "gradle",
          "vendor": "@nx",
          "versions": [
            {
              "status": "affected",
              "version": "\u003e= 21.0.0, \u003c 22.7.9"
            },
            {
              "status": "affected",
              "version": "\u003e= 23.0.0, \u003c 23.1.2"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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\u0027 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\u0027s 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."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "attackVector": "LOCAL",
            "baseScore": 7.3,
            "baseSeverity": "HIGH",
            "privilegesRequired": "NONE",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "PASSIVE",
            "vectorString": "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",
            "version": "4.0",
            "vulnAvailabilityImpact": "HIGH",
            "vulnConfidentialityImpact": "HIGH",
            "vulnIntegrityImpact": "HIGH"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-78",
              "description": "CWE-78: Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-88",
              "description": "CWE-88: Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-29T21:07:46.468Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/nrwl/nx/security/advisories/GHSA-qm8w-vx34-5j9j",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/nrwl/nx/security/advisories/GHSA-qm8w-vx34-5j9j"
        },
        {
          "name": "https://github.com/nrwl/nx/pull/36626",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/nrwl/nx/pull/36626"
        },
        {
          "name": "https://github.com/nrwl/nx/commit/02c5d59e8dbbbe30963c0181c6a22cd8c1190a25",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/nrwl/nx/commit/02c5d59e8dbbbe30963c0181c6a22cd8c1190a25"
        },
        {
          "name": "https://github.com/nrwl/nx/commit/60196b7cfcffcada35b6b90e53bf1a78d049b548",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/nrwl/nx/commit/60196b7cfcffcada35b6b90e53bf1a78d049b548"
        },
        {
          "name": "https://github.com/nrwl/nx/commit/c227f4780b054c512965c73aa480a48f9f781409",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/nrwl/nx/commit/c227f4780b054c512965c73aa480a48f9f781409"
        },
        {
          "name": "https://github.com/nrwl/nx/releases/tag/22.7.9",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/nrwl/nx/releases/tag/22.7.9"
        },
        {
          "name": "https://github.com/nrwl/nx/releases/tag/23.1.2",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/nrwl/nx/releases/tag/23.1.2"
        }
      ],
      "source": {
        "advisory": "GHSA-qm8w-vx34-5j9j",
        "discovery": "UNKNOWN"
      },
      "title": "Nx: OS command injection via nx.json plugin options in @nx/maven and @nx/gradle"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-119282",
    "datePublished": "2026-10-29T21:07:46.468Z",
    "dateReserved": "2026-10-29T18:50:28.064Z",
    "dateUpdated": "2026-11-03T16:50:52.627Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-119282\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-11-03T16:48:35.280950Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-11-03T16:50:11.759Z\"}}], \"cna\": {\"title\": \"Nx: OS command injection via nx.json plugin options in @nx/maven and @nx/gradle\", \"source\": {\"advisory\": \"GHSA-qm8w-vx34-5j9j\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV4_0\": {\"version\": \"4.0\", \"baseScore\": 7.3, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"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\", \"userInteraction\": \"PASSIVE\", \"attackComplexity\": \"LOW\", \"attackRequirements\": \"PRESENT\", \"privilegesRequired\": \"NONE\", \"subIntegrityImpact\": \"NONE\", \"vulnIntegrityImpact\": \"HIGH\", \"subAvailabilityImpact\": \"NONE\", \"vulnAvailabilityImpact\": \"HIGH\", \"subConfidentialityImpact\": \"NONE\", \"vulnConfidentialityImpact\": \"HIGH\"}}], \"affected\": [{\"vendor\": \"nrwl\", \"product\": \"nx\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003e= 21.0.0, \u003c 22.7.9\"}, {\"status\": \"affected\", \"version\": \"\u003e= 23.0.0, \u003c 23.1.2\"}]}, {\"vendor\": \"@nx\", \"product\": \"maven\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003e= 21.0.0, \u003c 22.7.9\"}, {\"status\": \"affected\", \"version\": \"\u003e= 23.0.0, \u003c 23.1.2\"}]}, {\"vendor\": \"@nx\", \"product\": \"gradle\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003e= 21.0.0, \u003c 22.7.9\"}, {\"status\": \"affected\", \"version\": \"\u003e= 23.0.0, \u003c 23.1.2\"}]}], \"references\": [{\"url\": \"https://github.com/nrwl/nx/security/advisories/GHSA-qm8w-vx34-5j9j\", \"name\": \"https://github.com/nrwl/nx/security/advisories/GHSA-qm8w-vx34-5j9j\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/nrwl/nx/pull/36626\", \"name\": \"https://github.com/nrwl/nx/pull/36626\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/nrwl/nx/commit/02c5d59e8dbbbe30963c0181c6a22cd8c1190a25\", \"name\": \"https://github.com/nrwl/nx/commit/02c5d59e8dbbbe30963c0181c6a22cd8c1190a25\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/nrwl/nx/commit/60196b7cfcffcada35b6b90e53bf1a78d049b548\", \"name\": \"https://github.com/nrwl/nx/commit/60196b7cfcffcada35b6b90e53bf1a78d049b548\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/nrwl/nx/commit/c227f4780b054c512965c73aa480a48f9f781409\", \"name\": \"https://github.com/nrwl/nx/commit/c227f4780b054c512965c73aa480a48f9f781409\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/nrwl/nx/releases/tag/22.7.9\", \"name\": \"https://github.com/nrwl/nx/releases/tag/22.7.9\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/nrwl/nx/releases/tag/23.1.2\", \"name\": \"https://github.com/nrwl/nx/releases/tag/23.1.2\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"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\u0027 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\u0027s 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.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-78\", \"description\": \"CWE-78: Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)\"}]}, {\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-88\", \"description\": \"CWE-88: Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2026-10-29T21:07:46.468Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-119282\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-11-03T16:50:52.627Z\", \"dateReserved\": \"2026-10-29T18:50:28.064Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2026-10-29T21:07:46.468Z\", \"assignerShortName\": \"GitHub_M\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…