CVE-2026-34981 whisperX REST API: SSRF in download_from_url() — URL validation happens after HTTP request, extension bypass via .mp3
MediumCVSS 5.8
EPSS 0.44%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pavelzbornik whisperx rest api | >= 0.3.1, < 0.6.0 | 0.6.0 | Fixed |
| pavelzbornik whisperX-FastAPI | = >= 0.3.1, < 0.6.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pavelzbornik whisperX-FastAPI | = >= 0.3.1, < 0.6.0 | No fix listed |
| pavelzbornik whisperx rest api | >= 0.3.1, < 0.6.0 | 0.6.0 |
References
- https://github.com/pavelzbornik/whisperX-FastAPI/security/advisories/GHSA-6rc7-r867-c635 exploit mitigation third-party-advisory
- https://github.com/pavelzbornik/whisperX-FastAPI/issues/256 issue-tracking patch
- https://github.com/pavelzbornik/whisperX-FastAPI/commit/ef78fe2001deede5354031e4200d41c6a7e8cbfc patch