cve.bz

CVE-2025-2598

5.7 mediumEPSS 0.3%

Medium (5.7) in amazon aws cloud development kit. EPSS 0.3% chance of exploitation in the next 30 days. Fixed in aws-cdk 2.178.2.

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.

Severity

CVSS 4.0

5.7 medium
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

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.3% chance of exploitation in the next 30 days; higher than 23% of CVEs (scores of 2026-10-31)
CWE
CWE-497
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v63m-x9r9-8gqpnpmaws-cdk>=2.172.0 <2.178.22.178.2
GHSA-v63m-x9r9-8gqpnpmcdk>=2.172.0 <2.178.22.178.2

References

Check your stackJSON