RewindexCVEsAmazon Web Services
CVE-2025-2598: AWS CDK CLI prints AWS credentials retrieved by custom credential plugins
Description
When the AWS Cloud Development Kit (AWS CDK) Command Line Interface (AWS CDK CLI) is used with a credential plugin which returns an expiration property with the retrieved AWS credentials, the credentials are printed to the console output. To mitigate this issue, users should upgrade to version 2.178.2 or later and ensure any forked or derivative code is patched to incorporate the new fixes.
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N · CWE-497
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
AWS: Cloud Development Kit Command Line Interface
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- aws.amazon.com/security/security-bulletins/AWS-2025-005/ (opens in new tab)
- github.com/aws/aws-cdk/releases/tag/v2.178.2 (opens in new tab)
- github.com/aws/aws-cdk/security/advisories/GHSA-v63m-x9r9-8gqp (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)