CVE-2026-45829 ChromaDB Python project has a pre-authentication code injection vulnerability
An unauthenticated attacker can execute arbitrary code on the server by sending a malicious model repository with trust_remote_code enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-45829?
CVE-2026-45829 is a critical code injection vulnerability in ChromaDB, published on 18 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A pre-authentication, code injection vulnerability in version 1.0.0 or later of the ChromaDB Python project allows an unauthenticated attacker to run arbitrary code on the server by sending a malicious model repository and trust_remote_code set to true in the /api/v2/tenants/{tenant}/databases/{db}/collections endpoint.
Which versions are affected by CVE-2026-45829?
3 open source packages ship an affected version, including chromadb.
| Package | Affected | Fixed in |
|---|---|---|
chromadb PyPI | From 1.0.0 to 1.5.9 | None |
chromadb PyPI | From 1.0.0 to 1.5.9 | None |
chromadb PyPI | From 1.0.0 to 1.5.9 | None |
How do I fix CVE-2026-45829?
No fix has been published for CVE-2026-45829 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-45829 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45829 exists.
Public exploit code: 2 proofs of concept on GitHub.
Sources
Also known as GHSA-f4j7-r4q5-qw2c, PYSEC-2026-311.