CVE-2026-7191: Sandbox bypass in QnABot on AWS allows admin code execution
AWS disclosed CVE-2026-7191 affecting QnABot on AWS versions <=7.2.4. Improper use of the static-eval npm package allowed an authenticated Admin to inject a crafted conditional chaining expression via the Content Designer interface, bypassing the expression sandbox through JavaScript prototype manipulation and executing arbitrary code in the fulfillment Lambda context. This could expose Lambda environment variables, OpenSearch indices, S3 objects, and DynamoDB tables not normally accessible via the admin interface.
SECURITY · AI · VULNERABILITY · SECURITY ADVISORY
PUBLISHED OCT 14, 2026 16:45 UTC
WHAT CHANGED
QnABot on AWS 7.3.0 removes the static-eval dependency and replaces it with a limited, custom expression evaluator that addresses the sandbox bypass. There is no workaround; affected deployments must upgrade from version 7.2.4 or earlier to 7.3.0 or later, and any forked or derivative code should be patched with the new fix.
WHY IT MATTERS
An actor with Admin access to the Content Designer could escalate to arbitrary code execution within the fulfillment Lambda, gaining unauthorized access to backend resources including environment variables, OpenSearch data, S3 objects, and DynamoDB tables that are not exposed through normal administrative interfaces, representing a significant privilege escalation and data exposure risk.
WHO IS AFFECTED
- ROLES
- Authenticated Admin user of QnABot Content Designer
- PRODUCTS
- QnABot on AWS
- FEATURES
- Content Designer conditional chaining expression evaluatorFulfillment Lambda execution
- CONFIGURATIONS
- QnABot on AWS versions <=7.2.4
- ENVIRONMENTS
- Fulfillment Lambda execution context
WHAT TO DO
- 01CRITICALAUTOMATABLE
Upgrade QnABot on AWS deployments to version 7.3.0 or later to remove the vulnerable static-eval dependency.
DOCUMENTATION - 02HIGH
Audit any forked or derivative QnABot codebases for the vulnerable static-eval usage and apply the equivalent patch.
- 03MEDIUM
Review Admin-level access to the Content Designer interface to ensure only trusted users can submit conditional chaining expressions prior to patching.
TIMELINE
- ANNOUNCED
- APR 27, 2026
SOURCES
- PRIMARY SOURCEAMAZON WEB SERVICES, INC.
CVE-2026-7191- Arbitrary Code Execution via Sandbox Bypass in QnABot on AWS
PUBLISHED APR 27, 2026VIEW SOURCE
VERIFICATION
ShiftWire summarizes and analyzes changes from the cited sources. Always review the primary source before implementing material changes.