CVE-2026-141557 — Potato-annotation — CWE-918
### Summary 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/<url>` 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 redirect. 2. A URL like `http://127.0.0.1:8080\@x.invalid/../latest/meta-data/iam`. The check resolves `x.invalid`, the lookup fails, and the check allows it. `requests` then connects to `127.0.0.1:8080` and requests `/latest/meta-data/iam`. GHSA-9394 fixed `/api/audio/proxy` by moving it to `server_utils/url_guard.fetch`, but the web proxy still uses its own validator. The `url_guard.py` module docstring already notes that this validator allows names it cannot resolve and does not check redirects. ### Details Code references are to 2.14.0. `potato/web_proxy.py` on master has the same git blob (53d0c48) as the 2.14.0 tag. - The blueprint is registered when a config has an `instance_display` field of type `web_agent_trace` or `web_agent_recorder` (`flask_server.py:5916-5933`). The example `examples/agent-traces/web-agent-review/config.yaml` does this. - `proxy()` requires a logged-in session or a proxy token (`web_proxy.py:134-136`). `user_config.allow_all_use
### Summary 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/<url>` 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 redirect. 2. A URL like `http://127.0.0.1:8080\@x.invalid/../latest/meta-data/iam`. The check resolves `x.invalid`, the lookup fails, and the check allows it. `requests` then connects to `127.0.0.1:8080` and requests `/latest/meta-data/iam`. GHSA-9394 fixed `/api/audio/proxy` by moving it to `server_utils/url_guard.fetch`, but the web proxy still uses its own validator. The `url_guard.py` module docstring already notes that this validator allows names it cannot resolve and does not check redirects. ### Details Code references are to 2.14.0. `potato/web_proxy.py` on master has the same git blob (53d0c48) as the 2.14.0 tag. - The blueprint is registered when a config has an `instance_display` field of type `web_agent_trace` or `web_agent_recorder` (`flask_server.py:5916-5933`). The example `examples/agent-traces/web-agent-review/config.yaml` does this. - `proxy()` requires a logged-in session or a proxy token (`web_proxy.py:134-136`). `user_config.allow_all_use
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-141557
CVSS 4.3/10 · MEDIUM · 02.12.2026
CWE: CWE-918
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
Summary: ### Summary
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/<url> 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.
Affected: potato-annotation
⚡ ATTACK VECTOR
Network / Remote (AV:N) · low-privilege account (PR:L) · no user interaction (UI:N) · low attack complexity (AC:L).
🌍 REAL WORLD IMPACT
Partial confidentiality disclosure (C:L).
🛡️ REMEDIATION
→ Apply vendor security update for potato-annotation.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
📋 Routine update cycle (30 days)
────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]