RCE in Amazon Amplify Codegen Ui
CVE-2026-18245
Improper control of code generation in Amazon @aws-amplify/codegen-ui-react before 2.20.6 might allow a remote authenticated user to execute arbitrary code in end-user browsers, developer machines, CI/CD environments, and server-side rendering contexts via crafted Studio component or theme schema values due to insufficient coverage and effectiveness of the input validation introduced for CVE-2025-4318.
To remediate this issue, users should upgrade to version 2.20.6
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.010, 63.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Amazon Amplify Codegen Ui
- AWS Amplify Codegen Ui — versions 0
Weakness classification (CWE)
References
- github.com/aws-amplify/amplify-codegen-ui/releases/tag/v2.20.6 (Release Notes, patch)
- aws.amazon.com/security/security-bulletins/2026-066-aws/ (vendor-advisory, Vendor Advisory)
- github.com/aws-amplify/amplify-codegen-ui/security/advisories/GHSA-74xx-rjgf-m6… (Patch, Vendor Advisory, third-party-advisory)