Skip to main content
Menu
Advisories

Unauthenticated SSRF on /api/audio/proxy can reach internal / cloud metadata endpoints

GHSA-9394-85JJ-2MHJPublished Updated GitHub

Description

Correction, 2026-08-26: an earlier version of this advisory said this was fixed in 2.8.1. That was wrong — the fix was not included in that release, and 2.8.1 is affected. It is fixed in 2.8.2. If you upgraded to 2.8.1 on the strength of this advisory, upgrade again.

/api/audio/proxy accepted a URL from the query string, fetched it server-side and returned the response body to the caller. The endpoint required no authentication and validated only that the URL began with http:// or https://.

Anyone able to reach the Potato port could use the server to fetch and read any URL the server could reach, including cloud instance metadata services, loopback-bound admin interfaces and internal HTTP APIs.

/api/waveform/generate and /api/video/waveform/generate were affected by the same defect. They do not return the response body, but they fetch caller-supplied URLs, and when the input is not a URL they pass it as a local path to a subprocess, which discloses whether an arbitrary path exists on the host.

Affected: 2.8.1 and earlier. Fixed in: 2.8.2.

Workaround for anyone who cannot upgrade: block /api/audio/proxy, /api/waveform/generate and /api/video/waveform/generate at your reverse proxy. Audio waveform rendering falls back to the client.

Affected versions

References

GitHub · davidjurgens/potato