Amenazas en vivo

Todas las CVE / strawberry-graphql

CVE-2025-22151strawberry-graphql strawberry

Baja 3.7 Sin autenticación

Prioridad
37
CVSS 3.1
3.7
EPSS
0.5%
probabilidad de explotación en 30 días · percentil 38
Requiere autenticación
No
Publicada
9 ene 2025
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-843
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Qué pasa

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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para strawberry.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
PyPI strawberry-graphql ≥ 0.182.0 < 0.257.0 0.257.0 pip install "strawberry-graphql>=0.257.0"
PyPI strawberry-graphql ≥ 0.182.0 < 0.257.0 0.257.0 pip install "strawberry-graphql>=0.257.0"

Según OSV / GitHub Advisories (GHSA-5xh2-23cc-5jc6, PYSEC-2026-1946). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados

Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.