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

Exp

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.

Published: 2025-07-07 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-3777 is rated Exploit Available (50/100): CVSS Low severity, with low exploitation likelihood (EPSS 0.33%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2025-3777

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2025-3777

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.06% 0.33% +0.28%
2 2026-05-03 0.02% 0.06% +0.04%
3 2026-02-18 0.02%

Full EPSS history (4 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-3777

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
3.5 3.0 LOW
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
2.1 1.4 [email protected]

Weakness enumeration for CVE-2025-3777

GitHub Security Advisory for CVE-2025-3777

GHSA-phhr-52qp-3mj4 · Severity: low · Ecosystem: pip — Transformers's Improper Input Validation vulnerability can be exploited through username injection

OS Trackers for CVE-2025-3777

vendor priority summary link
redhat low https://access.redhat.com/security/cve/CVE-2025-3777

Affected software / configurations for CVE-2025-3777

Vendor Product Version Raw CPE
huggingface transformers < 4.52.1 cpe:2.3:a:huggingface:transformers:*:*:*:*:*:*:*:*

References for CVE-2025-3777

cvelogic Threat Intelligence