High severity · published Apr 27, 2026
CVE-2026-7191
Arbitrary Code Execution via Sandbox Bypass in the open source solution QnABot on AWS
7.2
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 37% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
QO
QnABot on AWS · AWS
through 7.2.4 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-7191
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-7191
aws.amazon.com
https://aws.amazon.com/security/security-bulletins/2026-020-aws/
github.com
https://github.com/aws-solutions/qnabot-on-aws/releases/tag/v7.3.0
More from QnABot on AWS
6.5
CVE-2026-105811
Authorization bypass through a user-controlled key in the Amazon Q Business Lambda hook sample in QnABot on AWS
