3.5

CVE-2025-3777: Improper Input Validation in huggingface/transformers

Analyzed
AliasesGHSA-phhr-52qp-3mj4PYSEC-2026-1986CGA-2vp3-g576-f857
Published 07-07-2025Last modified 07-07-2025

Vulnerability summary

CVE-2025-3777 is a low (CVSS 3.5) Improper Input Validation vulnerability in huggingface huggingface/transformers. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 34.9% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 3.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
3.5/10
010
Low · v3.0 (CVE.org)
EPSS score
0.41%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 0 · Related 3

Timeline

  1. 07-07-2025
    PublishedVulnerability first disclosed.
  2. 07-07-2025
    Last modifiedVulnerability information updated.

Description

Hugging Face Transformers versions up to 4.49.0 are affected by an improper input validation vulnerability in the `image_utils.py` file. The vulnerability arises from insecure URL validation using the `startswith()` method, which can be bypassed through URL username injection. This allows attackers to craft URLs that appear to be from YouTube but resolve to malicious domains, potentially leading to phishing attacks, malware distribution, or data exfiltration. The issue is fixed in version 4.52.1.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.41%

Chance of exploitation in the next 30 days

Percentile

35%

Versus all other CVEs

30-day change

Increase +0.03 pp

From 0.38% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (huntr.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard7 products
  • nemo< 2.3.2-r1
  • py3.10-transformers-4.51All versions (No fix recorded)
  • py3.11-transformers-4.51All versions (No fix recorded)
  • py3.12-transformers-4.51All versions (No fix recorded)
  • py3.13-transformers-4.51All versions (No fix recorded)
Huggingface2 products
PyPI1 product
  • transformers< 4.52.1

3 vendors · 10 products

References

8 links