CVE-2026-7191 PUBLISHED

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

Assigner: AMZN
Reserved: 27.04.2026 Published: 27.04.2026 Updated: 27.04.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 8.6

Product Status

Vendor AWS
Product QnABot on AWS
Versions Default: unaffected
  • affected from 0 to 7.2.4 (incl.)

Credits

  • Endor Labs finder

References

Problem Types

  • CWE-94: Improper Control of Generation of Code ('Code Injection') CWE

Impacts

  • CAPEC-242 Code Injection