UBUNTU-CVE-2026-27953

Source
https://ubuntu.com/security/CVE-2026-27953
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27953.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-27953
Upstream
Published
2026-03-19T21:17:00Z
Modified
2026-05-20T16:24:52.743882665Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L CVSS Calculator
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:24.04:LTS / ormar

Package

Name
ormar
Purl
pkg:deb/ubuntu/ormar?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.12.0-3
0.12.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-ormar",
            "binary_version": "0.12.2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27953.json"

Ubuntu:25.10 / ormar

Package

Name
ormar
Purl
pkg:deb/ubuntu/ormar?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.12.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-ormar",
            "binary_version": "0.12.2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27953.json"

Ubuntu:26.04:LTS / ormar

Package

Name
ormar
Purl
pkg:deb/ubuntu/ormar?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.12.2-1
0.20.2-1
0.21.0-1
0.22.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-ormar",
            "binary_version": "0.22.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27953.json"