Amenazas en vivo

Todas las CVE / Collerek

CVE-2026-26198Collerek Ormar

Alta 7.5 Sin autenticación

Prioridad
60
CVSS 3.1
7.5
EPSS
—
Requiere autenticación
No
Publicada
24 feb 2026
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-89
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Qué pasa

Ormar is a async mini ORM for Python. In versions 0.9.9 through 0.22.0, when performing aggregate queries, Ormar ORM constructs SQL expressions by passing user-supplied column names directly into `sqlalchemy.text()` without any validation or sanitization. The `min()` and `max()` methods in the `QuerySet` class accept arbitrary string input as the column parameter. While `sum()` and `avg()` are partially protected by an `is_numeric` type check that rejects non-existent fields, `min()` and `max()` skip this validation entirely. As a result, an attacker-controlled string is embedded as raw SQL inside the aggregate function call. Any unauthorized user can exploit this vulnerability to read the entire database contents, including tables unrelated to the queried model, by injecting a subquery as the column parameter. Version 0.23.0 contains a patch.

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 Ormar.
  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 ormar ≥ 0.9.9 < 0.23.0 0.23.0 pip install "ormar>=0.23.0"
PyPI ormar ≥ 0.9.9 < 0.23.0 0.23.0 pip install "ormar>=0.23.0"

Según OSV / GitHub Advisories (GHSA-xxh2-68g9-8jqr, PYSEC-2026-439). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
collerekormar≥ 0.9.9 < 0.23.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.