CVE Explorer
CVE-2026-27953
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-915","description":"CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:3ca09745d0b70d92a948f9ba6911e6e90ca8691d7848c0f31e8244eb895d46a6 · sha256:8111ad2ed5845587… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:3ca09745d0b70d92a948f9ba6911e6e90ca8691d7848c0f31e8244eb895d46a6 · sha256:8111ad2ed5845587… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"ormar","vendor":"ormar-orm","versions":[{"status":"affected","version":"< 0.23.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:3ca09745d0b70d92a948f9ba6911e6e90ca8691d7848c0f31e8244eb895d46a6 · sha256:8111ad2ed5845587… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.1,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:3ca09745d0b70d92a948f9ba6911e6e90ca8691d7848c0f31e8244eb895d46a6 · sha256:8111ad2ed5845587… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-915","description":"CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:3ca09745d0b70d92a948f9ba6911e6e90ca8691d7848c0f31e8244eb895d46a6 · sha256:8111ad2ed5845587… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:3ca09745d0b70d92a948f9ba6911e6e90ca8691d7848c0f31e8244eb895d46a6 · sha256:8111ad2ed5845587… · /containers/cna/problemTypes/1/descriptions/0
Source references
10 source assertions{"name":"https://github.com/ormar-orm/ormar/blob/master/examples/fastapi_quick_start.py#L55","tags":["x_refsource_MISC"],"url":"https://github.com/ormar-orm/ormar/blob/master/examples/fastapi_quick_start.py#L55"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3ca09745d0b70d92a948f9ba6911e6e90ca8691d7848c0f31e8244eb895d46a6 · sha256:8111ad2ed5845587… · /containers/cna/references/2
{"name":"https://github.com/ormar-orm/ormar/blob/master/ormar/fields/foreign_key.py#L41","tags":["x_refsource_MISC"],"url":"https://github.com/ormar-orm/ormar/blob/master/ormar/fields/foreign_key.py#L41"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3ca09745d0b70d92a948f9ba6911e6e90ca8691d7848c0f31e8244eb895d46a6 · sha256:8111ad2ed5845587… · /containers/cna/references/3
{"name":"https://github.com/ormar-orm/ormar/blob/master/ormar/models/helpers/pydantic.py#L108","tags":["x_refsource_MISC"],"url":"https://github.com/ormar-orm/ormar/blob/master/ormar/models/helpers/pydantic.py#L108"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3ca09745d0b70d92a948f9ba6911e6e90ca8691d7848c0f31e8244eb895d46a6 · sha256:8111ad2ed5845587… · /containers/cna/references/4
{"name":"https://github.com/ormar-orm/ormar/blob/master/ormar/models/model.py#L89","tags":["x_refsource_MISC"],"url":"https://github.com/ormar-orm/ormar/blob/master/ormar/models/model.py#L89"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3ca09745d0b70d92a948f9ba6911e6e90ca8691d7848c0f31e8244eb895d46a6 · sha256:8111ad2ed5845587… · /containers/cna/references/5
{"name":"https://github.com/ormar-orm/ormar/blob/master/ormar/models/newbasemodel.py#L128","tags":["x_refsource_MISC"],"url":"https://github.com/ormar-orm/ormar/blob/master/ormar/models/newbasemodel.py#L128"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3ca09745d0b70d92a948f9ba6911e6e90ca8691d7848c0f31e8244eb895d46a6 · sha256:8111ad2ed5845587… · /containers/cna/references/6
{"name":"https://github.com/ormar-orm/ormar/blob/master/ormar/models/newbasemodel.py#L292","tags":["x_refsource_MISC"],"url":"https://github.com/ormar-orm/ormar/blob/master/ormar/models/newbasemodel.py#L292"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3ca09745d0b70d92a948f9ba6911e6e90ca8691d7848c0f31e8244eb895d46a6 · sha256:8111ad2ed5845587… · /containers/cna/references/7
{"name":"https://github.com/ormar-orm/ormar/commit/7f22aa21a7614b993970345b392dabb0ccde0ab3","tags":["x_refsource_MISC"],"url":"https://github.com/ormar-orm/ormar/commit/7f22aa21a7614b993970345b392dabb0ccde0ab3"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3ca09745d0b70d92a948f9ba6911e6e90ca8691d7848c0f31e8244eb895d46a6 · sha256:8111ad2ed5845587… · /containers/cna/references/1
{"name":"https://github.com/ormar-orm/ormar/releases/tag/0.23.1","tags":["x_refsource_MISC"],"url":"https://github.com/ormar-orm/ormar/releases/tag/0.23.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3ca09745d0b70d92a948f9ba6911e6e90ca8691d7848c0f31e8244eb895d46a6 · sha256:8111ad2ed5845587… · /containers/cna/references/8
{"tags":["exploit"],"url":"https://github.com/ormar-orm/ormar/security/advisories/GHSA-f964-whrq-44h8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3ca09745d0b70d92a948f9ba6911e6e90ca8691d7848c0f31e8244eb895d46a6 · sha256:8111ad2ed5845587… · /containers/adp/0/references/0
{"name":"https://github.com/ormar-orm/ormar/security/advisories/GHSA-f964-whrq-44h8","tags":["x_refsource_CONFIRM"],"url":"https://github.com/ormar-orm/ormar/security/advisories/GHSA-f964-whrq-44h8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3ca09745d0b70d92a948f9ba6911e6e90ca8691d7848c0f31e8244eb895d46a6 · sha256:8111ad2ed5845587… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.