← Vulnerabilities

MediumAdvisoryPython

Potato: SSRF protection in /api/web_agent/proxy can be bypassed with a redirect or a backslash in the URL

Affected

PackageAffected versionsFixed in
pip:potato-annotation>= 2.4.0, <= 2.14.02.14.1

When a task config uses the web_agent_trace or web_agent_recorder display type, Potato registers a web proxy at /api/web_agent/proxy/ for logged-in annotators. The proxy is meant to refuse private and loopback addresses, and it does return 403 for http://127.0.0.1:8080/. Two kinds of input get past that check, and the proxy returns the internal response to the caller: 1. A public URL that answers with a redirect to an internal address. The hostname is checked once and requests follows the redir…

Read on GitHub Advisory Database

On 12/05/2026, 06:51 AM, GitHub Advisory Database published "Potato: SSRF protection in /api/web_agent/proxy can be bypassed with a redirect or a backslash in the URL" (type: Advisory). Severity is "Medium" (medium). Related technologies: Python. CVE: CVE-2026-141557.