{"id":"CVE-2026-119085","published":"2026-11-02T18:18:44.283","lastModified":"2026-11-02T19:34:23.993","description":"Improper neutralization of special elements used in a template engine in the publishing component of Amazon Virtual Engineering Workbench (VEW) could allow a remote authenticated third party to run arbitrary code with the permissions of the publishing Lambda's IAM role. This could allow access to data and resources across all tenant projects. The code is reachable through a crafted CloudFormation template body containing template engine directives submitted through the product versioning API.\n\n\n\nTo remediate this issue, users should redeploy from the latest version of awslabs/virtual-engineering-workbench.","cvssScore":8.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-1336"],"vendors":[],"products":[],"references":[{"url":"https://aws.amazon.com/security/security-bulletins/2026-162-aws/","tags":[]},{"url":"https://github.com/awslabs/virtual-engineering-workbench/commit/c146486cec41f5b04fae57e9ce1a7fb40e695615","tags":[]}],"exploitRefs":[{"url":"https://github.com/awslabs/virtual-engineering-workbench/commit/c146486cec41f5b04fae57e9ce1a7fb40e695615","tags":[]}],"hasPoc":true,"ai":{"summary":"A template injection flaw (CWE-1336) in Amazon VEW's publishing component allows authenticated attackers to inject and execute arbitrary code via crafted CloudFormation templates, gaining the Lambda's IAM role permissions and compromising all tenant data.","exploitability":"Exploitation requires valid authentication and access to the versioning API, but is otherwise straightforward due to lack of input sanitization in the template engine.","blast_radius":"An attacker can fully compromise any tenant’s data and infrastructure by leveraging the compromised Lambda’s IAM role across all projects.","remediation":"Redeploy Amazon VEW from the latest version of awslabs/virtual-engineering-workbench.","detection":"Monitor CloudFormation template submission logs for unexpected or non-standard template directives (e.g., Fn::Sub, !Ref, or custom macros) in user-provided template bodies; alert on repeated or anomalous versioning API calls from low-privilege accounts.","tags":["template-injection","rce","iam-escalation","cloudformation","multi-tenant-compromise"],"model":"garnet-coder","analyzedAt":"2026-11-03T09:59:01.335Z"}}