{"id":"CVE-2026-108857","revision":"23e62ce0a9514283ab71b958c988298c","records":[{"revision":"23e62ce0a9514283ab71b958c988298c","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-108857","aliases":[],"title":"Hugging Face Text Embeddings Inference through 1.9.4 Cleartext API Key Logging","description":"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.","state":0,"publishedAt":"2026-10-11T13:26:05.169+00:00","modifiedAt":"2026-10-13T16:59:39.344+00:00","affected":[{"ecosystem":"Vendor product","name":"Text Embeddings Inference","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Hugging Face\",\n                    \"product\": \"Text Embeddings Inference\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"1.9.4\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"repo\": \"https://github.com/huggingface/text-embeddings-inference\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":4.8,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":3.3,"severity":"LOW"}],"references":["https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/huggingface-text-embeddings-inference-api-key-startup-log","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","https://github.com/huggingface/text-embeddings-inference","https://www.vulncheck.com/advisories/hugging-face-text-embeddings-inference-through-1.9.4-cleartext-api-key-logging"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-108857","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-108857","identifiers":["CVE-2026-108857"]},"retained":false,"historicalAffected":[]}],"coverage":[]}