Vulnerability in Amazon Aws Cloud Development Kit
CVE-2025-2598
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.
EPSS: 0.003 (17.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- ff89ba41-3aa1-4d27-914a-91399e9639e5 (vendor-advisory, Vendor Advisory)
- ff89ba41-3aa1-4d27-914a-91399e9639e5 (Vendor Advisory, third-party-advisory)
- ff89ba41-3aa1-4d27-914a-91399e9639e5 (patch)
Frequently asked questions
- What is CVE-2025-2598?
- CVE-2025-2598 is a medium-severity vulnerability in Amazon Aws Cloud Development Kit, classified under Exposure of Sensitive System Information to an Unauthorized Control Sphere. CVSS score: 5.5/10. Published 2025-03-21.
- How severe is CVE-2025-2598?
- Medium severity. CVSS v3 base score is 5.5 out of 10.
- Is CVE-2025-2598 known to be exploited?
- 7 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.