CVE-2025-3777
NixOS vulnerability analysis and mitigation

Overview

Hugging Face Transformers versions up to 4.49.0 are affected by an improper input validation vulnerability identified as CVE-2025-3777. The vulnerability was discovered in July 2025 and affects the image_utils.py file of the Transformers library. The issue stems from insecure URL validation using the startswith() method (NVD).

Technical details

The vulnerability is classified as an improper input validation issue (CWE-20) in the URL validation mechanism. The flaw specifically exists in the image_utils.py file where the startswith() method is used for URL validation. The CVSS v3.0 base score is 3.5 (LOW) with the vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N, indicating a network-accessible vulnerability requiring low attack complexity and user interaction (NVD).

Impact

The vulnerability allows attackers to bypass URL validation through URL username injection. This bypass can enable attackers to craft URLs that appear to be from legitimate sources (such as YouTube) but actually resolve to malicious domains. The impact includes potential phishing attacks, malware distribution, and data exfiltration risks (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Hugging Face Transformers version 4.52.1. Users are advised to upgrade to this version or later to address the security issue. The fix can be found in the official repository commit (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48639HIGH7.3
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management