External risk intelligence

@hulumi/policies IAM Condition Operator Bypass

CVE advisorySeverity: CRITICAL (CVSS 9.3)

CVE-2026-82856

This vulnerability affects a software library used for policy validation within CI/CD pipelines or infrastructure-as-code tooling. It is a build-time or developer-centric utility rather than a public-facing service, appliance, or network gateway. As such, it lacks direct exposure to the public internet in standard deployments.

Halo Surface Signal: 1 out of 5 — much less likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This vulnerability involves how certain security policies in the `@hulumi/policies` library handle AWS IAM conditions for GitHub OIDC trust. Specifically, an attacker could potentially exploit a weakness in how wildcard conditions are processed, allowing them to bypass established security guardrails by masking subject conditions. The main concern at this stage is confirming the relevance and exposure of this specific policy library within our environment.

  • Policies incorrectly validate AWS IAM conditions for GitHub.
  • It allows bypassing security guardrails for GitHub OIDC.
  • Confirm if this policy library is in use.

Attack Path

How an attacker could exploit the issue

An attacker could exploit this vulnerability by creating a GitHub Actions OIDC trust policy that bypasses security checks. This is possible because the vulnerable component, @hulumi/policies, does not correctly validate certain AWS IAM condition operators, specifically `ForAnyValue:StringLike` when used with wildcard subject conditions. This bypass allows an attacker to potentially gain unauthorized access or execute malicious actions within the cloud environment.

  • No authentication required.
  • Bypass security checks in OIDC trust policies.
  • Unauthorized access to cloud resources.

Live Threat

Current exploitation, exposure, and threat context

When supported by the advisory, attackers could bypass security guardrails by exploiting improper validation of set-qualified AWS IAM condition operators in GitHub OIDC trust policies, potentially hiding wildcard GitHub Actions OIDC subject conditions.

  • IAM condition operators.
  • Wildcard subject conditions may be hidden.
  • Security guardrails could be bypassed.

Operational Fix

Recommended remediation, mitigation, and detection steps

This vulnerability impacts the validation of AWS IAM condition operators in GitHub OIDC trust policies, potentially allowing attackers to bypass security guardrails for GitHub Actions. Ownership likely falls to teams managing CI/CD pipelines, cloud infrastructure, or security tooling that integrates with GitHub Actions and AWS. The immediate priority is to identify all instances of the affected library, confirm their exposure and criticality, and assign an accountable owner for remediation planning.

  • Identify affected tooling and owners.
  • Verify policy configurations and reachability.
  • Plan remediation based on identified risk.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is the @hulumi/policies library used for?

@hulumi/policies is a developer-centric software library used for validating security policies, specifically within CI/CD pipelines and infrastructure-as-code tooling. It helps teams ensure that cloud configurations, such as AWS IAM policies for GitHub OIDC trust, adhere to defined security standards before they are deployed.

What is the weakness in CVE-2026-82856?

The vulnerability involves Improper Access Control (CWE-284). The library fails to correctly validate certain set-qualified AWS IAM condition operators. Because of this flaw, the system cannot properly parse specific logic, which allows malicious actors to obscure wildcard patterns that would otherwise be restricted by security guardrails.

How does an attacker trigger this vulnerability?

An attacker triggers this by crafting a GitHub Actions OIDC trust policy that utilizes the ForAnyValue:StringLike operator. This specific operator allows them to hide or mask wildcard subject conditions. If the policy does not use these set-qualified operators or omits wildcard subjects entirely, the specific bypass condition described in this CVE does not apply.

Why should I care if I use this library?

While Halo Surface Signal notes this library is a build-time utility rather than a public-facing service, its presence in your pipeline remains significant. If your automated guardrails are bypassed, an attacker could potentially gain unauthorized access to cloud resources. You should determine if your CI/CD processes rely on @hulumi/policies to enforce OIDC trust boundaries.

How do I respond to this threat?

First, conduct an audit to identify all environments where the @hulumi/policies library is utilized. Prioritize updating to version 1.3.2 or later to resolve the validation logic. If immediate patching is not possible, work with your infrastructure and security teams to verify that your current OIDC trust policies do not rely on the affected operators for enforcement.

References