# GHSA-9394-85JJ-2MHJ: Unauthenticated SSRF on /api/audio/proxy can reach internal / cloud metadata endpoints

- Database: GitHub
- Severity: CVSS 8.6 (High)
- Published: 2026-08-26
- Modified: 2026-08-26

## Affected versions

- potato-annotation (PyPI): through 2.8.1

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

## References

- https://github.com/davidjurgens/potato/security/advisories/GHSA-9394-85jj-2mhj

Page: https://cve.now/GHSA-9394-85JJ-2MHJ

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
