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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| AWS | Cloud Development Kit Command Line Interface | 2.172.0 – < 2.178.2 | 2.178.2 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
SallyXVIII/Final-Proj ★ 0 · Nov 24, 2025
In theory, we exploit cve-2025-2598. Hope it works
-
Catnip-Express-Maxim/AWSTESTEXPLOIT ★ 0 · Nov 23, 2025
Testing if AWS exploit CVE-2025-2598 still works
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | aws-cdk | >= 2.172.0, < 2.178.2 | 2.178.2 | GHSA-v63m-x9r9-8gqp |
| npm | cdk | >= 2.172.0, < 2.178.2 | 2.178.2 | GHSA-v63m-x9r9-8gqp |