CVE-2026-18245: Improper control of code generation in Amazon @aws-amplify/codegen-ui-react before 2.20.6 might allow a remote
52
This month
CRITICAL 9.0WATCHLISTUPGRADE
CVE-2026-18245 is a critical-severity flaw (CVSS 9.0) affecting amplify codegen ui. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 upg
Why this priority
- Critical severity
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.0 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 1.0% (top 38%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2026-07-30 |
| Last modified | 2026-10-23 |
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
amazon amplify codegen ui UPGRADE
Affected: < 2.20.6
Fixed in: 2.20.6
Safe to downgrade to: no unaffected older release
1. Check installed version
npm ls amplify-codegen-ui
2. UPGRADE to 2.20.6
npm install amplify-codegen-ui@">=2.20.6"
Exact fixes by distribution
Fedora 46 · pspp · FIXED · 2.1.3-2.fc46 · FEDORA-2026-0d6444911b · source
sudo dnf upgrade --advisory=FEDORA-2026-0d6444911b
Fedora ELN · barman · FIXED · 3.20.1-3.eln159 · FEDORA-2026-45ecf042c2 · source
sudo dnf upgrade --advisory=FEDORA-2026-45ecf042c2
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.