Refine your search
1 vulnerability found for by @nx
CVE-2026-119282 (GCVE-0-2026-119282)
Vulnerability from cvelistv5
Published
2026-10-29 21:07
Modified
2026-11-03 16:50
Severity ?
VLAI Severity ?
EPSS score ?
CWE
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.
References
| URL | Tags | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||
Impacted products
{
"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"
}