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

Published Dec 2, 2026
·
Updated

Potato is a portable annotation tool. From 2.4.0 until 2.14.1, deployments using the webagenttrace or webagentrecorder display type expose /api/webagent/proxy/<url> to a logged-in annotator or a holder of a proxy token. In potato/webproxy.py, validateurl passes urlparse(url).hostname to isprivateip, which uses getaddrinfo once and allows a socket.gaierror lookup failure. The proxy follows redirects without checking the destination, allowing a public URL to redirect to a private or loopback service. A URL containing a backslash in its authority can also be interpreted differently by the validator and the HTTP client, causing a connection to an internal address after the failed hostname lookup is allowed. An annotator can read the internal response, and open enrollment with local registration can make an annotator account available to anyone who can reach the deployment. This issue is fixed in version 2.14.1.

Affected Software

1 affected component
Potato Potato>=2.4.0<2.14.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Potato to a version that resolves this vulnerability.

    Fixed in 2.14.1

Event History

Dec 2, 2026
CVE Published
via MITRE·08:27 PM
Data Sourced
via MITRE·08:27 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Deployments running versions from 2.4.0 through 2.14.1 that use the web_agent_trace or web_agent_recorder display type are exposed through the web-agent proxy endpoint.

2

What access does an attacker need?

An attacker needs either a logged-in annotator account or a proxy token. If open enrollment with local registration is enabled, anyone able to reach the deployment may be able to register an annotator account.

3

Can an attacker access internal services through this issue?

Yes. A public URL can redirect to a private or loopback service, or a URL with a backslash in its authority can cause the HTTP client to connect internally; the annotator can read the internal response.

4

What should be done to remediate the issue?

Upgrade to version 2.14.1, which fixes the issue. Until upgrading, restrict access to annotator accounts and proxy tokens, and avoid open enrollment with local registration where possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203