CVE-2026-26198
A public proof of concept exists; no exploitation attested.
- Published2026-02-24
- Fixed in0.23.0
- WeaknessCWE-89
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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 user can exploit this vulnerability to read the entire database contents, including tables unrelated to the queried model, by injecting a subquery as the column parameter. Version 0.23.0 contains a patch.
Timeline
dates in UTC- 2026-02-2403:16CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.x | ≥ 0.9.9, < 0.23.0 | 0.23.0 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- collerek ormarAffected
- = >= 0.9.9, < 0.23.0no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-02-24
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- ormarUbuntu:26.10all versions · no fixed version listed
- ormarUbuntu:26.04:LTSall versions · no fixed version listed
- ormarUbuntu:25.10all versions · no fixed version listed
- ormarUbuntu:24.04:LTSall versions · no fixed version listed
- ormarDebian:14all versions · fixed in 0.23.0-1
- ormarDebian:12all versions · no fixed version listed
Fix
- Update Collerek ormar to 0.23.0
Advisories and patches
- github.comPatch
- github.comRelease Notes
- github.comVendor Advisory
Detection
read 2026-11-18 10:51 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2026-02-24
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-18sergicortesabadia/CVE-2026-26198-analysis
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2026-02-24
- CNACVSS 3.19.8known since 2026-10-23
- GitHub AdvisoriesCVSS 3.19.82026-11-16
- NVDCVSS 3.17.5read 2026-10-23
- CNAweakness (CWE)CWE-89known since 2026-10-23
- GitHub Advisoriesweakness (CWE)CWE-892026-11-16
- FIRST EPSSEPSS score1.0 %2026-11-18
- PoC-in-GitHubproof of concept1known since 2026-11-18
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCRITICAL2026-02-23
Identifiers
- EUVD-2026-7409same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-xxh2-68g9-8jqrsame flawGitHub Advisory Database · CC-BY-4.0
- PYSEC-2026-439same flawPyPA Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Published
- 2026-02-24
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-xxh2-68g9-8jqr
Frequently asked questions
What is CVE-2026-26198?
Is CVE-2026-26198 actively exploited?
What is the CVSS score for CVE-2026-26198?
Running ormar? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-27953same product
- CVE-2026-20127KEVsame weekCisco Catalyst SD-WAN Controller Authentication Bypass Vulnerability
- CVE-2026-20133KEVsame week
- CVE-2026-20122KEVsame weekCisco Catalyst SD-WAN Manager Arbitrary File Overwrite Vulnerability
- CVE-2026-22719KEVsame week
- CVE-2026-20128KEVsame week
- CVE-2026-27966same week
- CVE-2026-3065same weekHummerRisk Cloud Task Dry-run CloudTaskService.java CommandUtils.commonExecCmdWithResult command injection
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-xxh2-68g9-8jqr
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- CISA Vulnrichment · CC0-1.0