CVE-2025-2598
Last modified
CVE-2025-2598 is a medium-severity vulnerability rated 5.7/10 on the CVSS scale. 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 estimates a 0.26% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Amazon | Aws Cloud Development Kit | >= 2.172.0, < 2.178.2 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-2598?
How severe is CVE-2025-2598?
How do I fix CVE-2025-2598?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-25967Acora CMS version 10.1.1 is vulnerable to Cross-Site Request…8.8
- CVE-2025-25968DDSN Interactive cm3 Acora CMS version 10.1.1 contains an im…6
- CVE-2025-2597Reflected Cross-Site Scripting (XSS) in ITIUM 6050 version 5…6.1
- CVE-2025-25973A stored Cross Site Scripting vulnerability in the "related …6.5
- CVE-2025-25975An issue in parse-git-config v.3.0.0 allows an attacker to o…7.5
- CVE-2025-25977An issue in canvg v.4.0.2 allows an attacker to execute arbi…9.8
- CVE-2025-25983An issue in Macro-video Technologies Co.,Ltd V380 Pro androi…3.4
- CVE-2025-25984An issue in Macro-video Technologies Co.,Ltd V380E6_C1 IP ca…6.8
- CVE-2025-25985An issue in Macro-video Technologies Co.,Ltd V380E6_C1 IP ca…2.6
- CVE-2025-25988Cross Site Scripting vulnerability in hooskcms v.1.8 allows …4.8
- CVE-2025-25990Cross Site Scripting vulnerability in hooskcms v.1.7.1 allow…6.1
- CVE-2025-25991SQL Injection vulnerability in hooskcms v.1.7.1 allows a rem…5.1
Are you affected by CVE-2025-2598?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
