CVE-2026-108857 Hugging Face Text Embeddings Inference through 1.9.4 Cleartext API Key Logging
Attackers with log access can recover cleartext API keys from Hugging Face Text Embeddings Inference, enabling unauthorized access to protected endpoints.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-108857?
CVE-2026-108857 is a medium-severity vulnerability in Hugging Face Text Embeddings Inference, published on 11 Oct 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-532
Which versions are affected by CVE-2026-108857?
How do I fix CVE-2026-108857?
No fix has been published for CVE-2026-108857 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-108857 being exploited?
There is no known exploitation of CVE-2026-108857 in the wild and no public exploit code.
Sources
Also known as GHSA-6w4q-53gw-556h.