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

- 種別: advisory
- 重大度: medium
- 関連技術: python
- CVE: CVE-2026-141557
- 公開日時: 2026-12-04T21:51:09.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-hh7f-fmp2-c679)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-hh7f-fmp2-c679

影響: pip:potato-annotation >= 2.4.0, <= 2.14.0 → 2.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…