Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.6%top 53%

CVE-2026-13760 - OS Command Injection in NodejsFunction Docker Bundling in aws-cdk-lib

0
High
VulnerabilityCVE-2026-13760rce
Published: 07/01/2026 (07/01/2026, 19:09:41 UTC)
Source: AWS Security Bulletins

Description

CVE-2026-13760 is an OS command injection vulnerability in the NodejsFunction Docker bundling pipeline of aws-cdk-lib versions prior to 2.260.0. The flaw allows an attacker who controls dependency version strings in a project's package.json file to execute arbitrary commands on the host running the AWS CDK toolchain. This occurs via injected shell metacharacters processed by the OsCommand helper during Docker-based bundling with nodeModules specified. The issue is fixed in version 2.260.0.

Affected software

aws-cdk-lib
pkg:npm/aws-cdk-lib
Affected versions
<2.260.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 00:57:40 UTC

Technical Analysis

AWS CDK (aws-cdk-lib) before version 2.260.0 contains an OS command injection vulnerability (CVE-2026-13760) in the NodejsFunction Docker bundling pipeline. An attacker who can control dependency version strings in a package.json file used by the project can inject shell metacharacters that are executed on the host system running the CDK toolchain. This vulnerability arises from unsafe processing of these version strings by the OsCommand helper during Docker-based bundling when nodeModules is specified. The vulnerability requires the attacker to have control over the dependency version strings processed during bundling. The issue has been addressed in aws-cdk-lib version 2.260.0.

Potential Impact

An attacker with the ability to control dependency version strings in a package.json file can execute arbitrary OS commands on the host running the AWS CDK toolchain during Docker-based bundling. This could lead to unauthorized command execution on the host system. The impact is limited by the prerequisite that the attacker must control the dependency version strings processed during bundling.

Mitigation Recommendations

Upgrade aws-cdk-lib to version 2.260.0 or later, which contains the official fix for this vulnerability. As a workaround, ensure that all modules and their version strings in the package.json file come from trusted sources to prevent injection of malicious content. Alternatively, use local bundling instead of Docker-based bundling to avoid the affected code path. The recommended remediation is to upgrade to the fixed version.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Article Source
{"url":"https://aws.amazon.com/security/security-bulletins/rss/2026-050-aws/","fetched":true,"fetchedAt":"2026-07-01T19:18:35.899Z","wordCount":261}
Classification
{"confidence":0.95,"severitySource":"heuristic","classifier":"rss-v2"}

Threat ID: 6a45680b27e9c79719fce598

Added to database: 07/01/2026, 19:18:35 UTC

Last enriched: 07/22/2026, 00:57:40 UTC

Last updated: 08/14/2026, 12:41:08 UTC

Views: 142

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses