Vulnerability · Published Jun 4, 2026 · Assigned by GitHub_M
CVE-2026-45739Strawberry GraphQL: Default GraphiQL may expose HTTP headers in URLs
Low 3.1
In plain English
A low-severity information exposure in strawberry from strawberry-graphql. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | strawberry-graphql | 0.315.4 | GHSA-x97m-qp5c-w9xj |
| PyPI | strawberry-graphql | 0.315.4 | PYSEC-2026-2282 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| strawberry-graphql | strawberry | >= 0.288.4, < 0.315.4 |
Weakness: CWE-200, CWE-201 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
References
- https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-x97m-qp5c-w9xj x_refsource_CONFIRM
- https://github.com/strawberry-graphql/strawberry/issues/4398 x_refsource_MISC
- https://github.com/strawberry-graphql/strawberry/pull/2842 x_refsource_MISC
- https://github.com/strawberry-graphql/strawberry/commit/9315ef80a621ae50ca0bc5c82f560ca4ee7e47a9 x_refsource_MISC
- https://github.com/strawberry-graphql/strawberry/releases/tag/0.315.4 x_refsource_MISC