CVE-2026-108857

Hugging Face Text Embeddings Inference through 1.9.4 Cleartext API Key Logging

Published Oct 11, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability resides in the Hugging Face Text Embeddings Inference service up to version 1.9.4. An unchecked argument in the router’s Args struct causes the api_key to be written to plain‑text logs. When an attacker can read router logs, container stdout, or OTLP telemetry they can extract the Bearer token, then use it to call protected embedding and reranking endpoints without authorization. This results in credential disclosure and potential abuse.

Affected Systems

The affected product is Hugging Face Text Embeddings Inference, with the issue present through version 1.9.4. Any deployment that uses an earlier or equal version inherits the flaw, as the router code does not apply a redact attribute to the api_key field. The vulnerability applies to every instance that logs requests.

Risk and Exploitability

The CVSS score of 4.8 indicates a low‑to‑moderate severity, and no EPSS data or KEV listing are available. The potential impact depends on attacker ability to access logs, which is feasible in compromised or mis‑configured environments. The flaw does not allow arbitrary code execution but exposes authentication credentials that grant access to all protected endpoints, making the risk significant in high‑value deployments.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest release of Text Embeddings Inference that includes the fix for logging credential redaction.
  • If upgrading is not possible, modify the router configuration or source code to add a redact attribute to the api_key field in the Args struct, ensuring the key is omitted from logs.
  • Restrict or secure access to router logs, container output, and OTLP telemetry so that only privileged users can read them.

Generated by OpenCVE AI on October 11, 2026 at 14:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Huggingface
Huggingface text-embeddings-inference
Vendors & Products Huggingface
Huggingface text-embeddings-inference
Type Values Removed Values Added
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.
Title Hugging Face Text Embeddings Inference through 1.9.4 Cleartext API Key Logging
Weaknesses CWE-532
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 4.8, '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'}

Weaknesses
  • CWE-532

    Insertion of Sensitive Information into Log File

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 13, 2026, 4:59 PM
Reserved
Oct 11, 2026, 1:06 PM
Status
Awaiting Analysis
Published
Oct 11, 2026, 2:17 PM
Modified
Oct 16, 2026, 5:25 PM