# CVE-2026-107728: Strawberry GraphQL: Synchronous permission checks can treat an awaitable authorization result as truthy

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-08T22:13:00.911Z
- Modified: 2026-10-15T14:55:39.004Z
- Also known as: GHSA-pfvf-fwfp-25mp, PYSEC-2026-4303
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Strawberry GraphQL is a library for creating GraphQL APIs. From 0.217.0 until 0.326.1, PermissionExtension.resolve() on a synchronous field resolver evaluates the result of has_permission() for truthiness. When a custom permission declares has_permission() as a normal function but returns an awaitable, supports_sync does not classify it as asynchronous, the awaitable is not awaited, and its inherently truthy object value permits the protected resolver to run even when the result would resolve to false. This affects synchronous field resolvers under both execute_sync() and execute(); permissions declared with async def has_permission() and synchronous permissions returning a boolean are not affected. This issue is fixed in version 0.326.1.

(As written by CVE List.)

## Affected

- strawberry-graphql strawberry: >= 0.217.0, < 0.326.1
- strawberry-graphql (PyPI): from 0.217.0 before 0.326.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-pfvf-fwfp-25mp> (exploit, web)
- <https://github.com/strawberry-graphql/strawberry/pull/4605> (web)
- <https://github.com/strawberry-graphql/strawberry/commit/2ebb79796c0e5ebb43cae1abd2b5a21363b1c00e> (web)
- <https://github.com/strawberry-graphql/strawberry/releases/tag/0.326.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-107728> (advisory)
- <https://github.com/strawberry-graphql/strawberry> (package)
- <https://pypi.org/project/strawberry-graphql> (package)
- <https://github.com/advisories/GHSA-pfvf-fwfp-25mp> (advisory)

## Sources

- CVE List: [CVE-2026-107728](https://www.cve.org/CVERecord?id=CVE-2026-107728), CVE Terms of Use, modified 2026-10-14
- GitHub Advisory Database: [GHSA-pfvf-fwfp-25mp](https://github.com/advisories/GHSA-pfvf-fwfp-25mp), CC-BY-4.0, modified 2026-10-15
- NVD: [CVE-2026-107728](https://nvd.nist.gov/vuln/detail/CVE-2026-107728), Public domain, modified 2026-10-14
- PyPA Advisory Database: [PYSEC-2026-4303](https://osv.dev/vulnerability/PYSEC-2026-4303), CC-BY-4.0, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-107728 · Whole record: https://cve.day/CVE-2026-107728.json · Rebuilt by cve.day 2026-11-25T22:59:43.254Z
