p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in ormar

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für ormar: 0. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 2

  1. CVE-2026-27953

    Hoch · CVSS 7.1EPSS 1,21%Korrektur verfügbar

    ormar has a Pydantic Validation Bypass via Kwargs Injection in Model Constructor

    ormar is a async mini ORM for Python. Versions 0.23.0 and below are vulnerable to Pydantic validation bypass through the model constructor, allowing any unauthenticated user to skip all field validation by injecting "__pk_only__": true into a JSON request body. By injecting "__pk_only__": true into a JSON request body, an unauthenticated attacker can skip all field validation and persist unvalidated data directly to the database. A secondary __excluded__ parameter injection uses the same pattern to selectively nullify arbitrary model fields (e.g., email or role) during construction. This affects ormar's canonical FastAPI integration pattern r

    • Auf 0.23.1 aktualisieren
    Veröffentlicht Aktualisiert
  2. CVE-2026-26198

    Kritisch · CVSS 9.8EPSS 1,01%Korrektur verfügbar

    ormar is vulnerable to SQL Injection through aggregate functions min() and max()

    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

    • Auf 0.23.0 aktualisieren
    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →