RepoJournal
FastAPI & Pydantic

FastAPI & Pydantic

FastAPI and the Pydantic + SQLModel async-Python stack

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

One email a day. Unsubscribe in one click.

Pick a date

Topics: Python Full archive →

The Wire · Showcase

FASTAPI AND SQLMODEL PATCH CRITICAL GITHUB ACTIONS FLAW ACROSS THE STACK

By RepoJournal · Filed · About FastAPI & Pydantic

Both FastAPI and SQLModel just closed a privilege escalation hole in their CI/CD pipelines where fork pull requests could execute untrusted code in trusted contexts.

The vulnerability sits in GitHub Actions checkout configurations [1] [2] [3]. When `actions/checkout@v7` runs in `pull_request_target` contexts, it was pulling fork code instead of the base repository's trusted code, creating a window for attackers to inject malicious workflows. FastAPI fixed this across two critical workflows , and SQLModel deployed the same fix . This matters because `pull_request_target` is the exact context where you run sensitive operations like release automation and notification systems. Meanwhile, Pydantic is shipping a performance win: caching the `ModelPrivateAttr.default_factory_takes_validated_data` property [4] [6] to eliminate redundant checks during model initialization. The team also clarified YAML example documentation [5] [7] to mention PyYAML as an explicit dependency rather than burying it in prose.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] 👷 Fix notify translations checkout target ↗ fastapi/fastapi
  2. [2] 👷 Fix latest-changes checkout target ↗ fastapi/fastapi
  3. [3] 👷 Fix latest-changes checkout target ↗ tiangolo/sqlmodel
  4. [4] Cache `ModelPrivateAttr.default_factory_takes_validated_data` property ↗ pydantic/pydantic
  5. [5] Mention PyYAML installation for YAML example ↗ pydantic/pydantic
  6. [6] Cache `ModelPrivateAttr.default_factory_takes_validated_data` property (#13390) pydantic/pydantic
  7. [7] Mention PyYAML installation for YAML example (#13400) pydantic/pydantic

Quick answers

What shipped in FastAPI & Pydantic on July 5, 2026?
Both FastAPI and SQLModel just closed a privilege escalation hole in their CI/CD pipelines where fork pull requests could execute untrusted code in trusted contexts. In total, 6 commits and 6 pull requests landed.
Who contributed to FastAPI & Pydantic on July 5, 2026?
3 developers shipped this update, including tiangolo, Viicos, and dhruvatr.
What were the notable FastAPI & Pydantic updates?
👷 Fix notify translations checkout target, 👷 Fix latest-changes checkout target, and 👷 Fix latest-changes checkout target.

More from FastAPI & Pydantic

Daily updates, in your inbox

Follow FastAPI & Pydantic

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

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?

We use privacy-friendly analytics (Google Analytics, IP-anonymized) to see which pages help readers. No ads, and we never sell your data. See our Privacy Policy.