Strawberry GraphQL: Synchronous permission checks can treat an awaitable authorization result as truthy
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-107728
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 01:19 UTC · Revision 1
Source evidence
Strawberry GraphQL: Synchronous permission checks can treat an awaitable authorization result as truthy
core-osv · Original sourcePublished 8 Oct 2026, 22:13 UTC
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.
osv:CVE-2026-107728
Complete source record
{
"id": "d37e99d7e2c1ee888ebcc772411c4275566d95b701546e3b2f4ea0bab50df2ce",
"url": "https://osv.dev/vulnerability/CVE-2026-107728",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Strawberry GraphQL: Synchronous permission checks can treat an awaitable authorization result as truthy",
"summary": "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.",
"evidence": "osv:CVE-2026-107728",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-107728",
"aliases": [
"CVE-2026-107728",
"GHSA-pfvf-fwfp-25mp",
"PYSEC-2026-4303"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/strawberry-graphql/strawberry",
"type": "GIT",
"events": [
{
"introduced": "528b1b39be80a9336f4a78413bbf9d06e10c1b3e"
},
{
"fixed": "2ebb79796c0e5ebb43cae1abd2b5a21363b1c00e"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0.217.0"
},
{
"fixed": "0.326.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "2ebb79796c0e5ebb43cae1abd2b5a21363b1c00e"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "2ebb79796c0e5ebb43cae1abd2b5a21363b1c00e"
}
],
"source": "REFERENCES_TAG",
"original_tag": "0.326.1"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.326.1"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"0.326.0",
"0.325.0",
"0.324.5",
"0.324.4",
"0.324.3",
"0.324.2",
"0.324.1",
"0.324.0",
"0.323.2",
"0.323.1",
"0.323.0",
"0.322.2",
"0.322.1",
"0.322.0",
"0.321.1",
"0.321.0",
"0.320.4",
"0.320.3",
"0.320.2",
"0.320.1",
"0.320.0",
"0.319.0",
"0.318.1",
"0.318.0",
"0.317.2",
"0.317.1",
"0.317.0",
"0.316.0",
"0.315.7",
"0.315.6",
"0.315.5",
"0.315.4",
"0.315.3",
"0.315.2",
"0.315.1",
"0.315.0",
"0.314.3",
"0.314.2",
"0.314.1",
"0.314.0",
"0.313.0",
"0.312.4",
"0.312.3",
"0.312.2",
"0.312.1",
"0.312.0",
"0.311.3",
"0.311.2",
"0.311.1",
"0.311.0",
"0.310.2",
"0.310.1",
"0.310.0",
"0.309.0",
"0.308.3",
"0.308.2",
"0.308.1",
"0.308.0",
"0.307.1",
"0.307.0",
"0.289.0",
"0.306.0",
"0.305.0",
"0.304.0",
"0.303.1",
"0.303.0",
"0.302.0",
"0.301.0",
"0.300.0",
"0.299.0",
"0.298.1",
"0.298.0",
"0.297.0",
"0.296.2",
"0.296.1",
"0.296.0",
"0.295.0",
"0.294.0",
"0.293.0",
"0.292.0",
"0.291.3",
"0.291.2",
"0.291.1",
"0.291.0",
"0.290.0",
"0.289.8",
"0.289.7",
"0.289.6",
"0.289.5",
"0.289.4",
"0.289.3",
"0.289.2",
"0.289.1",
"0.288.4",
"0.288.3",
"0.288.2",
"0.288.1",
"0.288.0",
"0.287.4",
"0.287.2",
"0.287.3",
"0.287.1",
"0.287.0",
"0.286.1",
"0.286.0",
"0.285.0",
"0.284.4",
"0.284.3",
"0.284.2",
"0.284.1",
"0.284.0",
"0.283.3",
"0.283.2",
"0.283.1",
"0.283.0",
"0.282.0",
"0.281.0",
"0.280.0",
"0.279.0",
"0.278.1",
"0.278.0",
"0.277.1",
"0.277.0",
"0.276.2",
"0.276.1",
"0.276.0",
"0.275.7",
"0.275.6",
"0.275.5",
"0.275.4",
"0.275.3",
"0.275.2",
"0.275.1",
"0.275.0",
"0.274.3",
"0.274.2",
"0.274.1",
"0.274.0",
"0.273.3",
"0.273.2",
"0.273.1",
"0.273.0",
"0.272.1",
"0.272.0",
"0.271.2",
"0.271.1",
"0.271.0",
"0.270.6",
"0.270.5",
"0.270.4",
"0.270.3",
"0.270.2",
"0.270.1",
"0.270.0",
"0.269.0",
"0.268.2",
"0.268.1",
"0.268.0",
"0.267.0",
"0.266.1",
"0.266.0",
"0.265.1",
"0.265.0",
"0.264.1",
"0.264.0",
"0.263.2",
"0.263.1",
"0.263.0",
"0.262.6",
"0.262.5",
"0.262.4",
"0.262.3",
"0.262.2",
"0.262.1",
"0.262.0",
"0.261.1",
"0.261.0",
"0.260.4",
"0.260.3",
"0.260.2",
"0.260.1",
"0.260.0",
"0.259.1",
"0.259.0",
"0.258.1",
"0.258.0",
"0.257.0",
"0.256.1",
"0.256.0",
"0.254.1",
"0.255.0",
"0.254.0",
"0.253.1",
"0.253.0",
"0.252.0",
"0.251.0",
"0.250.1",
"0.250.0",
"0.249.0",
"0.248.1",
"0.248.0",
"0.247.2",
"0.247.1",
"0.247.0",
"0.246.3",
"0.246.2",
"0.246.1",
"0.246.0",
"0.245.0",
"0.244.1",
"0.244.0",
"0.243.1",
"0.243.0",
"0.242.0",
"0.241.0",
"0.240.4",
"0.240.3",
"0.240.2",
"0.240.1",
"0.240.0",
"0.239.2",
"0.239.1",
"0.239.0",
"0.238.1",
"0.238.0",
"0.237.3",
"0.237.2",
"0.237.1",
"0.237.0",
"0.236.2",
"0.236.1",
"0.236.0",
"0.235.2",
"0.235.1",
"0.235.0",
"0.234.3",
"0.234.2",
"0.234.1",
"0.234.0",
"0.233.3",
"0.233.2",
"0.233.1",
"0.233.0",
"0.232.2",
"0.232.1",
"0.232.0",
"0.231.1",
"0.231.0",
"0.230.0",
"0.229.2",
"0.229.1",
"0.229.0",
"0.228.0",
"0.227.7",
"0.227.6",
"0.227.5",
"0.227.4",
"0.227.3",
"0.227.2",
"0.227.1",
"0.227.0",
"0.226.2",
"0.226.1",
"0.226.0",
"0.225.1",
"0.225.0",
"0.224.2",
"0.224.1",
"0.224.0",
"0.223.0",
"0.222.0",
"0.221.1",
"0.221.0",
"0.220.0",
"0.219.2",
"0.219.1",
"0.219.0",
"0.218.1",
"0.218.0",
"0.217.1",
"0.217.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107728.json"
}
}
],
"modified": "2026-10-28T02:30:41.203588537Z",
"provider": "osv",
"references": [
"https://github.com/strawberry-graphql/strawberry/releases/tag/0.326.1",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107728.json",
"https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-pfvf-fwfp-25mp",
"https://nvd.nist.gov/vuln/detail/CVE-2026-107728",
"https://github.com/strawberry-graphql/strawberry/commit/2ebb79796c0e5ebb43cae1abd2b5a21363b1c00e",
"https://github.com/strawberry-graphql/strawberry/pull/4605"
],
"provider_metadata": {
"cwe_ids": [
"CWE-863"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107728.json"
}
},
"related_cves": [
{
"value": "CVE-2026-107728",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 509006,
"published_at": "2026-10-08T22:13:00.911+00:00"
}