Skip to content
OpenAdvisories
High · 7.2 CVE-2026-7191 EUVD-2026-25921

Arbitrary Code Execution via Sandbox Bypass in the open source solution QnABot on AWS

Published Apr 27, 2026 · Updated Apr 28, 2026 · Assigned by AMZN

Description

Improper use of the static-eval npm package in the open source solution qnabot-on-aws versions 7.2.4 and earlier may allow an authenticated administrator to execute arbitrary code within the fulfillment Lambda execution context by injecting a crafted conditional chaining expression via the Content Designer interface, which bypasses the intended expression sandbox through JavaScript prototype manipulation. This may grant direct access to backend resources (Lambda environment variables, OpenSearch indices, S3 objects, DynamoDB tables) that are not exposed through normal administrative interfaces.

We recommend you upgrade to version 7.3.0 or above.

Affected products

VendorProductAffectedFixed
AWS QnABot on AWS ≤ 7.2.4 —

References