Skip to content
MediumNews

Unpatched ChromaDB flaw leaves servers open to remote code execution

Published
Record updated
View JSON

Summary

Researchers at HiddenLayer published details of CVE-2026-45829, a critical flaw in ChromaDB's API server that allows unauthenticated attackers to execute arbitrary code and access sensitive data. The flaw exists from version 1.0.0 up to 1.5.8, where the server parses embedding model references before its authentication check, so a request that loads a malicious Hugging Face model runs its code even when the request fails. HiddenLayer says over 73% of publicly accessible ChromaDB instances findable via Shodan run a vulnerable version.

Mitigation

Until a patch becomes available, the researchers advise deploying ChromaDB servers using the Rust implementation, which is not affected, instead of the Python FastAPI server. Network access to the ChromaDB port should also be restricted to trusted IP addresses only.