CVE-2025-2598 - CVE House
Back to Database
Status published Medium CVE-2025-2598

AWS CDK CLI prints AWS credentials retrieved by custom credential plugins

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-2598

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Cloud Development Kit Command Line Interface
Vulnerable Versions:
2.172.0

Timeline

Official Publish: March 21st, 2025
Last Modified: October 14th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Weaknesses (CWE)