Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The ormar package, versions 0.9.9 up to but not including 0.23.0, is vulnerable to SQL injection through the min() and max() aggregate functions, where a column name supplied as input is passed into raw SQL. An unauthenticated attacker who can reach an application endpoint that passes user input to these functions can run arbitrary SQL and read data from the database, including tables not tied to the queried model. Upgrade ormar to version 0.23.0 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 9.8 | Critical | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.010, the 63rd percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 15:04 UTC First seen by agentprime
- 31 Oct 2026, 15:04 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-xxh2-68g9-8jqr
- OSV: GHSA-xxh2-68g9-8jqr
- github.com/collerek/ormar/security/advisories/GHSA-xxh2-68g9-8jqr
- nvd.nist.gov/vuln/detail/CVE-2026-26198
- github.com/collerek/ormar/commit/a03bae14fe01358d3eaf7e319fcd5db2e4956b16
- github.com/collerek/ormar
- github.com/collerek/ormar/releases/tag/0.23.0
- pypi.org/project/ormar
- github.com/advisories/GHSA-xxh2-68g9-8jqr