Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeveloper enters Authorization token into GraphiQL headers editor
-
Deliveryhistory.replaceState serializes token into ?headers= URL parameter
-
ExploitURL recorded in browser history, server/CDN logs, or shared externally
-
ExecutionAttacker obtains token-bearing URL
-
PersistAttacker replays token against GraphQL API
-
ImpactUnauthorized authenticated access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three concurrent conditions: (1) the Strawberry GraphQL application exposes the bundled GraphiQL IDE, which is the default when graphql_ide='graphiql' is set and has not been explicitly disabled; (2) a user actively types a sensitive value - such as an Authorization header token - into the GraphiQL headers editor panel while using an affected version (0.288.4-0.315.3); and (3) the resulting browser URL is exposed through at least one of: page reload, URL copy-paste and sharing, browser history access by another party, or URL capture in server/proxy/CDN access logs. The CVSS UI:R requirement confirms user interaction is mandatory. Exploitation is further limited by: the UI:R interaction requirement meaning passive network attackers cannot trigger exposure without user action; the AC:H rating reflecting the multi-step user behavior required; and the scope being restricted to the browser-based IDE only, with no impact on GraphQL query execution or authorization logic itself. |
| Impact | The CVSS 3.1 base score of 3.1 (Low) with vector AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N accurately captures the limited blast radius: network-accessible but requiring high attack complexity and mandatory user interaction, with only partial confidentiality impact and no integrity or availability impact. This is not confirmed actively exploited (CISA KEV), and no public exploit code has been identified. EPSS data was not provided. Real-world risk is elevated above what the raw CVSS implies for environments where: (a) the GraphiQL IDE is internet-exposed rather than restricted to internal networks, and (b) developers routinely use Authorization headers in the IDE for authenticated query testing. In those scenarios, token leakage into CDN access logs or server request logs is largely passive and difficult to detect. For production deployments with the IDE disabled (the recommended posture), risk is effectively zero. The primary affected population is developer and staging environments. |
| Exploit ScenarioDerived | A developer using the GraphiQL IDE on a staging server enters an Authorization: Bearer token into the headers editor to test an authenticated GraphQL query. The browser URL is silently updated to include ?headers=%7B%22Authorization%22%3A%22Bearer+<token>%22%7D via history.replaceState. The developer copies the URL to share with a colleague, posts it in a Slack channel, or the URL is captured in a CDN access log; any recipient or log reader now possesses the token and can use it to authenticate against the GraphQL API directly. No public exploit code exists - the attack requires no tooling beyond a browser. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 19, 2026
Sensitive HTTP header values entered into the Strawberry GraphQL bundled GraphiQL IDE are serialized into the browser URL query string via JavaScript's history.replaceState, exposing credentials such as Authorization bearer tokens to browser history, copy-paste clipboard actions, and server/proxy/CDN access logs. Affected are strawberry-graphql versions 0.288.4 through 0.315.3 - any Python application exposing the default GraphiQL interface without explicit opt-out. No public exploit has been identified at time of analysis, and the CVSS score of 3.1 (Low) reflects that exploitation requires user interaction; however, in developer and staging environments where the IDE is commonly left enabled, token leakage via shared URLs or log aggregation is a realistic risk.
RemediationAI
Upgrade strawberry-graphql to version 0.315.4, which removes the updateURL call from the onEditHeaders handler so header values are no longer serialized into the URL. The patch is available via the vendor GitHub at https://github.com/strawberry-graphql/strawberry/pull/2842. For deployments that cannot immediately upgrade, disable the bundled GraphiQL IDE in production by setting graphql_ide=None in your GraphQLRouter or equivalent HTTP integration configuration (e.g., GraphQLRouter(schema, graphql_ide=None)); note this removes the interactive IDE entirely, affecting developer workflow. Alternatively, supply a custom GraphiQL template that omits the onEditHeaders URL update behavior, preserving IDE functionality without URL-based header persistence. Rotating any Authorization tokens that may have been entered into the GraphiQL headers editor on affected versions is advisable, particularly if the application was accessible to logging infrastructure or the URLs were shared.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Strawberry GraphQL (pkg:pip/strawberry-graphql) bundles a GraphiQL HTML/JavaScript IDE at strawberry/static/graphiql.html, enabled by default via graphql_ide='graphiql' in all HTTP integrations. The URL-sharing feature introduced in commit 9315ef80 parsed URL query parameters into a 'parameters' object to initialize editor state, and used history.replaceState to keep the URL in sync as editors changed. The onEditHeaders callback incorrectly called updateURL({ headers: newHeaders }), treating header content the same as shareable query text and variables, resulting in sensitive header values (e.g., Authorization: Bearer <token>) being serialized into the ?headers= query parameter. The root cause is CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) - the code did not distinguish between data safe for URL persistence and credential material that must remain in-memory only.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
Summary
Strawberry's bundled GraphiQL template wrote values from the GraphiQL headers editor into the browser URL query string. If a user entered a sensitive header, such as Authorization: Bearer <token>, the value could become visible in browser history, copied links, and server/proxy/CDN access logs after a page reload or shared request.
Affected Versions
- Affected:
strawberry-graphql >= 0.288.4, <= 0.315.3 - Patched: 0.315.4
The vulnerable behavior was introduced by the GraphiQL URL-sharing implementation in commit 9315ef80, first included in release 0.288.4.
Impact
Applications that expose Strawberry's default GraphiQL IDE may leak sensitive HTTP header values entered by users into the GraphiQL headers editor. The default IDE is enabled by graphql_ide="graphiql" across Strawberry HTTP integrations unless disabled or replaced by the application.
The exposure is limited to the browser-based IDE. GraphQL query execution is not affected, and this issue does not allow an attacker to directly execute operations or bypass authorization. Practical exploitation requires a user to enter a secret into the GraphiQL headers editor and then expose the resulting URL, for example by refreshing the page, copying the URL, sharing the URL, or causing the URL to be recorded by logging infrastructure.
Technical Details
The bundled strawberry/static/graphiql.html template parsed URL query parameters into a parameters object and used those values to initialize GraphiQL state. It also updated the URL on editor changes using history.replaceState.
Before the fix, header values were handled like shareable query text and variables:
const [headers, setHeaders] = React.useState(parameters.headers);
function onEditHeaders(newHeaders) {
setHeaders(newHeaders);
updateURL({ headers: newHeaders });
}This meant arbitrary header text entered into the IDE could be serialized into ?headers=....
Fix
The GraphiQL template no longer calls updateURL from onEditHeaders. Query and variable URL sharing remain unchanged, and existing URLs with headers=... can still initialize the headers editor. Header persistence via GraphiQL's own shouldPersistHeaders: true behavior remains enabled, so newly edited headers can still persist locally without being placed in the URL.
Workarounds
Until a patched version can be used, applications can mitigate this issue by disabling the bundled IDE in production:
GraphQLRouter(schema, graphql_ide=None)Equivalent graphql_ide=None configuration is available in Strawberry's other HTTP integrations.
Applications can also provide a custom GraphiQL template that does not serialize header values into the URL.
Credits
Reported by @lpschroer.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-34270
GHSA-x97m-qp5c-w9xj
NVD
CVE.org
EPSS
VulDB
Exploit-DB