# CVE-2026-97228: Rapid7 Bulk Export MCP — GraphQL Query Injection in Export Status Lookup

> Attacker can inject GraphQL queries via unvalidated export IDs, enabling data exfiltration or schema introspection using the operator's API key.

- **Severity:** Low 2.7 (`CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 25 Sep 2026
- **Updated:** 25 Sep 2026
- **Also known as:** GHSA-pwmm-7g3w-8pvp

## What is CVE-2026-97228?

CVE-2026-97228 is a low-severity code injection vulnerability in Rapid7 Platform, published on 25 Sep 2026. An attacker needs administrator access to exploit it, with no action from the victim.

### Official description

Rapid7 Bulk Export MCP versions 0.2.5 through 0.6.1 suffer from a GraphQL query injection issue in the export-status component (`get_export_status` in `src/export_manager.py`), whereby the `export_id` value — an unvalidated MCP tool argument reaching the function via the `check_rapid7_export_status` and `download_rapid7_export` tools — is interpolated directly into the GraphQL query string. A crafted `export_id` containing quote and brace characters can terminate the intended `export(id: "...")` selection early and append attacker-controlled root-level selections (for example, schema introspection), producing a single well-formed GraphQL document that is then sent to the Rapid7 export API under the operator's own API key.

Notably, this issue does not grant an existing actor any access they do not already have: every injected query executes within the operator's own already-authenticated API scope, using the operator's own valid API key, and cannot cross a tenant or account boundary. A directly-malicious operator gains nothing they could not already do by calling the API directly; the realistic exposure is limited to a compromised or careless upstream MCP client, or indirect prompt injection forwarding an unvalidated identifier. This is fixed in version 0.6.2, which passes `export_id` as a parameterized GraphQL variable (`$exportId: ID!`).

Weakness: CWE-943 (Improper Neutralization of Special Elements in Data Query Logic)

## Which versions are affected by CVE-2026-97228?


## How do I fix CVE-2026-97228?

No fix has been published for CVE-2026-97228 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-97228 being exploited?

There is no known exploitation of CVE-2026-97228 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-97228 and fix it if it is affected.

What it is: CVE-2026-97228 is a low-severity code injection vulnerability in Rapid7 Platform, published on 25 Sep 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-97228 in the wild and no public exploit code.

Affected product: Rapid7 Platform. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-97228/ (Markdown: https://insights.sbomify.com/CVE-2026-97228/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-97228
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-97228
- OSV: https://osv.dev/vulnerability/CVE-2026-97228

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-97228/
Summaries are generated and may contain mistakes; the official description above is the record.
