Vulnerabilities · 2025 · Amazon
CVE-2025-2598
Amazon Aws Cloud Development Kit vulnerability
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.
Affected products
Aws Cloud Development Kit. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Amazon Aws Cloud Development Kit runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- aws.amazon.com/security/security-bulletins/AWS-2025-005/ · Vendor Advisory
- github.com/aws/aws-cdk/security/advisories/GHSA-v63m-x9r9-8gqp
- nvd.nist.gov/vuln/detail/CVE-2025-2598
- aws.amazon.com/security/security-bulletins/AWS-2025-005
- github.com/aws/aws-cdk/releases/tag/v2.178.2
- github.com/advisories/GHSA-v63m-x9r9-8gqp
- nvd.nist.gov/vuln/detail/CVE-2025-2598
- cve.org/CVERecord?id=CVE-2025-2598
More vulnerabilities in Amazon products
CVE-2026-9255CVE-2026-1386CVE-2025-62371CVE-2025-23206CVE-2025-14503CVE-2025-11618CVE-2025-11617CVE-2025-11616All 148
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.