CVE-2026-26198: Ormar is a async mini ORM for Python
CVE-2026-26198 is a critical-severity flaw (CVSS 9.8) affecting ormar. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 tha
Why this priority
- Critical severity
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.0% (top 37%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2026-02-24 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: sergicortesabadia/CVE-2026-26198-analysis (0 stars)
- GitHub PoC: NetVanguard-cmd/CVE-2026-26198 (0 stars)
- Write-up: github.com/collerek/ormar/security/advisories/GHSA-xxh2-68g9-8jqr
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-26198?
ormar: upgrade to 0.23.0. Exact commands for each OS are on this page.
Is CVE-2026-26198 being exploited?
CVE-2026-26198 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-26198 affect?
CVE-2026-26198 affects ormar. Severity is critical (CVSS 9.8). 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 o
How urgent is CVE-2026-26198?
Priority 63/100. Critical severity; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-27953 HIGH 7.1 UPGRADE ormar is a async mini ORM for Python