CVE-2026-27953
Last modified
CVE-2026-27953 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 1.19% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Collerek | Ormar | < 0.23.1 |
References
- https://github.com/ormar-orm/ormar/releases/tag/0.23.1Product, Release Notes
- https://github.com/ormar-orm/ormar/security/advisories/GHSA-f964-whrq-44h8Exploit, Mitigation, Vendor Advisory
- https://github.com/ormar-orm/ormar/security/advisories/GHSA-f964-whrq-44h8Exploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-27953?
How severe is CVE-2026-27953?
How do I fix CVE-2026-27953?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-27948Copyparty is a portable file server. In versions prior to 1.…6.1
- CVE-2026-27949Plane is an an open-source project management tool. Prior to…4.3
- CVE-2026-2795Use-after-free in the JavaScript: GC component. This vulnera…9.8
- CVE-2026-27950FreeRDP is a free implementation of the Remote Desktop Proto…7.5
- CVE-2026-27951FreeRDP is a free implementation of the Remote Desktop Proto…7.5
- CVE-2026-27952Agenta is an open-source LLMOps platform. In Agenta-API prio…9.9
- CVE-2026-27954Live Helper Chat is an open-source application that enables …6.5
- CVE-2026-27955Coolify is an open-source and self-hostable tool for managin…6.6
- CVE-2026-27956Coolify is an open-source and self-hostable tool for managin…4.3
- CVE-2026-27957Coolify is an open-source and self-hostable tool for managin…8.8
- CVE-2026-27959Koa is middleware for Node.js using ES2017 async functions. …7.5
- CVE-2026-2796JIT miscompilation in the JavaScript: WebAssembly component.…9.8
Are you affected by CVE-2026-27953?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
