CVE-2026-45739

Strawberry GraphQL: Default GraphiQL may expose HTTP headers in URLs

Published Jun 4, 2026 CVSS 3.1 · 3.1 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
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
Type Values Removed Values Added
First Time appeared Strawberry
Strawberry strawberry
Vendors & Products Strawberry
Strawberry strawberry
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-201

    Insertion of Sensitive Information Into Sent Data

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 4, 2026, 2:36 PM
Reserved
May 13, 2026, 6:54 AM
Status
Analyzed
Published
Jun 4, 2026, 3:16 PM
Modified
Jul 22, 2026, 8:10 PM