Improperly Controlled Modification of Dynamically-Determined Object Attributes Affecting ormar package, versions [,0.23.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.19% (64th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-ORMAR-15701843
  • published20 Mar 2026
  • disclosed19 Mar 2026
  • creditHussein Aldulaimi

Introduced: 19 Mar 2026

CVE-2026-27953  (opens in a new tab)
CWE-915  (opens in a new tab)

How to fix?

Upgrade ormar to version 0.23.1 or higher.

Overview

ormar is an An async ORM with fastapi in mind and pydantic validation.

Affected versions of this package are vulnerable to Improperly Controlled Modification of Dynamically-Determined Object Attributes via the model constructor when injecting the __pk_only__ or __excluded__ parameters when used with ormar's canonical FastAPI integration pattern. An attacker can bypass all field validation and persist unvalidated or manipulated data directly to the database by including specially crafted keys in a JSON request body. This can lead to privilege escalation, data integrity violations, and unauthorized modification of sensitive fields.

CVSS Base Scores

version 4.0
version 3.1