CVE-2026-34981
MEDIUMwhisperX REST API: SSRF in download_from_url() — URL validation happens after HTTP request, extension bypass via .mp3
Title source: cnaDescription
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.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/pavelzbornik/whisperX-FastAPI/security/advisories/GHSA-6rc7-r867-c635
X_Refsource_Misc x_refsource_misc
https://github.com/pavelzbornik/whisperX-FastAPI/issues/256
X_Refsource_Misc x_refsource_misc
https://github.com/pavelzbornik/whisperX-FastAPI/commit/ef78fe2001deede5354031e4200d41c6a7e8cbfc
Scores
CVSS v3
5.8
EPSS
0.0025
EPSS Percentile
16.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-918
Status
published
Products (2)
pavelzbornik/whisperX-FastAPI
>= 0.3.1, < 0.6.0
pavelzbornik/whisperx_rest_api
0.3.1 - 0.6.0
Published
Apr 06, 2026
Tracked Since
Apr 06, 2026