{"id":"CVE-2026-34981","summary":"whisperX REST API: SSRF in download_from_url() — URL validation happens after HTTP request, extension bypass via .mp3","details":"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.","aliases":["GHSA-6rc7-r867-c635"],"modified":"2026-08-12T03:51:12.401350868Z","published":"2026-04-06T16:19:13.887Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34981.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-918"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34981.json"},{"type":"ADVISORY","url":"https://github.com/pavelzbornik/whisperX-FastAPI/security/advisories/GHSA-6rc7-r867-c635"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34981"},{"type":"REPORT","url":"https://github.com/pavelzbornik/whisperX-FastAPI/issues/256"},{"type":"FIX","url":"https://github.com/pavelzbornik/whisperX-FastAPI/commit/ef78fe2001deede5354031e4200d41c6a7e8cbfc"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pavelzbornik/whisperx-fastapi","events":[{"introduced":"3ab48ff98e3487c1899c79a655d3c041b40fa2bc"},{"fixed":"042b57d7f506748f7b16c1d5766b16ae8a9558e4"},{"fixed":"ef78fe2001deede5354031e4200d41c6a7e8cbfc"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:pavelzbornik:whisperx_rest_api:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.3.1"},{"fixed":"0.6.0"}]}}],"versions":["v0.5.1","v0.5.0","v0.4.7","v0.4.6","v0.4.5","v0.4.4","v0.4.3","v0.4.2","v0.4.1","v0.4.0","v0.3.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34981.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N"}]}