RepoJournal
FastAPI & Pydantic FastAPI & Pydantic
140 wires and counting

$ follow FastAPI & Pydantic

Keep up with FastAPI & Pydantic in about 3 minutes: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

fair warning: these emails are deeply technical. diffs, version numbers, CVEs, benchmark deltas. if that's not your idea of a good read, this isn't your newsletter.

Folds into your digest — weekly by default, monthly if you prefer. Unsubscribe in one click.

$ status

wire 2026-10-30
stories 39

© 2026 RepoJournal Home Showcase How it works Privacy

$ the-wire · showcase

Five Pydantic validation bypasses and a quadratic URL check

By RepoJournal · Filed · About FastAPI & Pydantic · Composed from the cited sources · methodology

Pydantic closed five validation holes that let malformed or oversized input slip past model checks, four of them allowing extra data to be accepted where it should have been rejected.

Quadratic time and memory multi-host URL validation pydantic/pydantic

Multi-host URL validation no longer runs in quadratic time and memory, so adversarial URLs that previously made the check blow up in cost are now bounded. Any service validating user-supplied URLs is the exposed surface.

Unbounded exponent in Fraction validation pydantic/pydantic

Fraction validation previously accepted an unbounded exponent, letting a crafted numeric literal drive the validator into disproportionate work. The fix caps what the exponent is allowed to reach.

Validation bypass of extra data keys in JSON model validation pydantic/pydantic

JSON model validation could be bypassed so extra data keys were accepted despite the model's configuration. Schemas that relied on that check to strip unknown fields were silently passing them through.

Validation bypass of aliased fields in TypedDict and dataclasses allowing extra data pydantic/pydantic

TypedDict and dataclass validation could be bypassed through aliased fields, letting extra data into structures that should have rejected it. Code depending on those types to enforce a closed set of keys was not enforcing it.

Validation bypass of Pydantic V1 dataclasses allowing extra data pydantic/pydantic

The Pydantic V1 dataclass path carries the same extra-data bypass, so projects still running V1 code get the equivalent fix.

Quick answers

What shipped in FastAPI & Pydantic on October 30, 2026?
Pydantic closed five validation holes that let malformed or oversized input slip past model checks, four of them allowing extra data to be accepted where it should have been rejected. In total, 15 commits, 15 pull requests, 2 releases, and 7 security advisories landed.
What were the notable FastAPI & Pydantic updates?
Quadratic time and memory multi-host URL validation, Unbounded exponent in Fraction validation, and Validation bypass of extra data keys in JSON model validation.