Medium severity · published Apr 6, 2026
CVE-2026-34981
whisperX REST API: SSRF in download_from_url() — URL validation happens after HTTP request, extension bypass via .mp3
5.8
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 17% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WH
whisperX-FastAPI · pavelzbornik
>= 0.3.1, < 0.6.0 · source: vendor
WR
Whisperx Rest Api · Pavelzbornik
0.3.1 before 0.6.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-34981
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-34981
Patch
https://github.com/pavelzbornik/whisperX-FastAPI/commit/ef78fe2001deede5354031e4200d41c6a7e8cbfc
Issue Tracking
https://github.com/pavelzbornik/whisperX-FastAPI/issues/256
Exploit
https://github.com/pavelzbornik/whisperX-FastAPI/security/advisories/GHSA-6rc7-r867-c635
