# CVE-2026-7191: Arbitrary Code Execution via Sandbox Bypass in the open source solution QnABot on AWS

- Severity: High 8.6 (CVSS:4.0, scored by AMZN) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-02)
- Published: 2026-04-27T20:08:30.970Z
- Modified: 2026-06-17T11:01:58.900Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- AWS QnABot on AWS: up to 7.2.4

## Every score

- AMZN: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- AMZN: CVSS:4.0 8.6 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/aws-solutions/qnabot-on-aws/releases/tag/v7.3.0> (patch)
- <https://aws.amazon.com/security/security-bulletins/2026-020-aws/> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-7191](https://www.cve.org/CVERecord?id=CVE-2026-7191), CVE Terms of Use, modified 2026-04-28
- NVD: [CVE-2026-7191](https://nvd.nist.gov/vuln/detail/CVE-2026-7191), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-7191 · Whole record: https://cve.day/CVE-2026-7191.json · Rebuilt by cve.day 2026-11-25T22:59:19.797Z
