Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-7191
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 17:25 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 27 Apr 2026, 20:08 UTC

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.

osv:CVE-2026-7191
Complete source record
{
  "id": "1b21d283571cf5cefe3ff823aa67a4b2280ba4aa7aa7ac9e1a72790f38afa78a",
  "url": "https://osv.dev/vulnerability/CVE-2026-7191",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Arbitrary Code Execution via Sandbox Bypass in the open source solution QnABot on AWS",
    "summary": "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.",
    "evidence": "osv:CVE-2026-7191",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-7191",
      "aliases": [
        "CVE-2026-7191"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/aws-solutions-library-samples/qnabot-on-aws",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "cb7bf681de876d4e03e01653970d152fc97083a9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "7.2.4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "cb7bf681de876d4e03e01653970d152fc97083a9"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v7.3.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v7.2.4",
            "v7.2.3",
            "v7.2.2",
            "v7.2.1",
            "v7.2.0",
            "v7.1.3",
            "v7.1.2",
            "v7.1.1",
            "v7.1.0",
            "v7.0.7",
            "v7.0.6",
            "v7.0.5",
            "v7.0.4",
            "v7.0.3",
            "v7.0.2",
            "v7.0.1",
            "v7.0.0",
            "v6.1.5",
            "v6.1.4",
            "v6.1.3",
            "v6.1.2",
            "v6.1.1",
            "v6.1.0",
            "v6.0.3",
            "v6.0.2",
            "v6.0.1",
            "v6.0.0",
            "v5.5.2",
            "v5.5.1",
            "v5.5.0",
            "v5.4.5",
            "v5.4.4",
            "v5.4.3",
            "v5.4.2",
            "v5.4.1",
            "v5.4.0",
            "v5.3.5",
            "v5.3.4",
            "v5.3.3",
            "v5.3.2",
            "v5.3.1",
            "v5.3.0",
            "v5.2.7",
            "v5.2.6",
            "v5.2.5",
            "v5.2.4",
            "v5.2.3",
            "v5.2.2",
            "v5.2.1",
            "v5.2.0",
            "v5.1.2",
            "v5.1.1",
            "v5.1.0",
            "v5.0.1",
            "v5.0.0",
            "4.7.3",
            "4.6.0",
            "3.0.3",
            "v2.2.0",
            "v2.0.1",
            "v2.0",
            "v1.1",
            "v1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-7191.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.785353368Z",
      "provider": "osv",
      "references": [
        "https://aws.amazon.com/security/security-bulletins/2026-020-aws/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7191.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-7191",
        "https://github.com/aws-solutions/qnabot-on-aws/releases/tag/v7.3.0"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-94"
        ],
        "cna_assigner": "AMZN",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7191.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-7191",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505268,
  "published_at": "2026-04-27T20:08:30.97+00:00"
}