CVE-2025-2598

CVE-2025-2598 is a medium-severity vulnerability in Amazon Aws Cloud Development Kit with a CVSS 3.x base score of 5.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-497.

Key facts

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.

Frequently asked questions

What is 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.
How severe is CVE-2025-2598?
CVE-2025-2598 has a CVSS 3.x base score of 5.5, rated medium severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
Is CVE-2025-2598 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (17th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-2598?
CVE-2025-2598 affects Amazon Aws Cloud Development Kit. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-2598?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2025-2598 have an EU (EUVD) identifier?
Yes. CVE-2025-2598 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-7239.
When was CVE-2025-2598 published?
CVE-2025-2598 was published on 2025-03-21 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Amazon Aws Cloud Development Kit

All CVEs affecting Amazon Aws Cloud Development Kit →

Other CWE-497 vulnerabilities

Browse all CWE-497 vulnerabilities →