Arbitrary Code Execution Vulnerability in Qnabot-on-AWS by AWS
CVE-2026-7191
What is CVE-2026-7191?
The vulnerability arises from the improper usage of the static-eval npm package within Qnabot-on-AWS, versions 7.2.4 and earlier. This flaw permits an authenticated administrator to execute arbitrary code within the fulfillment Lambda execution context. An attacker can exploit this vulnerability through crafted conditional chaining expressions via the Content Designer interface, effectively bypassing the intended sandbox protections. Such actions may grant unauthorized access to critical backend resources, including Lambda environment variables, OpenSearch indices, S3 objects, and DynamoDB tables, which are not normally accessible through standard administrative interfaces. It is advised to upgrade to version 7.3.0 or newer to mitigate this risk.
Affected Version(s)
QnABot on AWS 0 <= 7.2.4
