VDB
Sign up
MEDIUM4.3

PYSEC-2026-2282

Quick fix

PYSEC-2026-2282 — strawberry-graphql: upgrade to the fixed version with the command below.

pip install --upgrade 'strawberry-graphql>=0.315.4'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/strawberry-graphql
Introduced in: 0.288.4Fixed in: 0.315.4
Fixpip install --upgrade 'strawberry-graphql>=0.315.4'

References