CVE-2026-45739 Strawberry GraphQL: Default GraphiQL may expose HTTP headers in URLs
Strawberry GraphQL's default GraphiQL interface leaks sensitive HTTP headers into URLs, exposing them to logs and history.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-45739?
CVE-2026-45739 is a low-severity vulnerability in strawberry-graphql strawberry, published on 4 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Which versions are affected by CVE-2026-45739?
3 open source packages ship an affected version, including strawberry-graphql. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
strawberry-graphql PyPI | From 0.288.4 | 0.315.4 |
strawberry-graphql PyPI | From 0.288.4 | 0.315.4 |
strawberry-graphql PyPI | From 0.288.4 | 0.315.4 |
Products include Strawberry Strawberry Graphql.
How do I fix CVE-2026-45739?
Upgrade strawberry-graphql to 0.315.4 or later.
Is CVE-2026-45739 being exploited?
There is no known exploitation of CVE-2026-45739 in the wild and no public exploit code.
Other vulnerabilities in strawberry-graphql strawberry
- CVE-2026-35523 Authentication bypass in strawberry-graphql via legacy graphql-ws WebSocket subprotocol
- CVE-2026-35526 Strawberry GraphQL affected by a Denial of Service via unbounded WebSocket subscriptions
- CVE-2026-47706 Strawberry GraphQL has a Circular Fragment Reference DOS
- CVE-2026-47707 Strawberry GraphQL's Bypass of MaxAliasesLimiter via Fragment Spreads leading to GraphQL Alias Amplification
Sources
Also known as GHSA-x97m-qp5c-w9xj, PYSEC-2026-2282.