# CVE-2026-108857: Hugging Face Text Embeddings Inference through 1.9.4 Cleartext API Key Logging

> CVE-2026-108857: Hugging Face Text Embeddings Inference through 1.9.4 Cleartext API Key Logging. CVSS 3.3 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-108857
Last updated: 2026-10-16T17:25:57Z

- Published: 2026-10-11 13:26 UTC · Updated: 2026-10-16 17:25 UTC · Assigner: VulnCheck
- CVSS: 3.3 (CVSS 3.1) · Severity: Low · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.11%, 1th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-532

## 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.

## Affected vendors and products

- Hugging Face: Text Embeddings Inference

## Tracked companies

- [Hugging Face](https://rewindex.com/company/hugging-face.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-108857)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-108857)
- [https://github.com/huggingface/text-embeddings-inference](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#L170-L174)
- [https://github.com/huggingface/text-embeddings-inference/blob/e80ef225ed0e6cb1717ce632a6a84b6cf211bb67/router/src/main.rs\#L204-L216](https://github.com/huggingface/text-embeddings-inference/blob/e80ef225ed0e6cb1717ce632a6a84b6cf211bb67/router/src/main.rs#L204-L216)
- [https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/huggingface-text-embeddings-inference-api-key-startup-log](https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/huggingface-text-embeddings-inference-api-key-startup-log)
- [https://www.vulncheck.com/advisories/hugging-face-text-embeddings-inference-through-1.9.4-cleartext-api-key-logging](https://www.vulncheck.com/advisories/hugging-face-text-embeddings-inference-through-1.9.4-cleartext-api-key-logging)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-108857 · Markdown: https://rewindex.com/cve/CVE-2026-108857.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-108857 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:13:32.185Z
