Hugging Face Text Embeddings Inference through 1.9.4 Cleartext API Key Logging
Hugging Face Text Embeddings Inference through 1.9.4 contains a cleartext logging vulnerability that exposes the configured api_key because the router's Args struct lacks a redact attribute for it. Attackers with access to router logs, container output, or OTLP telemetry can recover the Bearer token and call the protected embedding and rerank endpoints.
CVE-2026-108857
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-108857
Text Embeddings Inference
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/huggingface/text-embeddings-inference",
"vendor": "Hugging Face",
"product": "Text Embeddings Inference",
"versions": [
{
"status": "affected",
"version": "0",
"versionType": "semver",
"lessThanOrEqual": "1.9.4"
}
],
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-108857
Source reference:
/cveMetadata/cveId
Publisher severity
medium
Source reference: /containers/cna/metrics
- Event
- #20458 · Revision 1
- Added to Heist Feed
- Publisher date