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.
Affected products
pavelzbornik: whisperx rest api
References3
- github.com/pavelzbornik/whisperX-FastAPI/commit/ef78fe2001deede… Patch
- github.com/pavelzbornik/whisperX-FastAPI/issues/256 Issue TrackingPatch
- github.com/pavelzbornik/whisperX-FastAPI/security/advisories/GH… ExploitMitigationThird Party Advisory
Metrics
- CVSS 3.1
-
5.8
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N - EPSS — exploit probability
- 0% percentile: 18 · as of 12 November 2026
- CWE
- CWE-918
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.