CVE 5.8 MEDIUM

whisperX REST API: SSRF in download_from_url() — URL validation happens after HTTP request, extension bypass via .mp3_CVE-2026-34981

5.8 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Description

The whisperX API is a tool for enhancing and analyzing audio content. From 0.3.1 to 0.5.0, FileService.download_from_url() in app/services/file_service.py calls requests.get(url) with zero URL validation. The file extension check occurs AFTER the HTTP request is already made, and can be bypassed by appending .mp3 to any internal URL. The /speech-to-text-url endpoint is unauthenticated. This vulnerability is fixed in 0.6.0.

Basic Information

ID CVE-2026-34981
Source GitHub_M
Published Apr 6, 2026 at 16:19
Modified Apr 6, 2026 at 18:45

Affected Product

Vendor pavelzbornik
Product whisperX-FastAPI
Version >= 0.3.1, < 0.6.0
Affected Versions pavelzbornik whisperX-FastAPI >= 0.3.1, < 0.6.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.