Medium
Hugging Face Text Embeddings Inference through 1.9.4 Cleartext API Key Logging
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-108857
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 01:24 UTC · Revision 1
Source evidence
Hugging Face Text Embeddings Inference through 1.9.4 Cleartext API Key Logging
core-osv · Original sourcePublished 11 Oct 2026, 13:26 UTC
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.
osv:CVE-2026-108857
Complete source record
{
"id": "67a8e46e6216c1cd6e39b1c9150919966977a015828ca5c3e92cc56e508b62f0",
"url": "https://osv.dev/vulnerability/CVE-2026-108857",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Hugging Face Text Embeddings Inference through 1.9.4 Cleartext API Key Logging",
"summary": "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.",
"evidence": "osv:CVE-2026-108857",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-108857",
"aliases": [
"CVE-2026-108857"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/huggingface/text-embeddings-inference",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "e80ef225ed0e6cb1717ce632a6a84b6cf211bb67"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.9.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.9.4"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"v1.9.4",
"v1.9.3",
"v1.9.2",
"v1.9.1",
"v1.9.0",
"v1.8.3",
"v1.8.2",
"v1.8.1",
"v1.8.0",
"v1.7.4",
"v1.7.3",
"v1.7.2",
"v1.7.1",
"v1.7.0",
"v1.6.1",
"v1.6.0",
"v1.5.1",
"v1.5.0",
"v1.4.0",
"v1.3.0",
"v1.2.3",
"v1.2.2",
"v1.2.1",
"v1.2.0",
"v1.1.0",
"v1.0.0",
"v0.6.0",
"v0.5.0",
"v0.4.0",
"v0.3.0",
"v0.2.2",
"v0.2.1",
"v0.2.0",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-108857.json"
}
}
],
"modified": "2026-10-28T02:30:24.873800656Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108857.json",
"https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/huggingface-text-embeddings-inference-api-key-startup-log",
"https://nvd.nist.gov/vuln/detail/CVE-2026-108857",
"https://www.vulncheck.com/advisories/hugging-face-text-embeddings-inference-through-1.9.4-cleartext-api-key-logging",
"https://github.com/huggingface/text-embeddings-inference",
"https://github.com/huggingface/text-embeddings-inference/blob/e80ef225ed0e6cb1717ce632a6a84b6cf211bb67/router/src/main.rs#L170-L174",
"https://github.com/huggingface/text-embeddings-inference/blob/e80ef225ed0e6cb1717ce632a6a84b6cf211bb67/router/src/main.rs#L204-L216"
],
"provider_metadata": {
"cwe_ids": [
"CWE-532"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108857.json"
}
},
"related_cves": [
{
"value": "CVE-2026-108857",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 491603,
"published_at": "2026-10-11T13:26:05.169+00:00"
}