{"id":"CVE-2026-108857","summary":"Hugging Face Text Embeddings Inference through 1.9.4 Cleartext API Key Logging","details":"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.","modified":"2026-10-13T02:45:37.967519198Z","published":"2026-10-11T13:26:05.169Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-532"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108857.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108857.json"},{"type":"ADVISORY","url":"https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/huggingface-text-embeddings-inference-api-key-startup-log"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-108857"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/hugging-face-text-embeddings-inference-through-1.9.4-cleartext-api-key-logging"},{"type":"PACKAGE","url":"https://github.com/huggingface/text-embeddings-inference"},{"type":"ARTICLE","url":"https://github.com/huggingface/text-embeddings-inference/blob/e80ef225ed0e6cb1717ce632a6a84b6cf211bb67/router/src/main.rs#L170-L174"},{"type":"ARTICLE","url":"https://github.com/huggingface/text-embeddings-inference/blob/e80ef225ed0e6cb1717ce632a6a84b6cf211bb67/router/src/main.rs#L204-L216"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/huggingface/text-embeddings-inference","events":[{"introduced":"0"},{"fixed":"e80ef225ed0e6cb1717ce632a6a84b6cf211bb67"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"1.9.4"},{"fixed":"1.9.4"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["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"}}],"schema_version":"1.9.0","severity":[{"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"}]}