BreachSpiderVerified, not vibes

CVE-2025-23206 in Amazon Aws Cloud Development Kit

High 8.1

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 curre...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.1
CVSS v41.8
EPSS0.5%
EPSS percentile39th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Amazon Aws Cloud Development Kit < 2.177.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-23206
BreachSpider IDBS-2025-GLOBAL-243109-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Published2025-01-17
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-347: CWE-347

Related attack patterns (CAPEC)

CAPEC-463 Padding Oracle Crypto Attack via CWE-347

CAPEC-475 Signature Spoofing by Improper Validation via CWE-347

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2025-23206 affects the AWS Cloud Development Kit (AWS CDK) due to the `tls.connect` method setting `rejectUnauthorized: false` in the IAM OIDC custom resource provider package, allowing potential man-in-the-middle attacks.

An attacker could intercept the CA Thumbprints download process during the custom resource workflow, potentially providing malicious certificates that could be used to impersonate AWS services.

Questions

What is CVE-2025-23206?

CVE-2025-23206 affects the AWS Cloud Development Kit (AWS CDK) due to the `tls.connect` method setting `rejectUnauthorized: false` in the IAM OIDC custom resource provider package, allowing potential man-in-the-middle attacks.

What is the CVSS score for CVE-2025-23206?

CVE-2025-23206 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N. EPSS: 0.5%.

Is CVE-2025-23206 actively exploited?

No confirmed active exploitation of CVE-2025-23206 as of 2026-09-25.

How do I remediate CVE-2025-23206?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2025-23206?

CVE-2025-23206 affects Amazon Aws Cloud Development Kit.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Amazon","product":"Aws Cloud Development Kit","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.