Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @hulumi/policies
  4. ›
  5. CVE-2026-48032

CVE-2026-48032: @hulumi/policies bypasses IAM-role policy checks when the role trusts multiple OIDC providers

June 10, 2026

AWS IAM trust policies can list more than one federated identity provider — for example, a role that accepts BOTH GitHub Actions OIDC and Google’s OIDC. The G_OIDC_1 and G_OIDC_2 policy rules are supposed to flag IAM roles whose GitHub-OIDC trust is too permissive (e.g. wildcard sub: conditions that would let any branch or any pull request assume the role).

The bug: when the role’s Principal.Federated field was a JSON array of multiple providers, the rules failed to recognise that GitHub Actions was one of them. The providers list was coerced into a single comma-joined string, the matcher only looked at the start, and the GitHub OIDC hostname was lost in the join. Both rules concluded “this isn’t a GitHub-OIDC role” and skipped the wildcard check.

References

  • github.com/advisories/GHSA-g759-4pxw-6692
  • github.com/kerberosmansour/hulumi/pull/178
  • github.com/kerberosmansour/hulumi/security/advisories/GHSA-g759-4pxw-6692
  • nvd.nist.gov/vuln/detail/CVE-2026-48032

Code Behaviors & Features

Detect and mitigate CVE-2026-48032 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.4.0

Fixed versions

  • 1.4.0

Solution

Upgrade to version 1.4.0 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-697: Incorrect Comparison

Source file

npm/@hulumi/policies/CVE-2026-48032.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:27 +0000.