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

- Severity: Medium 4.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-10-11T13:26:05.169Z
- Modified: 2026-10-16T17:25:57.940Z
- Weaknesses: CWE-532
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- Hugging Face Text Embeddings Inference: up to 1.9.4

## Every score

- VulnCheck: CVSS:4.0 4.8 Medium `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`
- VulnCheck: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/huggingface-text-embeddings-inference-api-key-startup-log> (third-party-advisory)
- <https://github.com/huggingface/text-embeddings-inference/blob/e80ef225ed0e6cb1717ce632a6a84b6cf211bb67/router/src/main.rs#L170-L174> (technical-description)
- <https://github.com/huggingface/text-embeddings-inference/blob/e80ef225ed0e6cb1717ce632a6a84b6cf211bb67/router/src/main.rs#L204-L216> (technical-description)
- <https://github.com/huggingface/text-embeddings-inference> (product)
- <https://www.vulncheck.com/advisories/hugging-face-text-embeddings-inference-through-1.9.4-cleartext-api-key-logging> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-108857](https://www.cve.org/CVERecord?id=CVE-2026-108857), CVE Terms of Use, modified 2026-10-13
- NVD: [CVE-2026-108857](https://nvd.nist.gov/vuln/detail/CVE-2026-108857), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-108857 · Whole record: https://cve.day/CVE-2026-108857.json · Rebuilt by cve.day 2026-11-25T22:59:43.516Z
