CVE-2026-45833: CWE-94: Improper Control of Generation of Code ('Code Injection') in Chroma ChromaDB
A code injection vulnerability in version 0.4.17 or later of the ChromaDB Python project allows an authenticated 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/default_tenant/databases/default_database/collections/{collection_id} if they have the UPDATE_COLLECTION permission.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-45833) in ChromaDB version 0.4.17 or later involves improper control of code generation (CWE-94). It allows an authenticated user with UPDATE_COLLECTION permission to execute arbitrary code on the server by submitting a malicious model repository and enabling the trust_remote_code option in the API endpoint /api/v2/tenants/default_tenant/databases/default_database/collections/{collection_id}. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no user interaction, and high impacts on confidentiality, integrity, availability, and security requirements. The Red Hat advisory is available but does not provide explicit patch or remediation details.
Potential Impact
Successful exploitation permits an attacker with limited privileges (UPDATE_COLLECTION permission) to run arbitrary code on the server hosting ChromaDB, potentially leading to full system compromise, data breach, or service disruption. The vulnerability affects confidentiality, integrity, availability, and security controls at a high level, making it critical in severity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or temporary mitigation is stated in the Red Hat advisory, users should restrict UPDATE_COLLECTION permissions to trusted users only and avoid enabling the trust_remote_code option until a patch is available.
CVE-2026-45833: CWE-94: Improper Control of Generation of Code ('Code Injection') in Chroma ChromaDB
Description
A code injection vulnerability in version 0.4.17 or later of the ChromaDB Python project allows an authenticated 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/default_tenant/databases/default_database/collections/{collection_id} if they have the UPDATE_COLLECTION permission.
CVSS v4.0
Score 9.4critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-45833) in ChromaDB version 0.4.17 or later involves improper control of code generation (CWE-94). It allows an authenticated user with UPDATE_COLLECTION permission to execute arbitrary code on the server by submitting a malicious model repository and enabling the trust_remote_code option in the API endpoint /api/v2/tenants/default_tenant/databases/default_database/collections/{collection_id}. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no user interaction, and high impacts on confidentiality, integrity, availability, and security requirements. The Red Hat advisory is available but does not provide explicit patch or remediation details.
Potential Impact
Successful exploitation permits an attacker with limited privileges (UPDATE_COLLECTION permission) to run arbitrary code on the server hosting ChromaDB, potentially leading to full system compromise, data breach, or service disruption. The vulnerability affects confidentiality, integrity, availability, and security controls at a high level, making it critical in severity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or temporary mitigation is stated in the Red Hat advisory, users should restrict UPDATE_COLLECTION permissions to trusted users only and avoid enabling the trust_remote_code option until a patch is available.
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-45833","vendor":"Red Hat"}]
Threat ID: 6a2c2836e617e2d83487d717
Added to database: 06/12/2026, 15:39:34 UTC
Last enriched: 07/31/2026, 13:01:43 UTC
Last updated: 07/31/2026, 21:29:47 UTC
Views: 84
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.