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.
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.003 (17.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 18th percentile — 17.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
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.