GHSA-4xrh-5m3m-328w: @hulumi/policies CIS 1.16 Admin Policy Bypass Vulnerability

HIGH
CWE-269
Published
Advisory Summary

GHSA-4xrh-5m3m-328w is a HIGH cis 1.16 admin policy bypass vulnerability (CWE-269: Improper Privilege Management) affecting @hulumi/policies libraries in the npm ecosystem. The issue involves cis 1.16 admin policy bypass for inline and attached iam policies. Remediation is available by upgrading affected packages to version 1.3.2.

GHSA-4xrh-5m3m-328w at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-4xrh-5m3m-328w
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-269: Improper Privilege Management
Affected Product @hulumi/policies
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-4xrh-5m3m-328w

To remediate this vulnerability, upgrade all affected @hulumi/policies dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@hulumi/policies fixed: 1.3.2
npm install @hulumi/policies@1.3.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @hulumi/policies

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-4xrh-5m3m-328w, inspect your project dependencies using npm:

npm ls @hulumi/policies

Analyze the terminal output to locate any version of @hulumi/policies in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.2), your application is affected.

Note: The npm ls @hulumi/policies command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In @hulumi/policies, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Impact: @hulumi/policies versions before 1.3.2 did not fully inspect inline and attached IAM policy evidence for the administrator-policy guardrail, so some admin-equivalent policy paths could pass policy evaluation. Patched in 1.3.2: the validator inspects the affected policy shapes and includes regression tests. Remediation: upgrade @hulumi/policies to 1.3.2 or later.

GHSA-4xrh-5m3m-328w Affected @hulumi/policies Versions

1 component(s)
Fixed Versions:
1.3.2
Product / Package Ecosystem Affected Versions Fixed Version
@hulumi/policies
npm
< 1.3.2
1.3.2

References

Frequently Asked Questions

What is GHSA-4xrh-5m3m-328w?
GHSA-4xrh-5m3m-328w is a security vulnerability in @hulumi/policies involving CIS 1.16 admin policy bypass for inline and attached IAM policies under CWE-269: Improper Privilege Management.
Which @hulumi/policies versions are affected?
Affected versions include releases prior to 1.3.2 across affected packages: @hulumi/policies.
What version fixes GHSA-4xrh-5m3m-328w?
Upgrading to 1.3.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @hulumi/policies affected?
Yes, @hulumi/policies is affected in releases prior to 1.3.2. Upgrade your dependency to 1.3.2 or later.
What CWE is associated with GHSA-4xrh-5m3m-328w?
GHSA-4xrh-5m3m-328w is classified under CWE-269: Improper Privilege Management (The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.).
How can I check npm dependencies for GHSA-4xrh-5m3m-328w?
Run the dependency tree command: 'npm ls @hulumi/policies'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-4xrh-5m3m-328w",
  "modified" : "2026-05-21T20:44:12Z",
  "published" : "2026-05-21T20:44:12Z",
  "aliases" : [ ],
  "summary" : "@hulumi/policies: CIS 1.16 admin policy bypass for inline and attached IAM policies",
  "details" : "Impact: @hulumi/policies versions before 1.3.2 did not fully inspect inline and attached IAM policy evidence for the administrator-policy guardrail, so some admin-equivalent policy paths could pass policy evaluation.\n\nPatched in 1.3.2: the validator inspects the affected policy shapes and includes regression tests.\n\nRemediation: upgrade @hulumi/policies to 1.3.2 or later.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@hulumi/policies"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.3.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/kerberosmansour/hulumi/security/advisories/GHSA-4xrh-5m3m-328w"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/kerberosmansour/hulumi"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-269" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-21T20:44:12Z",
    "nvd_published_at" : null
  }
}