Chroma Vector Store Node Gives Members Access to the Host's Chroma Cloud Account
Summary
Impact
The Chroma Vector Store node accepted a Chroma Cloud credential with an empty API key. With an empty key, the Chroma client fell back to the CHROMA_API_KEY environment variable of the n8n process. A member who could create credentials and run workflows could save such a credential and...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| npmn8n |
< 2.49.0→ >= 2.49.0 |
>= 2.49.0 |
| dockern8nio/n8n |
< 3.3.0→ >= 3.3.0 |
>= 3.3.0 |
Original description The description as published by the source.
Impact
The Chroma Vector Store node accepted a Chroma Cloud credential with an empty API key. With an empty key, the Chroma client fell back to the CHROMA_API_KEY environment variable of the n8n process. A member who could create credentials and run workflows could save such a credential and read, overwrite or delete the collections of the Chroma Cloud account configured on the host.
Exploitation required the CHROMA_API_KEY environment variable to be set on the n8n instance.
Patches
The issue has been fixed in n8n versions 2.49.0 and 3.3.0. Users should upgrade to one of these versions or later to remediate the vulnerability.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Restrict n8n instance access to fully trusted users only.
- Remove the
CHROMA_API_KEYenvironment variable from the n8n process if it is not required. - Disable the Chroma Vector Store node by adding
@n8n/n8n-nodes-langchain.vectorStoreChromaDBto theNODES_EXCLUDEenvironment variable if it is not required. - Rotate the Chroma Cloud API key configured on the host and review its collections for unexpected changes.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV
References
- GITHUB_REPO_ADVISORY n8n-io/n8n