CVE-2026-45833: Chromadb ChromaDB Has A Code Injection Vulnerability
CRITICALCVE-2026-45833 is a CRITICAL chromadb has a code injection vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Chromadb libraries in the PyPI ecosystem. The issue involves chromadb has a code injection vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2026-45833 at a Glance
How to Fix CVE-2026-45833
To remediate this vulnerability, upgrade all affected Chromadb dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install chromadb>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show chromadb
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-45833, inspect your installed packages using pip:
pip show chromadb
Analyze the terminal output to locate any version of Chromadb in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show chromadb command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Chromadb, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-45833 Affected Chromadb Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
chromadb
|
PyPI |
≥ 0.4.17
≤ 1.5.9
|
|
References
Frequently Asked Questions
What is CVE-2026-45833?
Which Chromadb versions are affected?
What version fixes CVE-2026-45833?
Is chromadb affected?
What CWE is associated with CVE-2026-45833?
How can I check PyPI dependencies for CVE-2026-45833?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-36p7-vc44-83pf",
"modified" : "2026-08-24T20:03:34Z",
"published" : "2026-06-12T18:31:56Z",
"aliases" : [ "CVE-2026-45833" ],
"summary" : "ChromaDB has a code injection vulnerability",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "chromadb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.4.17"
}, {
"last_affected" : "1.5.9"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-45833"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2026-45833"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2488430"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/chroma-core/chroma"
}, {
"type" : "WEB",
"url" : "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45833.json"
}, {
"type" : "WEB",
"url" : "https://www.hiddenlayer.com/sai-security-advisory/2026-06-chromadb-5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-94" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-24T20:03:34Z",
"nvd_published_at" : "2026-06-12T16:16:29Z"
}
}