CVE-2025-22151
Last modified
CVE-2025-22151 is a low-severity vulnerability rated 3.7/10 on the CVSS scale. 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). EPSS estimates a 0.36% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-22151?
How severe is CVE-2025-22151?
How do I fix CVE-2025-22151?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-22144NamelessMC is a free, easy to use & powerful website softwar…9.8
- CVE-2025-22145Carbon is an international PHP extension for DateTime. Appli…6.3
- CVE-2025-22146Sentry is a developer-first error tracking and performance m…9.1
- CVE-2025-22149JWK Set (JSON Web Key Set) is a JWK and JWK Set Go implement…2.1
- CVE-2025-2215A vulnerability classified as critical was found in Doufox u…5.1
- CVE-2025-22150Undici is an HTTP/1.1 client. Starting in version 4.5.0 and …6.8
- CVE-2025-22152Atheos is a self-hosted browser-based cloud IDE. Prior to v6…9.4
- CVE-2025-22153RestrictedPython is a tool that helps to define a subset of …7.9
- CVE-2025-22154Rejected reason: To maintain compliance with CNA rules, we h…
- CVE-2025-22155Rejected reason: To maintain compliance with CNA rules, we h…
- CVE-2025-22157This High severity PrivEsc (Privilege Escalation) vulnerabil…8.8
- CVE-2025-2216A vulnerability, which was classified as critical, has been …9.8
Are you affected by CVE-2025-22151?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
