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

- Severity: Medium 5.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-06T16:19:13.887Z
- Modified: 2026-10-24T13:10:00.147Z
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pavelzbornik whisperX-FastAPI: >= 0.3.1, < 0.6.0
- pavelzbornik whisperx_rest_api: from 0.3.1 before 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)

## Sources

- CVE List: [CVE-2026-34981](https://www.cve.org/CVERecord?id=CVE-2026-34981), CVE Terms of Use, modified 2026-04-06
- NVD: [CVE-2026-34981](https://nvd.nist.gov/vuln/detail/CVE-2026-34981), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-34981 · Whole record: https://cve.day/CVE-2026-34981.json · Rebuilt by cve.day 2026-11-25T22:59:18.031Z
