Vulnerability in Amazon AWS Cloud Development Kit

CVE-2025-2598

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.

EPSS exploit prediction

EPSS 0.003, 24.2th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

3 public repositories with exploit or proof-of-concept code for this CVE:

Also mentioned in 5 other repositories (fkie-cad/nvd-json-data-feeds, nomi-sec/PoC-in-GitHub, SpongeBob-369/CVE-2023-2598, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References