{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-22151","published":"2025-01-09T19:15:20.410000Z","last_modified":"2026-06-17T08:45:22.073000Z","status":"Deferred","cvss":{"version":"3.1","score":3.7,"severity":"LOW","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-843"],"cpes":[],"cpes_truncated":false,"vendors":["strawberry-graphql"],"products":["strawberry-graphql/strawberry"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00523,"percentile":0.37756,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-5xh2-23cc-5jc6","ecosystem":"PyPI","name":"strawberry-graphql","purl":"pkg:pypi/strawberry-graphql","ranges":[{"introduced":"0.182.0","fixed":"0.257.0"}],"versions":["0.187.4","0.187.5","0.188.0","0.189.0","0.189.1","0.189.1.dev1687473609","0.189.2","0.189.3","0.190.0","0.190.0.dev1687447182","0.192.0","0.192.1","0.192.2","0.193.0","0.193.1","0.194.0","0.194.1","0.194.2","0.194.3","0.194.4","0.195.0","0.195.1","0.195.2","0.195.3","0.196.0","0.196.0.dev1689676980","0.196.0.dev1689676990","0.196.0.dev1690222024","0.196.1","0.196.2","0.197.0","0.197.0.dev1690539957","0.198.0","0.199.0","0.199.1","0.199.2","0.199.3","0.200.0","0.201.0","0.201.1","0.202.0","0.202.1","0.203.0","0.203.1","0.203.1.dev1691831108","0.203.2","0.203.3","0.204.0","0.205.0","0.206.0","0.207.0","0.207.1","0.208.0","0.208.1","0.208.2","0.208.3","0.209.0","0.209.1","0.209.2","0.209.3","0.209.3.dev1696259772","0.209.4","0.209.5","0.209.6","0.209.7","0.209.8","0.209.8.dev1697789637","0.210.0","0.210.0.dev1697796691","0.211.0","0.211.1","0.211.2","0.212.0","0.212.0.dev1698770659","0.212.0.dev1698790124","0.212.0.dev1699050277","0.212.0.dev1699288765","0.212.0.dev1699291750","0.213.0","0.213.0.dev1699372734","0.213.0.dev1699435418","0.213.0.dev1699437859","0.214.0","0.214.0.dev1699441271","0.214.0.dev1701082152","0.214.0.dev1701368154","0.215.0","0.215.1","0.215.2","0.215.2.dev1701810830","0.215.3","0.216.0","0.216.1","0.217.0","0.217.1","0.218.0","0.218.0.dev1705418681","0.218.1","0.219.0","0.219.1","0.219.2","0.220.0","0.220.0.dev1709543239","0.221.0","0.221.0.dev1710955937","0.221.1","0.222.0","0.223.0","0.224.0","0.224.0.dev1711748192","0.224.1","0.224.2","0.225.0","0.225.1","0.226.0","0.226.1","0.226.2","0.227.0","0.227.0.dev1713463204","0.227.0.dev1713475585","0.227.1","0.227.2","0.227.3","0.227.4","0.227.5","0.227.6","0.227.7","0.228.0","0.228.0.dev1713643365","0.229.0","0.229.1","0.229.2","0.229.2.dev1715873118","0.229.2.dev1715881453","0.230.0","0.230.0.dev1716318708","0.231.0","0.231.1","0.232.0","0.232.1","0.232.2","0.233.0","0.233.1","0.233.2","0.233.3","0.234.0","0.234.1","0.234.2","0.234.3","0.235.0","0.235.1","0.235.1.dev1719337273","0.235.2","0.236.0","0.236.1","0.236.2","0.237.0","0.237.1","0.237.2","0.237.3","0.238.0","0.238.1","0.239.0","0.239.1","0.239.2","0.240.0","0.240.1","0.240.2","0.240.3","0.240.3.dev1726159932","0.240.4","0.241.0","0.242.0","0.243.0","0.243.1","0.244.0","0.244.1","0.245.0","0.246.0","0.246.1","0.246.2","0.246.3","0.247.0","0.247.1","0.247.2","0.248.0","0.248.1","0.249.0","0.250.0","0.250.1","0.251.0","0.252.0","0.253.0","0.253.1","0.254.0","0.254.1","0.255.0","0.256.0","0.256.1","0.257.0.dev1735244504"],"versions_truncated":false},{"advisory":"PYSEC-2026-1946","ecosystem":"PyPI","name":"strawberry-graphql","purl":"pkg:pypi/strawberry-graphql","ranges":[{"introduced":"0.182.0","fixed":"0.257.0"}],"versions":["0.187.4","0.187.5","0.188.0","0.189.0","0.189.1","0.189.1.dev1687473609","0.189.2","0.189.3","0.190.0","0.190.0.dev1687447182","0.192.0","0.192.1","0.192.2","0.193.0","0.193.1","0.194.0","0.194.1","0.194.2","0.194.3","0.194.4","0.195.0","0.195.1","0.195.2","0.195.3","0.196.0","0.196.0.dev1689676980","0.196.0.dev1689676990","0.196.0.dev1690222024","0.196.1","0.196.2","0.197.0","0.197.0.dev1690539957","0.198.0","0.199.0","0.199.1","0.199.2","0.199.3","0.200.0","0.201.0","0.201.1","0.202.0","0.202.1","0.203.0","0.203.1","0.203.1.dev1691831108","0.203.2","0.203.3","0.204.0","0.205.0","0.206.0","0.207.0","0.207.1","0.208.0","0.208.1","0.208.2","0.208.3","0.209.0","0.209.1","0.209.2","0.209.3","0.209.3.dev1696259772","0.209.4","0.209.5","0.209.6","0.209.7","0.209.8","0.209.8.dev1697789637","0.210.0","0.210.0.dev1697796691","0.211.0","0.211.1","0.211.2","0.212.0","0.212.0.dev1698770659","0.212.0.dev1698790124","0.212.0.dev1699050277","0.212.0.dev1699288765","0.212.0.dev1699291750","0.213.0","0.213.0.dev1699372734","0.213.0.dev1699435418","0.213.0.dev1699437859","0.214.0","0.214.0.dev1699441271","0.214.0.dev1701082152","0.214.0.dev1701368154","0.215.0","0.215.1","0.215.2","0.215.2.dev1701810830","0.215.3","0.216.0","0.216.1","0.217.0","0.217.1","0.218.0","0.218.0.dev1705418681","0.218.1","0.219.0","0.219.1","0.219.2","0.220.0","0.220.0.dev1709543239","0.221.0","0.221.0.dev1710955937","0.221.1","0.222.0","0.223.0","0.224.0","0.224.0.dev1711748192","0.224.1","0.224.2","0.225.0","0.225.1","0.226.0","0.226.1","0.226.2","0.227.0","0.227.0.dev1713463204","0.227.0.dev1713475585","0.227.1","0.227.2","0.227.3","0.227.4","0.227.5","0.227.6","0.227.7","0.228.0","0.228.0.dev1713643365","0.229.0","0.229.1","0.229.2","0.229.2.dev1715873118","0.229.2.dev1715881453","0.230.0","0.230.0.dev1716318708","0.231.0","0.231.1","0.232.0","0.232.1","0.232.2","0.233.0","0.233.1","0.233.2","0.233.3","0.234.0","0.234.1","0.234.2","0.234.3","0.235.0","0.235.1","0.235.1.dev1719337273","0.235.2","0.236.0","0.236.1","0.236.2","0.237.0","0.237.1","0.237.2","0.237.3","0.238.0","0.238.1","0.239.0","0.239.1","0.239.2","0.240.0","0.240.1","0.240.2","0.240.3","0.240.3.dev1726159932","0.240.4","0.241.0","0.242.0","0.243.0","0.243.1","0.244.0","0.244.1","0.245.0","0.246.0","0.246.1","0.246.2","0.246.3","0.247.0","0.247.1","0.247.2","0.248.0","0.248.1","0.249.0","0.250.0","0.250.1","0.251.0","0.252.0","0.253.0","0.253.1","0.254.0","0.254.1","0.255.0","0.256.0","0.256.1","0.257.0.dev1735244504"],"versions_truncated":false}],"severity":"low","priority_score":37,"links":{"html_es":"/es/cve/CVE-2025-22151/","html_en":"/en/cve/CVE-2025-22151/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-22151","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-22151"},"untrusted":{"vendor_name":"strawberry-graphql","product_name":"strawberry","desc_en":"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.","affected":[{"untrusted_vendor":"strawberry-graphql","untrusted_product":"strawberry","versions":[]}],"references":[{"url":"https://github.com/strawberry-graphql/strawberry/commit/526eb82b70451c0e59d5a71ae9b7396f59974bd8","tags":[]},{"url":"https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-5xh2-23cc-5jc6","tags":[]}]}}