{"schemaVersion":3,"id":"CVE-2026-13760","aliases":["GHSA-vcrf-j523-4mrf"],"status":"published","duplicateOf":null,"title":null,"description":"OS command injection in the NodejsFunction Docker bundling pipeline (OsCommand helper) in AWS aws-cdk-lib on all platforms might allow a actor who controls dependency version strings in a project's package.json file to execute arbitrary commands on the host running the CDK toolchain via injected shell metacharacters in the OsCommand helper. This issue requires the actor to control the content of a package.json dependency version string that is processed during Docker-based bundling with nodeModules specified.\n\n\n\nTo remediate this issue, users should upgrade to v2.260.0.","dates":{"published":"2026-07-01T19:05:18.671Z","modified":"2026-07-01T19:23:39.104Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.3,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":7,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":3.3,"impact":9.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01159,"percentile":0.66627,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01159},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01066,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01066,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01159,"percentile":0.66627}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01159,"percentile":0.66627}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"aws","product":"aws cdk","name":"AWS CDK","label":"aws cdk","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.260.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.260.0","eol":null,"hubHref":"/vendor/aws/aws_cdk"},{"vendor":"Npm","product":"aws-cdk-lib","name":"aws-cdk-lib","label":"aws-cdk-lib","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/aws-cdk-lib","purlType":"npm","versions":[{"text":"< 2.260.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.260.0","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/aws/aws-cdk/releases/tag/v2.260.0","label":"github.com/aws/aws-cdk/releases/tag/v2.260.0","hostname":"github.com","tags":["Patch","WEB"]},{"url":"https://aws.amazon.com/security/security-bulletins/2026-050-aws/","label":"aws.amazon.com/security/security-bulletins/2026-050-aws/","hostname":"aws.amazon.com","tags":["Vendor Advisory"]},{"url":"https://github.com/aws/aws-cdk/security/advisories/GHSA-vcrf-j523-4mrf","label":"github.com/aws/aws-cdk/security/advisories/GHSA-vcrf-j523-4mrf","hostname":"github.com","tags":["Third Party Advisory","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13760","label":"nvd.nist.gov/vuln/detail/CVE-2026-13760","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/aws/aws-cdk/pull/38133","label":"github.com/aws/aws-cdk/pull/38133","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/aws/aws-cdk/commit/baa9e1dff469306cc23b8f4bd232d703f98bf68a","label":"github.com/aws/aws-cdk/commit/baa9e1dff469306cc23b8f4bd232d703f98bf68a","hostname":"github.com","tags":["WEB"]},{"url":"https://aws.amazon.com/security/security-bulletins/2026-050-aws","label":"aws.amazon.com/security/security-bulletins/2026-050-aws","hostname":"aws.amazon.com","tags":["WEB"]},{"url":"https://github.com/aws/aws-cdk","label":"github.com/aws/aws-cdk","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-07-01T19:05:18.671Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-01T19:23:39.104Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:12:33.284Z","stale":false,"partial":false}}