Advisory

PYSEC-2026-2282

Also known as: CVE-2026-45739, GHSA-x97m-qp5c-w9xj

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 4.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

Dates

Published
2026-06-04 15:16 UTC
Modified
2026-07-13 07:15 UTC

Affected packages and fixes

strawberry-graphql

PyPI · All systems

Affected

  • introduced 0.288.4, fixed 0.315.4 (ecosystem)

Fixed versions

0.315.4

Fix

  • Fixed version 0.315.4
    pip install --upgrade strawberry-graphql==0.315.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences