AWS CDK CodeBuild S3 Log Encryption Boolean Inversion
What to do
Partial vendor fix. Follow the primary source's mitigation guidance and check back for a fix.
This page has no inventory attached, so it cannot say whether you are affected. A vendor fix is not proof that your deployment is fixed.
Affected packages
Go github.com/aws/aws-cdk-go/awscdk/v2
- Affected
- < 2.253.0
- Fixed in
- 2.253.0
npm aws-cdk-lib
- Affected
- < 2.253.0
- Fixed in
- 2.253.0
NuGet amazon.cdk.lib
- Affected
- < 2.253.0
- Fixed in
- 2.253.0
PyPI aws-cdk-lib
- Affected
- < 2.253.0
- Fixed in
- 2.253.0
NuGet amazon.cdk.aws.codebuild
- Affected
- >= 1.75.0, <= 1.204.0
- Fixed in
- no fixed version recorded
Go github.com/aws/aws-cdk-go/awscdk
- Affected
- >= 1.175.0-devpreview, <= 1.204.0-devpreview
- Fixed in
- no fixed version recorded
PyPI aws-cdk-aws-codebuild
- Affected
- >= 1.75.0, <= 1.204.0
- Fixed in
- no fixed version recorded
Maven software.amazon.awscdk:aws-cdk-lib
- Affected
- < 2.253.0
- Fixed in
- 2.253.0
npm @aws-cdk/aws-codebuild
- Affected
- >= 1.75.0, <= 1.204.0
- Fixed in
- no fixed version recorded
Maven software.amazon.awscdk:codebuild
- Affected
- >= 1.75.0, <= 1.204.0
- Fixed in
- no fixed version recorded
Sources
- Open Source Vulnerabilities (OSV.dev), including the GitHub Advisory Database
OSV record GO-2026-6093 lists affected ranges: Go github.com/aws/aws-cdk-go/awscdk >=1.175.0-devpreview; Go github.com/aws/aws-cdk-go/awscdk/v2 >=0 <2.253.0 (fixed)
VerifiedObserved Structured OSV record; not marked as GitHub-reviewed.
- Open Source Vulnerabilities (OSV.dev), including the GitHub Advisory Database
OSV record GHSA-464c-974j-9xm6 lists affected ranges: npm aws-cdk-lib >=0 =0 =0 =0 =1.75.0 =1.75.0 =1.75.0 =1.175.0-devpreview <=1.204.0-devpreview;…
VerifiedObserved Structured OSV record; GitHub-reviewed advisory.
- Open Source Vulnerabilities (OSV.dev), including the GitHub Advisory Database
Verified OSV alias repair: npm:aws-cdk-lib [{"fixed": "2.253.0", "introduced": "0"}]
VerifiedObserved Fresh OSV archive re-fetch; exact primary-source package ranges; no publication date changes
- Open Source Vulnerabilities (OSV.dev), including the GitHub Advisory Database
Verified OSV alias repair: NuGet:amazon.cdk.lib [{"fixed": "2.253.0", "introduced": "0"}]
VerifiedObserved Fresh OSV archive re-fetch; exact primary-source package ranges; no publication date changes
- Open Source Vulnerabilities (OSV.dev), including the GitHub Advisory Database
Verified OSV alias repair: Maven:software.amazon.awscdk:aws-cdk-lib [{"fixed": "2.253.0", "introduced": "0"}]
VerifiedObserved Fresh OSV archive re-fetch; exact primary-source package ranges; no publication date changes
- Open Source Vulnerabilities (OSV.dev), including the GitHub Advisory Database
Verified OSV alias repair: npm:@aws-cdk/aws-codebuild [{"introduced": "1.75.0", "last_affected": "1.204.0"}]
VerifiedObserved Fresh OSV archive re-fetch; exact primary-source package ranges; no publication date changes
- Open Source Vulnerabilities (OSV.dev), including the GitHub Advisory Database
Verified OSV alias repair: NuGet:amazon.cdk.aws.codebuild [{"introduced": "1.75.0", "last_affected": "1.204.0"}]
VerifiedObserved Fresh OSV archive re-fetch; exact primary-source package ranges; no publication date changes
- Open Source Vulnerabilities (OSV.dev), including the GitHub Advisory Database
Verified OSV alias repair: Maven:software.amazon.awscdk:codebuild [{"introduced": "1.75.0", "last_affected": "1.204.0"}]
VerifiedObserved Fresh OSV archive re-fetch; exact primary-source package ranges; no publication date changes
- Open Source Vulnerabilities (OSV.dev), including the GitHub Advisory Database
Verified OSV alias repair: PyPI:aws-cdk-lib [{"fixed": "2.253.0", "introduced": "0"}]
VerifiedObserved Fresh OSV archive re-fetch; exact primary-source package ranges; no publication date changes
- Open Source Vulnerabilities (OSV.dev), including the GitHub Advisory Database
Verified OSV alias repair: PyPI:aws-cdk-aws-codebuild [{"introduced": "1.75.0", "last_affected": "1.204.0"}]
VerifiedObserved Fresh OSV archive re-fetch; exact primary-source package ranges; no publication date changes
- GitHub Advisory Database and maintainer security advisories on GitHub
GitHub-reviewed advisory GHSA-464c-974j-9xm6 lists affected ranges: npm aws-cdk-lib >=0 =0 =0 =0 =1.75.0 =1.75.0 =1.75.0 =1.175.0-devpreview =0…
VerifiedObserved Structured GitHub Advisory Database record (type=reviewed) from the GitHub REST API.
Severity and exploitation
- Exploitation
- No confirmed exploitation recorded. Patch Next marks exploitation only from CISA KEV.
- CVSS
- 3.3 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
- EPSS
- No dated EPSS signal available.
Source description
As published by the source; long descriptions are shortened.
Summary The AWS Cloud Development Kit (AWS CDK) is an open-source software development framework for defining cloud infrastructure in code and provisioning it through AWS CloudFormation. We identified an issue in which explicitly setting encrypted: true on the S3LoggingOptions property of an AWS CodeBuild project construct produces the opposite of the intended behavior, disabling encryption on CodeBuild build logs stored in S3. Impact The S3LoggingOptions.encrypted property in the aws-codebuild module uses positive polarity (true = encryption ON), but is mapped directly to the CloudFormation S3LogsConfig.EncryptionDisabled field, which uses negative polarity (true = encryption OFF). Because the value is not negated before being passed to CloudFormation, any explicit assignment produces inverted behavior: Setting encrypted: true (intending encryption ON) causes CloudFormation to receive EncryptionDisabled: true, disabling encryption. Setting encrypted: false (intending encryption OFF)…
Dates and revisions
- Published by the source
- Last modified by the source
- Source last checked
- Revision 4 · amended ·
Amended from ghsa record GHSA-464c-974j-9xm6
- Revision 3 · amended ·
Amended from osv record GHSA-464c-974j-9xm6
- Revision 2 · amended ·
Restored verified OSV alias package matches; original publication dates preserved
- Revision 1 · created ·
Published from osv record GO-2026-6093
Agent brief
Preview the exact text before you copy it. Commands are read-only suggestions; review them before running anything.
# Patch Next advisory brief: GHSA-464c-974j-9xm6
Advisory: AWS CDK CodeBuild S3 Log Encryption Boolean Inversion
IDs: GHSA-464c-974j-9xm6
Record: https://patchnext.com/advisories/go-2026-6093 (revision 4, source checked 26 Oct 2026, 12:58 UTC)
Inventory: none attached. This brief comes from a public page and does not say whether any deployment is affected.
Severity: Low (CVSS 3.3)
Exploitation: no confirmed exploitation recorded. Patch Next confirms exploitation only from CISA KEV.
Vendor response: Partial vendor fix; fixed versions by package: github.com/aws/aws-cdk-go/awscdk/v2 2.253.0; aws-cdk-lib 2.253.0; amazon.cdk.lib 2.253.0; aws-cdk-lib 2.253.0; software.amazon.awscdk:aws-cdk-lib 2.253.0. A vendor fix does not mean a deployment is fixed.
## Affected components
- Go github.com/aws/aws-cdk-go/awscdk/v2: affected < 2.253.0; fixed in 2.253.0
- npm aws-cdk-lib: affected < 2.253.0; fixed in 2.253.0
- NuGet amazon.cdk.lib: affected < 2.253.0; fixed in 2.253.0
- PyPI aws-cdk-lib: affected < 2.253.0; fixed in 2.253.0
- NuGet amazon.cdk.aws.codebuild: affected >= 1.75.0, <= 1.204.0
- Go github.com/aws/aws-cdk-go/awscdk: affected >= 1.175.0-devpreview, <= 1.204.0-devpreview
- PyPI aws-cdk-aws-codebuild: affected >= 1.75.0, <= 1.204.0
- Maven software.amazon.awscdk:aws-cdk-lib: affected < 2.253.0; fixed in 2.253.0
- npm @aws-cdk/aws-codebuild: affected >= 1.75.0, <= 1.204.0
- Maven software.amazon.awscdk:codebuild: affected >= 1.75.0, <= 1.204.0
## Suggested inspection (read-only)
- Go github.com/aws/aws-cdk-go/awscdk/v2: check the installed version with your package manager.
- `npm ls aws-cdk-lib --all`: lists every installed copy and version, including transitive ones. Run in the project root after `npm ci`.
- NuGet amazon.cdk.lib: check the installed version with your package manager.
- `python -m pip show aws-cdk-lib`: prints the installed version. Run with the environment that serves production active.
- NuGet amazon.cdk.aws.codebuild: check the installed version with your package manager.
- Go github.com/aws/aws-cdk-go/awscdk: check the installed version with your package manager.
- `python -m pip show aws-cdk-aws-codebuild`: prints the installed version. Run with the environment that serves production active.
- Maven software.amazon.awscdk:aws-cdk-lib: check the installed version with your package manager.
- `npm ls @aws-cdk/aws-codebuild --all`: lists every installed copy and version, including transitive ones. Run in the project root after `npm ci`.
- Maven software.amazon.awscdk:codebuild: check the installed version with your package manager.
## Supported action
No complete vendor fix is recorded. Follow the primary source's mitigation guidance and check this record again before closing anything.
## Required regression checks
- Run the test suite and a production build.
- Exercise the features that depend on github.com/aws/aws-cdk-go/awscdk/v2, aws-cdk-lib, amazon.cdk.lib, amazon.cdk.aws.codebuild, github.com/aws/aws-cdk-go/awscdk, aws-cdk-aws-codebuild, software.amazon.awscdk:aws-cdk-lib, @aws-cdk/aws-codebuild, software.amazon.awscdk:codebuild.
- Repeat the inspection and confirm that only fixed versions remain installed.
## Rollback considerations
- Keep the previous lockfile and deployment artifact. Rolling back reinstates the vulnerable version, so apply any documented mitigation while you fix forward.
## Unresolved questions
- Which deployments run an affected version?
- Exploitation status can change. Check again before lowering the priority.
- Mark the work resolved only after the fixed version is verified in production.
## Sources
- Verified: https://osv.dev/vulnerability/GO-2026-6093 (OSV record GO-2026-6093 lists affected ranges: Go github.com/aws/aws-cdk-go/awscdk >=1.175.0-devpreview; Go github.com/aws/aws-cdk-go/awscdk/v2 >=0 <2.253.0 (fixed))
- Verified: https://osv.dev/vulnerability/GHSA-464c-974j-9xm6 (OSV record GHSA-464c-974j-9xm6 lists affected ranges: npm aws-cdk-lib >=0 =0 =0 =0 =1.75.0 =1.75.0 =1.75.0 =1.175.0-devpreview <=1.204.0-devpreview;…)
- Verified: https://osv.dev/vulnerability/GHSA-464c-974j-9xm6 (Verified OSV alias repair: npm:aws-cdk-lib [{"fixed": "2.253.0", "introduced": "0"}])
- Verified: https://osv.dev/vulnerability/GHSA-464c-974j-9xm6 (Verified OSV alias repair: NuGet:amazon.cdk.lib [{"fixed": "2.253.0", "introduced": "0"}])
- Verified: https://osv.dev/vulnerability/GHSA-464c-974j-9xm6 (Verified OSV alias repair: Maven:software.amazon.awscdk:aws-cdk-lib [{"fixed": "2.253.0", "introduced": "0"}])
- Verified: https://osv.dev/vulnerability/GHSA-464c-974j-9xm6 (Verified OSV alias repair: npm:@aws-cdk/aws-codebuild [{"introduced": "1.75.0", "last_affected": "1.204.0"}])
- Verified: https://osv.dev/vulnerability/GHSA-464c-974j-9xm6 (Verified OSV alias repair: NuGet:amazon.cdk.aws.codebuild [{"introduced": "1.75.0", "last_affected": "1.204.0"}])
- Verified: https://osv.dev/vulnerability/GHSA-464c-974j-9xm6 (Verified OSV alias repair: Maven:software.amazon.awscdk:codebuild [{"introduced": "1.75.0", "last_affected": "1.204.0"}])
- Verified: https://osv.dev/vulnerability/GHSA-464c-974j-9xm6 (Verified OSV alias repair: PyPI:aws-cdk-lib [{"fixed": "2.253.0", "introduced": "0"}])
- Verified: https://osv.dev/vulnerability/GHSA-464c-974j-9xm6 (Verified OSV alias repair: PyPI:aws-cdk-aws-codebuild [{"introduced": "1.75.0", "last_affected": "1.204.0"}])
- Verified: https://github.com/advisories/GHSA-464c-974j-9xm6 (GitHub-reviewed advisory GHSA-464c-974j-9xm6 lists affected ranges: npm aws-cdk-lib >=0 =0 =0 =0 =1.75.0 =1.75.0 =1.75.0 =1.175.0-devpreview =0…)
Commands are suggestions: review each one before running it.Loading voting…