Skip to main content
VulnerabilityPublished Updated

CVE-2026-27953: ormar is a async mini ORM for Python

Affects ormarSource GCVE Database

0
Compare
Authoritative record:CVE-2026-27953· High 7.1

Not known to be exploited · CVSS 7.1 High · fixed in 0.23.1 : patch ormar soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.3% chance of exploitation in 30 days – higher than 72% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.23.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10ormarpkg:deb/ubuntu/ormar?arch=source&distro=stonkingOther threatsAffected
  • =0.22.0-1
  • =0.24.0-2
Fixed in–
Ubuntu 26.04 LTSormarpkg:deb/ubuntu/ormar?arch=source&distro=resoluteOther threatsAffected
  • 0.12.2-1 – 0.22.0-1
4 affected builds
Fixed in–
Ubuntu 25.10ormarpkg:deb/ubuntu/ormar?arch=source&distro=questingOther threatsAffected
  • =0.12.2-1
Fixed in–
Ubuntu 24.04 LTSormarpkg:deb/ubuntu/ormar?arch=source&distro=nobleOther threatsAffected
  • =0.12.0-3
  • =0.12.2-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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 recommended in its official documentation, enabling privilege escalation, data integrity violations, and business logic bypass in any application using ormar.Model directly as a request body parameter. This issue has been fixed in version 0.23.1.

References

Community reviews

Loading reviews…