Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-7191: CWE-94: Improper Control of Generation of Code ('Code Injection') in AWS QnABot on AWS

0
High
VulnerabilityCVE-2026-7191cvecve-2026-7191cwe-94
Published: Mon Apr 27 2026 (04/27/2026, 20:08:30 UTC)
Source: CVE Database V5
Vendor/Project: AWS
Product: QnABot on AWS

Description

CVE-2026-7191 is a high-severity code injection vulnerability in AWS QnABot on AWS versions 7. 2. 4 and earlier. It arises from improper use of the static-eval npm package, allowing an authenticated administrator to execute arbitrary code within the fulfillment Lambda execution context by injecting crafted expressions via the Content Designer interface. This bypasses the intended sandbox through JavaScript prototype manipulation, potentially exposing backend resources such as Lambda environment variables, OpenSearch indices, S3 objects, and DynamoDB tables. AWS recommends upgrading to version 7. 3. 0 or later to address this issue. The vulnerability has a CVSS score of 7. 2 and is categorized under CWE-94 (Improper Control of Generation of Code).

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/27/2026, 20:45:05 UTC

Technical Analysis

The vulnerability CVE-2026-7191 affects AWS QnABot on AWS versions 7.2.4 and earlier due to improper use of the static-eval npm package. An authenticated administrator can inject a crafted conditional chaining expression via the Content Designer interface, which bypasses the expression sandbox by manipulating JavaScript prototypes. This enables arbitrary code execution within the Lambda fulfillment environment, granting access to sensitive backend resources like Lambda environment variables, OpenSearch indices, S3 objects, and DynamoDB tables that are normally inaccessible through standard administrative interfaces. AWS has released version 7.3.0 and above to fix this issue. The vulnerability scores 7.2 on the CVSS v3.1 scale, indicating high severity. AWS manages this as a cloud service and provides a security bulletin for further details.

Potential Impact

Successful exploitation allows an authenticated administrator to execute arbitrary code within the Lambda fulfillment environment, potentially leading to unauthorized access to sensitive backend resources including environment variables, OpenSearch indices, S3 buckets, and DynamoDB tables. This can compromise confidentiality, integrity, and availability of these resources. The vulnerability is high severity with a CVSS score of 7.2. No known exploits in the wild have been reported.

Mitigation Recommendations

AWS manages remediation for this cloud-hosted service. Users should upgrade QnABot on AWS to version 7.3.0 or later as recommended by AWS in their security advisory (https://aws.amazon.com/security/security-bulletins/2026-020-aws/). This upgrade addresses the improper use of the static-eval package and mitigates the code injection vulnerability. Check the vendor advisory for the latest remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
AMZN
Date Reserved
2026-04-27T13:37:55.232Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null
Is Cloud Service
true
Vendor Advisory Urls
[{"url":"https://aws.amazon.com/security/security-bulletins/2026-020-aws/","vendor":"AWS"}]

Threat ID: 69efc789ba26a39fba6016ea

Added to database: 4/27/2026, 8:31:05 PM

Last enriched: 4/27/2026, 8:45:05 PM

Last updated: 4/27/2026, 9:46:15 PM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses