{"id":"CVE-2025-2598","url":"https://www.cyber-defence.io/tools/cve/CVE-2025-2598","generatedAt":"2026-10-28T02:13:43.964Z","title":"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.","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.","published":"2025-03-21T15:15:43.000Z","lastModified":"2026-06-17T09:07:16.000Z","status":"Modified","sourceIdentifier":"ff89ba41-3aa1-4d27-914a-91399e9639e5","cvss":{"version":"4.0","score":5.7,"severity":"MEDIUM","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M"},"cwe":["CWE-497"],"affected":["amazon/aws cloud development kit"],"epss":{"score":0.0031,"percentile":0.2364,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.31%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://aws.amazon.com/security/security-bulletins/AWS-2025-005/","tags":["Vendor Advisory"],"source":"ff89ba41-3aa1-4d27-914a-91399e9639e5"},{"url":"https://github.com/aws/aws-cdk/releases/tag/v2.178.2","source":"ff89ba41-3aa1-4d27-914a-91399e9639e5"},{"url":"https://github.com/aws/aws-cdk/security/advisories/GHSA-v63m-x9r9-8gqp","tags":["Vendor Advisory"],"source":"ff89ba41-3aa1-4d27-914a-91399e9639e5"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-2598","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}