{"id":"CVE-2026-48035","aliases":["CVE-2026-48035","GHSA-2mxr-p26x-mj73"],"related":[],"kind":"vulnerability","state":"published","title":"Hulumi: AccountFoundation audit-delivery S3 bucket could be silently weakened","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, consumers using AccountFoundation could ship an AWS account whose CloudTrail / Config audit logs were deletable by any S3-delete-capable principal — while believing the startup-hardened tier guaranteed tamper-resistance. Sandbox-tier deployments had no audit immutability at all (defects 1 and 3 compounded). 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, consumers using AccountFoundation could ship an AWS account whose CloudTrail / Config audit logs were deletable by any S3-delete-capable principal — while believing the startup-hardened tier guaranteed tamper-resistance. Sandbox-tier deployments had no audit immutability at all (defects 1 and 3 compounded). This issue has been patched in version 1.4.0.","source":"cvelist"},{"lang":"en","text":"**Affected:** `@hulumi/baseline` `< 1.4.0` — **Fixed in:** `1.4.0` — **Severity:** High — **CWE-1059 (Insufficient Technical Documentation / Behavioral Inconsistency)**\n\n#### Summary\n\nThe S3 bucket that `AccountFoundation` creates to receive CloudTrail and AWS Config audit logs is meant to be tamper-resistant — if someone with delete access can erase from it, the forensic trail is gone. There were three independent ways the protection could be silently weakened:\n\n1. **No Write-Once-Read-Many on the startup-hardened audit bucket.** The startup-hardened tier hard-coded `objectLock: false` on the audit bucket. (The reason was real — bucket-wide Object Lock blocks an AWS Config write-then-delete probe — but the fix was a sledgehammer that disabled WORM for all objects, not just the probe key.)\n2. **`forceDestroy` was forwarded to the audit bucket.** Nothing prevented a downstream stack from setting `logBucketForceDestroy: true`, which made `pulumi destroy` purge every audit-log object on teardown.\n3. **Sandbox tier dropped everything.** Sandbox-tier `AccountFoundation` created its audit bucket with `tier: \"sandbox\"`, which skipped Object Lock, server access logging, AND the CloudTrail-Lake `EventDataStore` (the independent immutable mirror) — leaving sandbox accounts with no audit immutability at all.\n\n#### Impact\n\nConsumers using `AccountFoundation` could ship an AWS account whose CloudTrail / Config audit logs were deletable by any S3-delete-capable principal — while believing the startup-hardened tier guaranteed tamper-resistance. Sandbox-tier deployments had no audit immutability at all (defects 1 and 3 compounded).\n\n#### Patches\n\nUpgrade to `@hulumi/baseline@1.4.0`. A single invariant in `SecureBucket` now fires whenever the bucket actually backs CloudTrail/Config delivery (i.e. `awsServiceLogDelivery.cloudTrail === true || .config === true`):\n\n- refuses `forceDestroy: true` on the startup-hardened tier;\n- emits the CloudTrail-Lake `EventDataStore` regardless of parent tier (so sandbox accounts regain immutable audit capture);\n- adds a deny-`s3:DeleteObject*` bucket-policy statement scoped to the CloudTrail and Config history/snapshot prefixes (a retention floor on the audit objects). The deny excludes the AWS Config `ConfigWritabilityCheckFile` probe key so Config's write-then-delete still works, which is why bucket-wide Object Lock is intentionally NOT re-enabled.\n\n#### Workarounds\n\nReplicating audit logs out-of-account to an Object-Locked archive bucket partially mitigates while you upgrade.\n\n#### Resources\n\n- [PR #178](https://github.com/kerberosmansour/hulumi/pull/178) (Cluster C); see CHANGELOG `### Migration` for the `forceDestroy` behaviour change.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Hulumi es un conjunto de herramientas de código abierto que entrega componentes de infraestructura de nube y plataforma seguros por defecto para Pulumi. Antes de la versión 1.4.0, los consumidores que utilizaban AccountFoundation podían entregar una cuenta de AWS cuyos registros de auditoría de CloudTrail / Config eran eliminables por cualquier principal con capacidad de eliminación de S3 - mientras creían que el nivel startup-hardened garantizaba la resistencia a la manipulación. Las implementaciones de nivel sandbox no tenían ninguna inmutabilidad de auditoría (los defectos 1 y 3 se agravaron). Este problema ha sido parcheado en la versión 1.4.0.","source":"nvd"}],"published":"2026-06-10T13:38:37.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:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-1059"],"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/baseline","purl":"pkg:npm/%40hulumi/baseline","source":"ghsa"}],"references":[{"url":"https://github.com/kerberosmansour/hulumi/security/advisories/GHSA-2mxr-p26x-mj73","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":"no","technicalImpact":"partial","date":"2026-07-27T17:26:10.575Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48035","url":"https://www.cve.org/CVERecord?id=CVE-2026-48035","licence":"CVE Terms of Use","modified":"2026-07-27T20:23:56.410Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2mxr-p26x-mj73","url":"https://github.com/advisories/GHSA-2mxr-p26x-mj73","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:07.460Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48035","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48035","licence":"Public domain","modified":"2026-10-24T13:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:30.028Z","epss":{"score":0.0026,"percentile":0.18877,"date":"2026-12-01T12:00:22.000Z"}}