
CVE catalog
CVE-2026-27953
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 validati
- Severity
- High · CVSS 7.1
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.21% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ormar | sid | 0.26.0-1 | fixed |
| Debian | ormar | forky | 0.26.0-1 | fixed |
| Debian | ormar | bookworm | 0.12.0-3 | vulnerable |
| Pip | ormar | Not reported | 0.23.1 | fixed |
| Cpe | ormar | Not reported | Not reported | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ormar | source | sid | 0.23.1-1 | not yet assigned | Not reported | [1131494] |
| Debian | ormar | source | forky | 0.23.1-1 | not yet assigned | Not reported | [1131494] |
| Debian | ormar | source | bookworm | (unfixed) | not yet assigned | Not reported | [1131494] |
| Pip | ormar | pip | Not reported | 0.23.1 | Not reported | Not reported | Not reported |
Notes
[bookworm] ormar: Low popcon
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-ormar]Affected
Source package: [ormar]
Details (2)
0.12.0-3· all · bookwormAffected
nvd · ormar · debian · bookworm; nvd · ormar · debian · 12
0.12.0-3· all · bookwormAffected
nvd · ormar · debian · bookworm; nvd · ormar · debian · 12
Observed:
References
- [https://github.com/advisories/GHSA-f964-whrq-44h8]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-27953]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-27953]
- [https://security-tracker.debian.org/tracker/CVE-2026-27953]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database]