- Accueil
- Vulnérabilités
- CVE-2026-107728
CVE-2026-107728
Strawberry GraphQL: Synchronous permission checks can treat an awaitable authorization result as truthy
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
strawberry-graphql (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| strawberry | Versions non précisées | — | CNA (éditeur ou attributeur) |
Pypi (2 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| strawberry-graphql | de 0.217.0 (inclus) à 0.326.1 (exclu) |
0.326.1 |
OSV |
| strawberry-graphql | de 0.217.0 (inclus) à 0.326.1 (exclu) |
0.326.1 |
GitHub Advisory |
Correctif
Mise à jour — PyPI/strawberry-graphql 0.326.1source officielle
Source : OSV
Mise à jour — PyPI/strawberry-graphql 0.326.1source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Exploit signalé par les sources
Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- PYSEC-2026-4303 — Strawberry GraphQL: Synchronous permission checks can treat an awaitable authorization result as truthy 15 oct. 2026
- GHSA-pfvf-fwfp-25mp — Strawberry GraphQL: Synchronous permission checks can treat an awaitable authorization result as truthy 9 oct. 2026
Références
- https://github.com/strawberry-graphql/strawberry/commit/2ebb79796c0e5ebb43cae1abd2b5a21363b1c00ex_refsource_MISC
- https://github.com/strawberry-graphql/strawberry/pull/4605x_refsource_MISC
- https://github.com/strawberry-graphql/strawberry/releases/tag/0.326.1x_refsource_MISC
- https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-pfvf-fwfp-25mpexploit
- https://nvd.nist.gov/vuln/detail/CVE-2026-107728ADVISORY
- https://github.com/strawberry-graphql/strawberryPACKAGE
- https://pypi.org/project/strawberry-graphqlPACKAGE
- https://github.com/advisories/GHSA-pfvf-fwfp-25mpADVISORY
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N(CVSS 3.1, CNA:GitHub_M)- Faiblesse
- CWE-863 · Authentification / contrôle d'accès