Home / strawberry-graphql / strawberry / CVE-2025-22151
CVE-2025-22151: is it exploited, and which versions of strawberry-graphql strawberry are affected and fixed?
CVE-2025-22151 is a type confusion vulnerability in strawberry-graphql strawberry. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: strawberry-graphql from 0.182.0 before 0.257.0 (GitHub advisory GHSA-5xh2-23cc-5jc6). Fixed in 0.257.0 (GitHub advisory GHSA-5xh2-23cc-5jc6). Severity: Low (3.7, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:23 UTC.
What is CVE-2025-22151?
Strawberry GraphQL has a type resolution vulnerability
Strawberry GraphQL is a library for creating GraphQL APIs. Starting in 0.182.0 and prior to version 0.257.0, a type confusion vulnerability exists in Strawberry GraphQL's relay integration that affects multiple ORM integrations (Django, SQLAlchemy, Pydantic). The vulnerability occurs when multiple GraphQL types are mapped to the same underlying model while using the relay node interface. When querying for a specific type using the global node field (e.g., FruitType:some-id), the resolver may incorrectly return an instance of a different type mapped to the same model (e.g., SpecialFruitType). This can lead to information disclosure if the alternate type exposes sensitive fields and potential privilege escalation if the alternate type contains data intended for restricted access. This vulnerability is fixed in 0.257.0.
From the CVE record by GitHub_M, last updated January 9, 2025, 20:09 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| strawberry-graphql | strawberry | >= 0.182.0, < 0.257.0 |
As the CVE record by GitHub_M states it, last updated January 9, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | strawberry-graphql | >= 0.182.0, < 0.257.0 | 0.257.0 | GHSA-5xh2-23cc-5jc6 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 9, 2025. Summary: Strawberry GraphQL has type resolution vulnerability in node interface that allows potential data leakage through incorrect type resolution.
How severe is CVE-2025-22151?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-22151 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, January 9, 2025)
- EPSS
- 0.39% probability of exploitation activity in the next 30 days, percentile 34.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-5xh2-23cc-5jc6 x_refsource_CONFIRM
- https://github.com/strawberry-graphql/strawberry/commit/526eb82b70451c0e59d5a71ae9b7396f59974bd8 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 30, 2024
- Published
- January 9, 2025, 18:51 UTC
- CVE record updated
- January 9, 2025, 20:09 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 08:45 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:23 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect strawberry?
- Oct 8, 2026CVE-2026-107728 strawberry-graphql strawberry: incorrect authorization
- Oct 8, 2026CVE-2026-107727 strawberry-graphql strawberry: denial of service (uncontrolled resource consumption)
- Jun 4, 2026CVE-2026-47707 strawberry-graphql strawberry: denial of service (uncontrolled resource consumption)
- Jun 4, 2026CVE-2026-45739 strawberry-graphql strawberry: information disclosure
- Jun 4, 2026CVE-2026-47706 strawberry-graphql strawberry: denial of service (uncontrolled resource consumption)
- Apr 7, 2026CVE-2026-35523 strawberry-graphql strawberry: missing authentication for a critical function
- Apr 7, 2026CVE-2026-35526 strawberry-graphql strawberry: denial of service (resources allocated without limits)
- Sep 25, 2024CVE-2024-47082 strawberry-graphql strawberry: cross-site request forgery (CSRF)
Questions about CVE-2025-22151
Is CVE-2025-22151 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 0.39% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of strawberry-graphql strawberry are affected by CVE-2025-22151?
strawberry-graphql from 0.182.0 before 0.257.0, per the GitHub advisory GHSA-5xh2-23cc-5jc6. The tables above give every range the sources list.
Which version fixes CVE-2025-22151?
0.257.0, per the GitHub advisory GHSA-5xh2-23cc-5jc6. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-22151?
Low (3.7, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-22151?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.