qnabot-on-aws <7.3 CExec via static-eval Exploit (CVE-2026-7191)
CVE-2026-7191 Published on April 27, 2026
Arbitrary Code Execution via Sandbox Bypass in the open source solution QnABot on AWS
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.
Vulnerability Analysis
CVE-2026-7191 can be exploited with network access, and requires user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Type
What is a Code Injection Vulnerability?
The software constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
CVE-2026-7191 has been classified to as a Code Injection vulnerability or weakness.
Products Associated with CVE-2026-7191
stack.watch emails you whenever new vulnerabilities are published in Qnabot On Aws or Amazon Aws. Just hit a watch button to start following.
Affected Versions
QnABot on AWS:- Before and including 7.2.4 is affected.