ZeroHour

CVE-2026-82856

niche

AWS IAM OIDC trust-policy validation bypass in Pulumi @pulumi/policies

CVSS 4.0
9.3 critical
EPSS
<1%p21
Published
()
Modified
AI analysis

@pulumi/policies versions before 1.3.2 fail to properly validate set-qualified AWS IAM condition operators when checking GitHub Actions OIDC trust policies — an improper access-control flaw (CWE-284) rated 9.3 (Critical) under CVSS 4.0. It is triggered when a trust policy uses operators such as ForAnyValue:StringLike, which the guardrail fails to inspect, allowing wildcard subject conditions (e.g., trusting any repository or branch in a GitHub organization) to pass validation that should flag or reject them. An attacker crafting a trust policy this way effectively hides broad wildcard grants from the security guardrail, so more GitHub Actions workflows can assume the associated AWS role and reach its resources than the policy intends. Any organization relying on @pulumi/policies to enforce AWS IAM and GitHub OIDC trust guardrails is affected. No public proof-of-concept, CISA KEV listing, or known in-the-wild exploitation exists, and EPSS estimates only a 0.3% probability of exploitation within 30 days.

What to do: Upgrade @pulumi/policies to version 1.3.2 or later. Until then, manually review IAM roles that trust the GitHub Actions OIDC provider for set-qualified operators such as ForAnyValue:StringLike with wildcard subjects (e.g., repo:org/*) and tighten them to specific repositories and branches. Also check CloudTrail AssumeRoleWithWebIdentity logs for role assumptions from unexpected GitHub repositories or workflows.

Affected
Pulumi @pulumi/policies (npm package)all versions before 1.3.2
Estimated exposure
nichelikely low tens of thousands of npm downloads/consumers at most (specialized policy-as-code package; exact install counts not provided in the data) — @pulumi/policies is a niche Pulumi CrossGuard policy-as-code library used only by teams enforcing AWS IAM guardrails, and only deployments that federate GitHub Actions via OIDC are meaningfully exposed; no public install counts were…

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

Description

@hulumi/policies versions before 1.3.2 fail to properly validate set-qualified AWS IAM condition operators in GitHub OIDC trust policies. Attackers can use ForAnyValue:StringLike operators to hide wildcard GitHub Actions OIDC subject conditions from security guardrails.

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