Skip to main content
VulnerabilityPublished Updated

CVE-2025-2598: AWS CDK CLI prints AWS credentials retrieved by custom credential plugins

Affects aws-cdkSource GCVE Database

0
Compare
Authoritative record:CVE-2025-2598· Medium 5.7

Not known to be exploited · CVSS 5.7 Medium : upgrade to 2.178.2 when convenient.

Data as of 30 Oct 2026, 07:30 UTC

CVSS 4.0 base score
5.7Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.178.2
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade aws-cdk to 2.178.2.

Affected software

ProductAffectedFixed in
Homebrewaws-cdkpkg:brew/aws-cdkOther threatsAffected
  • >=2.172.0 <2.178.2
Fixed in
  • 2.178.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…