Incident report

ChromaDB ChromaToast Pre-Auth RCE via Malicious trust_remote_code Model Load

CVE-2026-45829 (CVSS 10.0, dubbed ChromaToast by HiddenLayer) affected ChromaDB Python FastAPI servers from v1.0.0 through v1.5.8. An unauthenticated attacker could send a collection-creation payload specifying a custom embedding function referencing an attacker-hosted Hugging Face repository with `trust_remote_code=true`. Because server logic initialized the embedding function prior to complete authentication enforcement, ChromaDB fetched and executed arbitrary Python code from the remote model repo. Maintainers patched collection validation and blocked arbitrary remote code loading on unauthenticated server routes.

Incident record

Reported
Severity
Critical
Vector
Supply Chain
Affected system type
RAG Vector Databases & Embedding Servers
Reference
CVE-2026-45829
Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2026-45829

Inspect in Interactive Incidents Hub

Defensive lesson

Never allow API requests to specify trust_remote_code=true or arbitrary dynamic embedding-function loaders on vector database servers.

Referenced techniques