Description
Strawberry GraphQL is a library for creating GraphQL APIs. In versions 0.288.4 through 0.315.3, 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. Version 0.315.4 patches the issue.
Published: 2026-06-04
Score: 3.1 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In strawberry-graphql versions 0.288.4 to 0.315.3 the bundled GraphiQL template writes the values entered in the headers editor directly into the browser URL query string. If a user supplies a sensitive header such as an Authorization token, that value can become visible in browser history, shared links, and server, proxy, or CDN access logs after a page reload or request share. The weakness falls under information‑disclosure categories (CWE‑200, CWE‑201) and can allow an attacker or a curious user to obtain credentials or other secrets inadvertently exposed by the application.

Affected Systems

The vulnerability affects the strawberry-graphql library for Python, specifically versions 0.288.4 through 0.315.3. The patch was released in version 0.315.4 and later releases contain the fix.

Risk and Exploitability

The CVSS score of 3.1 indicates a low severity risk. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is any user who interacts with the GraphiQL interface and inputs custom headers; the exposure occurs client‑side and is logged by upstream systems. While the impact is limited to information disclosure rather than code execution or denial of service, the leakage of tokens can lead to credential compromise if logs are accessed or shared. The risk is considered low overall, but any environment where the GraphiQL UI is exposed to end users should be evaluated for accidental information leakage.

Generated by OpenCVE AI on June 4, 2026 at 15:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade strawberry-graphql to version 0.315.4 or newer.
  • If an upgrade is not immediately possible, disable or detach the GraphiQL header editor feature in the application configuration to prevent header values from being reflected in the URL.
  • Review server, proxy, and CDN access logs for any exposed Authorization or other sensitive header values, and revoke or rotate them if found.

Generated by OpenCVE AI on June 4, 2026 at 15:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-x97m-qp5c-w9xj Strawberry GraphQL: Default GraphiQL may expose HTTP headers in URLs
History

Fri, 05 Jun 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Strawberry strawberry Graphql
CPEs cpe:2.3:a:strawberry:strawberry_graphql:*:*:*:*:*:python:*:*
Vendors & Products Strawberry strawberry Graphql

Fri, 05 Jun 2026 08:00:00 +0000

Type Values Removed Values Added
First Time appeared Strawberry
Strawberry strawberry
Vendors & Products Strawberry
Strawberry strawberry

Thu, 04 Jun 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 04 Jun 2026 14:30:00 +0000

Type Values Removed Values Added
Description Strawberry GraphQL is a library for creating GraphQL APIs. In versions 0.288.4 through 0.315.3, 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. Version 0.315.4 patches the issue.
Title Strawberry GraphQL: Default GraphiQL may expose HTTP headers in URLs
Weaknesses CWE-200
CWE-201
References
Metrics cvssV3_1

{'score': 3.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N'}


Subscriptions

Strawberry Strawberry Strawberry Graphql
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-04T14:36:06.010Z

Reserved: 2026-05-13T06:54:34.219Z

Link: CVE-2026-45739

cve-icon Vulnrichment

Updated: 2026-06-04T14:35:53.011Z

cve-icon NVD

Status : Analyzed

Published: 2026-06-04T15:16:54.457

Modified: 2026-06-05T18:43:20.977

Link: CVE-2026-45739

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-05T07:45:35Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-201

    Insertion of Sensitive Information Into Sent Data