Intel

AIKIDO-2026-11021

pydantic-ai-backend is vulnerable to Race Condition leading to Denial of Service (DoS)

Race Condition leading to Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Yesterday

45

Medium Risk

This Affects:

PYTHONpydantic-ai-backend
0.1.0 - 0.2.9
Fixed in 0.2.10
Are you affected? Scan for Free

TL;DR

A race condition in SessionManager.get_or_create() allowed concurrent requests using the same session_id to bypass the check-then-create logic, causing multiple sandboxes to be created for a single session and potentially leaving one orphaned. This can lead to resource leakage, inconsistent session isolation, and unintended execution environments. An attacker might exploit this by sending parallel requests for the same session identifier, intentionally triggering duplicate sandbox creation to exhaust resources, interfere with session integrity, or increase the chances of interacting with a leaked sandbox instance.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

pydantic-ai-backend is vulnerable to Race Condition leading to Denial of Service (DoS) in versions 0.1.0 - 0.2.9.

How to fix this

Upgrade the pydantic-ai-backend library to the patch version.