{"id":"CVE-2026-48032","aliases":["CVE-2026-48032","GHSA-g759-4pxw-6692"],"related":[],"kind":"vulnerability","state":"published","title":"Hulumi: IAM-role policy checks bypassed when the role trusts multiple OIDC providers","summary":"Hulumi is an open-source toolkit that ships secure-by-default cloud and platform infrastructure components for Pulumi. Prior to version 1.4.0, IAM-role policy checks can be bypassed when the role trusts multiple OIDC providers. This issue has been patched in version 1.4.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Hulumi is an open-source toolkit that ships secure-by-default cloud and platform infrastructure components for Pulumi. Prior to version 1.4.0, IAM-role policy checks can be bypassed when the role trusts multiple OIDC providers. This issue has been patched in version 1.4.0.","source":"cvelist"},{"lang":"en","text":"**Affected:** `@hulumi/policies` `< 1.4.0` — **Fixed in:** `1.4.0` — **Severity:** High — **CWE-697 (Incorrect Comparison)**\n\n#### Summary\n\nAWS 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).\n\nThe 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.\n\n#### Impact\n\nA trust policy that listed the real GitHub OIDC provider ARN alongside any second provider would slip past both detectors. Consumers using `HulumiHardeningPack` or `HulumiGithubHardeningPack` could ship an IAM role with wildcard `sub:` conditions (allowing untrusted PRs from forks to assume the role) while their policy validation reported the stack as compliant. The G_OIDC_2 detector also failed to mark such roles for the cluster-admin / `AdministratorAccess` blast-radius check.\n\n#### Patches\n\nUpgrade to `@hulumi/policies@1.4.0`. The shared GitHub-OIDC-provider matcher now correctly walks lists of providers — if any element of the list is the real GitHub OIDC ARN, the role is treated as GitHub-OIDC-assumable and the wildcard / blast-radius checks apply.\n\n#### Workarounds\n\nNone reliable — upgrade is the fix.\n\n#### Resources\n\n- [PR #178](https://github.com/kerberosmansour/hulumi/pull/178) (Cluster A); regression tests at `packages/policies/tests/github/{g-oidc-2,github-oidc-issuer}.test.ts`.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Hulumi es un conjunto de herramientas de código abierto que distribuye componentes de infraestructura de nube y plataforma seguros por defecto para Pulumi. Antes de la versión 1.4.0, las comprobaciones de políticas de roles de IAM pueden ser eludidas cuando el rol confía en múltiples proveedores OIDC. Este problema ha sido parcheado en la versión 1.4.0.","source":"nvd"}],"published":"2026-06-10T13:37:08.000Z","modified":"2026-10-24T13:10:00.147Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","score":8.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-697"],"affected":[{"ranges":[{"version":"< 1.4.0","status":"affected"}],"vendor":"kerberosmansour","product":"hulumi","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.4.0"}],"ecosystem":"npm","package":"@hulumi/policies","purl":"pkg:npm/%40hulumi/policies","source":"ghsa"}],"references":[{"url":"https://github.com/kerberosmansour/hulumi/security/advisories/GHSA-g759-4pxw-6692","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/kerberosmansour/hulumi/pull/178","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/kerberosmansour/hulumi/releases/tag/v1.4.0","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/kerberosmansour/hulumi","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-07-27T17:20:21.486Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48032","url":"https://www.cve.org/CVERecord?id=CVE-2026-48032","licence":"CVE Terms of Use","modified":"2026-07-27T17:20:38.935Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g759-4pxw-6692","url":"https://github.com/advisories/GHSA-g759-4pxw-6692","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:49.425Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48032","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48032","licence":"Public domain","modified":"2026-10-24T13:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:30.027Z","epss":{"score":0.0031,"percentile":0.25675,"date":"2026-12-01T12:00:22.000Z"}}