Skip to main content
← All vulnerabilities
CVE-2025-2598GHSA-V63M-X9R9-8GQP

AWS CDK CLI prints AWS credentials retrieved by custom credential plugins

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.178.2
2 proofs of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • AWS Cloud Development Kit Command Line Interface

    From 2.172.0 · fixed in 2.178.2

  • aws-cdknpm

    From 2.172.0 · fixed in 2.178.2

  • cdknpm

    From 2.172.0 · fixed in 2.178.2

References 5

aws.amazon.com

GitHub · aws/aws-cdk

GitHub · Catnip-Express-Maxim/AWSTESTEXPLOIT

GitHub · SallyXVIII/Final-Proj