Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97228 Overview
CVE-2026-97228 is a GraphQL query injection vulnerability affecting Rapid7 Bulk Export MCP versions 0.2.5 through 0.6.1. The flaw resides in the get_export_status function within src/export_manager.py, where the export_id argument is interpolated directly into a GraphQL query string. An attacker who controls the export_id value passed to the check_rapid7_export_status or download_rapid7_export tools can terminate the intended export(id: "...") selection and append arbitrary root-level selections such as schema introspection. All injected queries execute within the operator's own authenticated API scope and cannot cross tenant boundaries.
Critical Impact
An unvalidated MCP tool argument allows GraphQL query injection against the Rapid7 export API using the operator's own API key, with realistic exposure limited to compromised MCP clients or indirect prompt injection scenarios.
Affected Products
- Rapid7 Bulk Export MCP version 0.2.5
- Rapid7 Bulk Export MCP versions 0.2.6 through 0.6.0
- Rapid7 Bulk Export MCP version 0.6.1
Discovery Timeline
- 2026-09-25 - CVE CVE-2026-97228 published to NVD
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-97228
Vulnerability Analysis
The vulnerability is a GraphQL injection flaw categorized under [CWE-943: Improper Neutralization of Special Elements in Data Query Logic]. The Rapid7 Bulk Export MCP server exposes tools (check_rapid7_export_status and download_rapid7_export) that forward an export_id argument into get_export_status. This function constructs a GraphQL query by string concatenation, embedding the raw identifier inside an export(id: "...") selection.
Because the identifier is not validated or parameterized, quote and brace characters inside the input can close the intended selection early and attach additional root-level fields. The resulting document remains syntactically valid GraphQL and is dispatched to the Rapid7 export API using the operator's valid API key.
The practical blast radius is narrow. Every injected query executes under the operator's existing scope and cannot escalate privileges or cross tenant boundaries. The realistic attack surface involves a compromised upstream MCP client or indirect prompt injection delivering an attacker-controlled identifier to the tool call.
Root Cause
The root cause is unsafe string interpolation of untrusted input into a GraphQL query. The get_export_status function in src/export_manager.py concatenates the export_id argument directly into the query body rather than binding it as a typed GraphQL variable.
Attack Vector
An attacker supplies a crafted export_id string containing quote and brace characters through the MCP tool interface. The payload terminates the export(id: "...") selection and appends additional root-level selections such as __schema introspection. The MCP server forwards the composed query to the Rapid7 export API, which executes it under the operator's authenticated session. See the GitHub Release v0.6.2 for technical details on the fix.
Detection Methods for CVE-2026-97228
Indicators of Compromise
- Outbound GraphQL requests to the Rapid7 export API containing unexpected root-level selections such as __schema, __type, or additional query fields beyond the intended export(id: ...) selection.
- MCP tool invocations of check_rapid7_export_status or download_rapid7_export where the export_id argument contains quote characters, braces, or whitespace outside normal identifier formats.
- Anomalous volume or payload size of GraphQL responses returned to MCP clients that are inconsistent with routine export status checks.
Detection Strategies
- Log and inspect the exact export_id values received by get_export_status and alert on any value that fails strict identifier validation (for example, non-UUID or non-alphanumeric content).
- Monitor GraphQL request bodies emitted by the MCP server for selections other than the single expected export field.
- Correlate MCP client identity and prompt context with tool invocations to identify indirect prompt injection patterns forwarding untrusted identifiers.
Monitoring Recommendations
- Enable verbose request logging on the MCP server and forward logs to a centralized analytics platform for query shape analysis.
- Track the version of rapid7-bulk-export-mcp deployed across environments and alert on any instance running 0.2.5 through 0.6.1.
- Review API key usage patterns in the Rapid7 platform for queries inconsistent with legitimate export workflows.
How to Mitigate CVE-2026-97228
Immediate Actions Required
- Upgrade Rapid7 Bulk Export MCP to version 0.6.2 or later, which binds export_id as a parameterized GraphQL variable ($exportId: ID!).
- Audit MCP client configurations and restrict which upstream clients can invoke the check_rapid7_export_status and download_rapid7_export tools.
- Rotate Rapid7 API keys used by MCP server instances if logs indicate anomalous GraphQL activity.
Patch Information
The vulnerability is fixed in Rapid7 Bulk Export MCP version 0.6.2. The patch replaces string interpolation of export_id with a parameterized GraphQL variable declaration ($exportId: ID!), ensuring the identifier is handled by the GraphQL parser as typed data rather than query syntax. Refer to the GitHub Release v0.6.2 for release notes.
Workarounds
- Validate export_id inputs against a strict allowlist (for example, UUID format) before forwarding them to the MCP tool if upgrading is not immediately possible.
- Treat MCP tool arguments originating from LLM-generated content as untrusted and apply schema validation at the client boundary.
- Restrict the Rapid7 API key scope used by the MCP server to the minimum permissions required for export operations.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

