CVE-2026-133276
CVE-2026-133276 · Validation bypass of Pydantic V1 dataclasses allowing extra data
CVSS 6.3 · Medium · EPSS 0.5% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- pydanticUpdate to 1.10.27
- pydantic Debian 12No fix published
- pydantic Debian 13Update to 2.4.2-1
- pydantic Debian 14Update to 2.4.2-1
- and 5 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="pydantic"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
When extra data is allowed (extra=Extra.allow), providing a __pydantic_initialised__ key when validating a Pydantic V1 dataclass makes it considered as already validated, resulting in field values not being validated. The __init__() method of Pydantic V1 dataclasses stores all the provided keyword arguments in the instance __dict__ before validation, so a __pydantic_initialised__ keyword argument overrides the internal flag used to skip validation of already validated instances. As a result, data returned by validation doesn't match the declared type. Affected are applications validating untrusted data into Pydantic V1 dataclasses allowing extra data. The issue was fixed in Pydantic 1.10.27. Users relying on the pydantic.v1 namespace in Pydantic V2 should upgrade to 2.14.2 or later.
- Published
- Updated
Stack: system
Affected products and versions
pydantic
- Versions
- ≥ 1.10.0, < 1.10.27: Affected (python)
Update to 1.10.27
pydantic Debian 12
- Versions
- 1.10.13-0.1
- 1.10.14-1
- 1.10.17-1
- 1.10.4-1
- 1.10.4-1+deb12u1
- 2.10.1-1
All versions (36)
- 2.10.2-1
- 2.10.3-1
- 2.10.4-1
- 2.10.4-2
- 2.10.5-1
- 2.10.6-1
- 2.10.6-2
- 2.12.0~a1-1
- 2.12.2-1
- 2.12.3-1
- 2.12.3-2
- 2.12.4-1
- 2.12.5-1
- 2.12.5-2
- 2.13.3-1
- 2.13.4-1
- 2.13.4-3
- 2.13.4-4
- 2.13.5-1
- 2.13.5-2
- 2.14.0-1
- 2.14.1-1
- 2.4.2-1
- 2.4.2-2
- 2.4.2-3
- 2.8.2-1
- 2.9.1-1
- 2.9.1-2
- 2.9.2-1
- 2.9.2-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pydantic Debian 13
- Affected ranges
- ECOSYSTEM: < 2.4.2-1
Update to 2.4.2-1
pydantic Debian 14
- Affected ranges
- ECOSYSTEM: < 2.4.2-1
Update to 2.4.2-1
pydantic Ubuntu Pro 20.04 LTS
- Versions
- 0.30.1-1
- 1.2-1
- 1.2-1ubuntu0.1~esm1
- 1.2-1ubuntu0.1~esm3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pydantic Ubuntu Pro 22.04 LTS
- Versions
- 1.7.4-1
- 1.8.2-1
- 1.8.2-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pydantic Ubuntu 24.04 LTS
- Versions
- 1.10.4-1ubuntu1
- 1.10.13-0ubuntu1
- 1.10.14-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pydantic Ubuntu 26.10
- Versions
- 2.12.5-2
- 2.13.4-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pydantic Ubuntu 26.04 LTS
- Versions
- 2.10.6-2
- 2.12.5-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/pydantic/pydantic/security/advisories/GHSA-r49w-vh47-r4hf
- https://github.com/pydantic/pydantic/blob/v1.10.26/pydantic/dataclasses.py#L295-L298
- https://github.com/pydantic/pydantic/blob/v1.10.26/pydantic/dataclasses.py#L430-L434
- https://github.com/pydantic/pydantic/commit/b26913fe6
- https://github.com/pydantic/pydantic/releases/tag/v2.14.2
- https://nvd.nist.gov/vuln/detail/CVE-2026-133276