CVE-2026-45829: CWE-94: Improper Control of Generation of Code ('Code Injection') in Chroma ChromaDB
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.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-45829) affects ChromaDB version 1.0.0 and later, enabling unauthenticated remote code execution through the /api/v2/tenants/{tenant}/databases/{db}/collections endpoint when trust_remote_code is enabled. The issue arises from improper control of code generation (CWE-94), allowing attackers to inject and execute arbitrary code by submitting a crafted model repository. The CVSS 4.0 base score is 10.0, indicating critical severity with network attack vector, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability. The vendor advisory from Red Hat is available but does not specify a patch or remediation status.
Potential Impact
Successful exploitation results in unauthenticated remote code execution on the server hosting ChromaDB, compromising confidentiality, integrity, and availability of the system. This can lead to full system compromise without any required authentication or user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://access.redhat.com/security/cve/CVE-2026-45829 for current remediation guidance. Until an official fix is available, avoid enabling the trust_remote_code parameter or restrict access to the vulnerable API endpoint to trusted users only.
CVE-2026-45829: CWE-94: Improper Control of Generation of Code ('Code Injection') in Chroma ChromaDB
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.
CVSS v4.0
Score 10.0critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-45829) affects ChromaDB version 1.0.0 and later, enabling unauthenticated remote code execution through the /api/v2/tenants/{tenant}/databases/{db}/collections endpoint when trust_remote_code is enabled. The issue arises from improper control of code generation (CWE-94), allowing attackers to inject and execute arbitrary code by submitting a crafted model repository. The CVSS 4.0 base score is 10.0, indicating critical severity with network attack vector, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability. The vendor advisory from Red Hat is available but does not specify a patch or remediation status.
Potential Impact
Successful exploitation results in unauthenticated remote code execution on the server hosting ChromaDB, compromising confidentiality, integrity, and availability of the system. This can lead to full system compromise without any required authentication or user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://access.redhat.com/security/cve/CVE-2026-45829 for current remediation guidance. Until an official fix is available, avoid enabling the trust_remote_code parameter or restrict access to the vulnerable API endpoint to trusted users only.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- HiddenLayer
- Date Reserved
- 2026-05-13T14:01:39.604Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-45829","vendor":"Red Hat"}]
Threat ID: 6a0c25c6ec166c07b08771b4
Added to database: 05/19/2026, 08:56:38 UTC
Last enriched: 07/15/2026, 08:13:01 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 133
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.