Skip to main content
EPSS 2.3%top 17%

CVE-2026-85012 - OS command injection in the Amazon CodeCatalyst blueprints SDK

0
High
VulnerabilityCVE-2026-85012cloudjavascriptcvecve-2026-85012cwe-78
Published: 09/03/2026 (09/03/2026, 17:22:43 UTC)
Source: AWS Security Bulletins

Description

Improper neutralization of special elements used in an OS command (CWE-78) in the blueprint resynthesis framework in Amazon Web Services codecatalyst-blueprints before 0.3.156 might allow a user with permission to commit to a repository in the project to execute arbitrary commands in the blueprint resynthesis environment via shell metacharacters in the owner field of a [local] merge strategy entry in a crafted .ownership-file. Version 0.3.156 removes shell interpretation of the owner field, running the command directly rather than through a shell, and rejects values outside an allowlisted command form. This eliminates shell metacharacter command injection. To remediate this issue, users should upgrade to version 0.3.156 or later. No action is required for use of the Amazon CodeCatalyst service. Resynthesis runs in an isolated per-project environment with scoped credentials, and the service applies server-side validation there that rejects [local] merge strategy commands outside a restricted allowlisted form, including for blueprint versions published before 0.3.156.

Affected software

Affected versions
<=0.3.155

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 11:06:20 UTC

Technical Analysis

Amazon CodeCatalyst blueprints are reusable project templates built on the open source @amazon-codecatalyst/blueprints.blueprint npm package. In versions before 0.3.156, the blueprint resynthesis framework reads the .ownership-file to determine modifiable files. The owner field of a [local] merge strategy entry was passed unsanitized to an OS shell command, enabling OS command injection if a user with commit rights inserted shell metacharacters. This could lead to arbitrary command execution with the privileges of the resynthesis environment. The Amazon CodeCatalyst service mitigates risk by running resynthesis in isolated per-project environments with scoped credentials and server-side validation that rejects unsafe commands, even for vulnerable blueprint versions. The vulnerability is resolved in version 0.3.156 by eliminating shell interpretation of the owner field and enforcing an allowlist of commands.

Potential Impact

A user with commit permissions to a repository using affected blueprint versions (<= 0.3.155) could execute arbitrary OS commands during the resynthesis process by injecting shell metacharacters into the owner field of the .ownership-file. This could compromise the environment performing resynthesis with the privileges and credentials available there. However, the Amazon CodeCatalyst service itself is not impacted due to isolated execution environments and server-side validation that blocks unsafe commands. There are no known exploits in the wild.

Mitigation Recommendations

Upgrade to @amazon-codecatalyst/blueprints.blueprint version 0.3.156 or later, which removes shell interpretation of the owner field and enforces an allowlist on commands to eliminate command injection. For users of the Amazon CodeCatalyst service, no action is required because the service applies server-side validation and runs resynthesis in isolated environments that prevent exploitation. Ensure any forked or derivative code is also updated to incorporate these fixes.

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

Technical Details

Classification
{"confidence":0.85,"severitySource":"heuristic","classifier":"rss-v2"}
Article Source
{"url":"https://aws.amazon.com/security/security-bulletins/rss/2026-095-aws/","fetched":true,"fetchedAt":"2026-09-03T17:33:07.256Z","wordCount":341}

Threat ID: 6a99af53acd9273b493d97b7

Added to database: 09/03/2026, 17:33:07 UTC

Last enriched: 09/07/2026, 11:06:20 UTC

Last updated: 10/17/2026, 18:48:23 UTC

Views: 96

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