ZeroHour

CVE-2026-89066

moderate

OS Command Injection in AWS projen Task Synthesis before 0.103.0

CVSS 4.0
8.4 high
EPSS
Published
()
Modified
AI analysis

Projen before 0.103.0 improperly neutralizes shell metacharacters (CWE-78/CWE-88) in project configuration values and repository file names that are interpolated into generated task definitions by its task synthesis component. An attacker who can influence a project's configuration values or repository file names can inject OS commands that execute when projen-generated tasks are run, gaining arbitrary command execution on the developer workstation or continuous integration runner with the privileges of the user running the task. Because the generated task file (.projen/tasks.json) is typically committed to the repository, a poisoned task definition can persist and execute repeatedly across developers and CI pipelines. Anyone using projen to synthesize or run tasks in affected versions is exposed, with impact limited to the local machine and its credentials/network reachability (CVSS 4.0 score 8.4, local attack vector with user interaction). No public proof-of-concept, CISA KEV listing, or known in-the-wild exploitation has been reported.

What to do: Upgrade projen to version 0.103.0 or later, then re-run project synthesis so that the committed .projen/tasks.json is regenerated with corrected task definitions and commit the regenerated file; upgrading alone is not sufficient. Audit repositories for .projen/tasks.json files generated by older versions, review project configuration values and repository file names for shell metacharacters, and avoid running projen tasks from untrusted repositories until updated.

Affected
AWS (open-source project) projenall versions before 0.103.0
Estimated exposure
moderateplausibly tens of thousands of developer workstations and CI runners (order of magnitude 10k-100k environments) — Projen is a widely adopted AWS CDK ecosystem tooling package used to scaffold and manage many JavaScript/TypeScript and construct library repositories, suggesting a developer-environment population in the tens of thousands, though no…

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 in the task synthesis component in projen before 0.103.0 might allow context-dependent attackers to execute arbitrary commands on a developer workstation or continuous integration runner via shell metacharacters in project configuration values and repository file names that are interpolated into generated task definitions. To remediate this issue, users should upgrade to version 0.103.0 and then re-synthesize the project so that .projen/tasks.json is regenerated with the corrected task definitions. Upgrading alone is not sufficient because the generated task definition file is committed to the repository.

Weakness
CWE-78, CWE-88
Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/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.