{
  "id": "CVE-2026-18245",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-18245",
  "published_at": "2026-07-30T18:13:07.047Z",
  "title": "Incomplete fix for CVE-2025-4318 code injection in Amazon @aws-amplify/codegen-ui-react",
  "vendor": "AWS",
  "product": "Amplify Codegen UI",
  "cvss": {
    "score": 9,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.\n\n\n\nTo remediate this issue, users should upgrade to version 2.20.6",
  "cwe": "CWE-94",
  "cpes": [
    "cpe:2.3:a:amazon:amplify_codegen_ui:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 9,
    "nvd": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "AWS",
        "product": "Amplify Codegen UI",
        "ranges": [
          "\u003c 2.20.6"
        ],
        "fixed_in": [
          "2.20.6"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Amplify Codegen UI to 2.20.6 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/aws-amplify/amplify-codegen-ui/releases/tag/v2.20.6"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://aws.amazon.com/security/security-bulletins/2026-066-aws/"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/aws-amplify/amplify-codegen-ui/security/advisories/GHSA-74xx-rjgf-m69j"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
