---
schema_version: '1.0'
id: security-20260711-6be3b2
url: https://osv.dev/vulnerability/PYSEC-2026-311
url_hash: 6be3b20cecec535473871aa01735f05dd861e7402cc615ac79df4aece2faeb20
canonical_url: https://osv.dev/vulnerability/PYSEC-2026-311
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-45829
- PYSEC-2026-311
- severity: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
- chromadb
- PyPI
lang: en
published_at: '2026-06-29T11:50:50Z'
fetched_at: '2026-07-11T06:37:17Z'
updated_at: '2026-07-11T06:38:28Z'
status: published
content_hash: 00c6a90bc90b15afc9b678522975bea8392017d56694b90007e4e7b3b621f2e5
license_note: full
summary: ChromaDB Python project has a pre-authentication code injection vulnerability
summary_source: rss
summary_en: ChromaDB Python project has a pre-authentication code injection vulnerability
entities:
- name: Python
  type: artifact
- name: Project Learning
  type: method
- name: HashTag
  type: concept
key_facts: []
related: []
related_auto:
- name: SustainableQuantumComputing
  type: concept
  weight: 3.0
- name: Alpha School
  type: organization
  weight: 1.0
title: 'CVE-2026-45829: ChromaDB Python project has a pre-authentication code injection
  vulnerability'
---

# CVE-2026-45829: ChromaDB Python project has a pre-authentication code injection vulnerability

## TL;DR
ChromaDB Python project has a pre-authentication code injection vulnerability

## Key Points
- cve / CVE-2026-45829 / PYSEC-2026-311 / severity: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 / chromadb / PyPI

## Details
**Severity:** 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
**Advisory:** PYSEC-2026-311 (CVE-2026-45829)

**Affected (your watchlist):**
- `PyPI:chromadb` 1.1.1 → no fixed version listed [docker/local+docker/mac]
- `PyPI:chromadb` 1.5.0 → no fixed version listed [docker/docker-strands]
- `PyPI:chromadb` 1.5.9 → no fixed version listed [docker/docker-strands+docker/local+docker/mac]

**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.

**References:**
- https://nvd.nist.gov/vuln/detail/CVE-2026-45829
- https://github.com/chroma-core/chroma/issues/6717
- https://github.com/chroma-core/chroma
- https://www.hiddenlayer.com/research/chromatoast-served-pre-auth
- https://pypi.org/project/chromadb
- https://github.com/advisories/GHSA-f4j7-r4q5-qw2c

_Data: OSV.dev (upstream: pypa) — https://osv.dev/vulnerability/PYSEC-2026-311_

## Source
元記事: [CVE-2026-45829: ChromaDB Python project has a pre-authentication code injection vulnerability](https://osv.dev/vulnerability/PYSEC-2026-311) — published 2026-06-29T11:50:50Z
