Home / aws / aws-cdk / CVE-2025-23206
CVE-2025-23206: is it exploited, and which versions of aws-cdk are affected and fixed?
CVE-2025-23206 is a cryptographic signature not verified vulnerability in aws-cdk. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: aws-cdk-lib before 2.177.0 (GitHub advisory GHSA-v4mq-x674-ff73). Fixed in 2.177.0 (GitHub advisory GHSA-v4mq-x674-ff73). Severity: Low (1.8, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:23 UTC.
What is CVE-2025-23206?
IAM OIDC custom resource allows connection to unauthorized OIDC provider in aws-cdk
The AWS Cloud Development Kit (AWS CDK) is an open-source software development framework to define cloud infrastructure in code and provision it through AWS CloudFormation. Users who use IAM OIDC custom resource provider package will download CA Thumbprints as part of the custom resource workflow. However, the current `tls.connect` method will always set `rejectUnauthorized: false` which is a potential security concern. CDK should follow the best practice and set `rejectUnauthorized: true`. However, this could be a breaking change for existing CDK applications and we should fix this with a feature flag. Note that this is marked as low severity Security advisory because the issuer url is provided by CDK users who define the CDK application. If they insist on connecting to a unauthorized OIDC provider, CDK should not disallow this. Additionally, the code block is run in a Lambda environment which mitigate the MITM attack. The patch is in progress. To mitigate, upgrade to CDK v2.177.0 (Expected release date 2025-02-22). Once upgraded, users should make sure the feature flag '@aws-cdk/aws-iam:oidcRejectUnauthorizedConnections' is set to true in `cdk.context.json` or `cdk.json`. There are no known workarounds for this vulnerability.
From the CVE record by GitHub_M, last updated January 23, 2026, 15:12 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| aws | aws-cdk | < 2.177.0 |
As the CVE record by GitHub_M states it, last updated January 23, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | aws-cdk-lib | < 2.177.0 | 2.177.0 | GHSA-v4mq-x674-ff73 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 29, 2025. Summary: AWS Cloud Development Kit (AWS CDK) IAM OIDC custom resource allows connection to unauthorized OIDC provider.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| amazon | aws cloud development kit | before 2.177.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 08:52 UTC.
How severe is CVE-2025-23206?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 1.8 | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N | GitHub_M |
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-23206 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, January 17, 2025)
- EPSS
- 0.33% probability of exploitation activity in the next 30 days, percentile 28.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-347 Improper Verification of Cryptographic Signature
Where are the vendor advisories and references?
- https://github.com/aws/aws-cdk/security/advisories/GHSA-v4mq-x674-ff73 x_refsource_CONFIRM
- https://github.com/aws/aws-cdk/issues/32920 x_refsource_MISC
- https://github.com/aws/aws-cdk/pull/32921 x_refsource_MISC
- https://github.com/aws/aws-cdk/commit/3e4f3773bfa48b75bf0adc7d53d46bbec7714a9e#diff-38a03353f201fd2e520df67fb43f9f000257bffd6e9acaa5569cce7005a77560 x_refsource_MISC
- https://docs.aws.amazon.com/cdk/v2/guide/featureflags.html x_refsource_MISC
- https://github.com/aws/aws-cdk/blob/d16482fc8a4a3e1f62751f481b770c09034df7d2/packages/%40aws-cdk/custom-resource-handlers/lib/aws-iam/oidc-handler/external.ts#L34 x_refsource_MISC
- https://github.com/aws/aws-cdk/releases/tag/v2.177.0 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 13, 2025
- Published
- January 17, 2025, 20:34 UTC
- CVE record updated
- January 23, 2026, 15:12 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 08:52 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:23 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect aws-cdk?
- Jul 1, 2026CVE-2026-13760 AWS CDK: OS command injection
- Aug 27, 2024CVE-2024-45037 aws-cdk: incorrect authorization
- Jun 23, 2023CVE-2023-35165 aws-cdk: incorrect authorization
Questions about CVE-2025-23206
Is CVE-2025-23206 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.33% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of aws-cdk are affected by CVE-2025-23206?
aws-cdk-lib before 2.177.0, per the GitHub advisory GHSA-v4mq-x674-ff73. The tables above give every range the sources list.
Which version fixes CVE-2025-23206?
2.177.0, per the GitHub advisory GHSA-v4mq-x674-ff73. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-23206?
Low (1.8, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-23206?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.