6.3medium
Hulumi: AccountFoundation reuse paths silently downgrade GuardDuty / Security Hub posture
- Severity
- 6.3medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.45% (higher than 31% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-cj8g-prcm-mfg5
Description
Hulumi is an open-source toolkit that ships secure-by-default cloud and platform infrastructure components for Pulumi. Prior to version 1.4.0, AccountFoundation reuse paths silently downgrade GuardDuty / Security Hub posture. This issue has been patched in version 1.4.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kerberosmansour hulumi | < 1.4.0 | CVE List |
| @hulumi/baseline (npm) | before 1.4.0 | GitHub Advisory Database |
All scores
| GitHub_M | 6.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:L/SI:H/SA:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:L/SI:H/SA:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Hulumi is an open-source toolkit that ships secure-by-default cloud and platform infrastructure components for Pulumi. Prior to version 1.4.0, AccountFoundation reuse paths silently downgrade GuardDuty / Security Hub posture. This issue has been patched in version 1.4.0.
GitHub Advisory Database
Affected: @hulumi/baseline < 1.4.0 — Fixed in: 1.4.0 — Severity: Medium — CWE-693 (Protection Mechanism Failure)
Summary
AccountFoundation can either create AWS detective services (GuardDuty for threat detection, Security Hub for compliance dashboards) or reuse pre-existing ones via opt-in flags. The reuse paths just imported the existing resources and reported success — they never checked whether the existing services were actually doing their job.
- GuardDuty reuse. If the existing detector was suspended, or set to the slower 6-hour publishing cadence instead of the baseline 15-minute one, or otherwise misconfigured — Hulumi never noticed. The deployment succeeded with a misleadingly-positive
guardDutyDetectorIdoutput as if the baseline were active. - Security Hub reuse. Although the account import was read-only, Hulumi unconditionally created the CIS / NIST
StandardsSubscriptionresources with default delete behaviour. Pulumi then treated those subscriptions as its own — a laterpulumi destroyof the stack would callBatchDisableStandards, unsubscribing the account from CIS / NIST compliance monitoring even on accounts that had those subscriptions before Hulumi ever ran.
Impact
Consumers using AccountFoundation's reuse mode could:
- ship deployments that appeared to enable a detective baseline but actually weren't (case 1), or
- accidentally turn off CIS / NIST compliance monitoring on an existing account just by destroying a Hulumi stack (case 2 — no malicious intent needed; a normal stack teardown was enough).
Patches
Upgrade to @hulumi/baseline@1.4.0.
- GuardDuty reuse now asserts the imported detector is
ENABLEDwithfindingPublishingFrequency: FIFTEEN_MINUTES. Wrong posture fails the deploy at preview time. - Security Hub reuse creates the CIS / NIST
StandardsSubscriptionresources withretainOnDelete: true, so destroying a reused stack no longer unsubscribes the account.
Net-new (non-reuse) deployments are unchanged.
Workarounds
Don't reuse pre-existing detective services with AccountFoundation before upgrading. If reuse is unavoidable, manually verify detector posture out-of-band.
Resources
- PR #178 (Cluster G); regression tests in
packages/baseline/tests/guardduty-reuse-posture.test.tsandpackages/baseline/tests/securityhub-reuse-retain.test.ts.
NVD (es)
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 rutas de reutilización de AccountFoundation degradaban silenciosamente la postura de GuardDuty / Security Hub. Este problema ha sido parcheado en la versión 1.4.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-48037 changed 2026-07-27 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cj8g-prcm-mfg5 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-48037 changed 2026-10-24 | Public domain |