Vulnerabilities in pkg:pypi/chromadb

PACKAGE
Advisory Identifier: GHSA-f4j7-r4q5-qw2c
Advisory Summary

CVE-2026-45829 is a CRITICAL (CVSS 10.0) chromadb python project has a vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Chromadb libraries in the PyPI ecosystem. The issue involves chromadb python project has a pre-authentication code injection vulnerability. Remediation is available in the latest vendor maintenance releases.

4 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/chromadb

4 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/chromadb. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-f4j7-r4q5-qw2c CVE-2026-45829 CRITICAL ChromaDB Python project has a pre-authentication code injection vulnerability
GHSA-36p7-vc44-83pf CVE-2026-45833 CRITICAL ChromaDB has a code injection vulnerability
GHSA-xph7-9rjv-w5fr CVE-2026-45831 HIGH ChromaDB's SimpleRBACAuthorizationProvider doesn't check which tenant, database, or collection a permission applies to
GHSA-2wm9-hf6c-p5cr CVE-2026-45830 HIGH ChromaDB allows any authenticated users to arbitrarily read, write, update, or delete data in any tenant's collection

CVE-2026-45829 at a Glance

CVE Identifier CVE-2026-45829
GHSA Identifier GHSA-f4j7-r4q5-qw2c
Severity CRITICAL
CVSS v3.1 Base Score 10.0
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Chromadb
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 10.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-45829

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.

chromadb fixed: Latest secure release
pip install chromadb>=Latest secure release
Verify Direct and Transitive Dependencies

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-45829, 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-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. 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

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.

CVE-2026-45829 Affected Chromadb Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
chromadb
PyPI
≥ 1.0.0
≤ 1.5.9

References

Frequently Asked Questions

What is CVE-2026-45829?
CVE-2026-45829 is a security vulnerability in Chromadb involving ChromaDB Python project has a pre-authentication code injection vulnerability under CWE-502: Deserialization of Untrusted Data.
Which Chromadb versions are affected?
Affected versions include releases prior to current release patches across affected packages: chromadb.
What version fixes CVE-2026-45829?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is chromadb affected?
Yes, chromadb is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-45829?
CVE-2026-45829 has a CVSS v3.1 base score of 10.0 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2026-45829?
CVE-2026-45829 is classified under CWE-502: Deserialization of Untrusted Data (The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.).
How can I check PyPI dependencies for CVE-2026-45829?
Run the dependency tree command: 'pip show chromadb'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-f4j7-r4q5-qw2c",
  "modified" : "2026-10-05T21:32:32Z",
  "published" : "2026-05-18T18:31:30Z",
  "aliases" : [ "CVE-2026-45829" ],
  "summary" : "ChromaDB Python project has a pre-authentication code injection vulnerability",
  "details" : "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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "chromadb"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0"
      }, {
        "last_affected" : "1.5.9"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-45829"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/chroma-core/chroma/issues/6717"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2026-45829"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2479623"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-f4j7-r4q5-qw2c"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/chroma-core/chroma"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/chromadb/PYSEC-2026-311.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://pypi.org/project/chromadb"
  }, {
    "type" : "WEB",
    "url" : "https://www.hiddenlayer.com/research/chromatoast-served-pre-auth"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502", "CWE-94" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-29T19:15:04Z",
    "nvd_published_at" : "2026-05-18T17:16:34Z"
  }
}