Live threats

All CVEs / Amazon

CVE-2025-2598Amazon Aws Cloud Development Kit

Medium 5.7

Priority
34
CVSS 4.0
5.7
EPSS
—
Auth required
Yes
Published
Mar 21, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-497
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Aws Cloud Development Kit.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm aws-cdk ≥ 2.172.0 < 2.178.2 2.178.2 npm install aws-cdk@2.178.2
npm cdk ≥ 2.172.0 < 2.178.2 2.178.2 npm install cdk@2.178.2

Per OSV / GitHub Advisories (GHSA-v63m-x9r9-8gqp). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
amazonaws_cloud_development_kit≥ 2.172.0 < 2.178.2

Official sources

References

Links published by the sources. Open them with care.