ZeroHour

CVE-2026-85012

niche

OS command injection in AWS codecatalyst-blueprints resynthesis framework

CVSS 4.0
8.5 high
EPSS
1%p62
Published
()
Modified
AI analysis

CVE-2026-85012 is an OS command injection flaw (CWE-78) in the blueprint resynthesis framework of Amazon Web Services' codecatalyst-blueprints package before version 0.3.156. A user with permission to commit to a repository in the project can plant a crafted .ownership-file whose [local] merge strategy entry carries shell metacharacters in the owner field; when blueprint resynthesis runs, that field is passed through a shell and the injected commands execute. The attacker thereby gains arbitrary command execution in the resynthesis environment, which runs isolated per project with scoped credentials, limiting the blast radius to that environment. Only users who run the resynthesis framework on affected versions are exposed; the managed Amazon CodeCatalyst service applies equivalent server-side validation (including for blueprint versions published before 0.3.156), so service users require no action. No public proof-of-concept or in-the-wild exploitation is known, EPSS estimates roughly a 1.1% probability of exploitation within 30 days (62nd percentile), and the flaw is not in CISA's KEV catalog; the CVSS 4.0 score of 8.5 (high) reflects that the attack requires commit-level privileges and that resynthesis must actually run.

What to do: Upgrade codecatalyst-blueprints to 0.3.156 or later, which stops shell interpretation of the owner field and rejects values outside an allowlisted command form. Until upgraded, restrict commit access to trusted collaborators and inspect .ownership-file changes, especially owner fields of [local] merge strategy entries, for shell metacharacters before running resynthesis. Users of the managed Amazon CodeCatalyst service need no action, as the service already validates these commands server-side in the isolated resynthesis environment.

Affected
Amazon Web Services codecatalyst-blueprints (blueprint resynthesis framework)before 0.3.156 (fixed in 0.3.156)
Estimated exposure
nicheunknown, likely at most thousands of users (specialized AWS CodeCatalyst developer tooling) — No public download or install statistics are available for this package; it is niche developer tooling tied to AWS CodeCatalyst, and because the managed CodeCatalyst service is not affected, only teams that self-run blueprint resynthesis…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Weakness
CWE-78
Vector
CVSS:4.0/AV:N/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

In the news

No ingested article mentions this CVE yet.