Skip to content
FlawDB
Sign in

CVE-2026-141557

MEDIUM 4.3

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

AI summary AI generated

An attacker can use the Potato annotation tool's web agent proxy to bypass SSRF protections via redirects or backslash URLs and read internal services.

Mitigation

  • Upgrade potato to 2.14.1 or later.

Who should check

  • Anyone running davidjurgens potato >= 2.4.0, < 2.14.1

Vulnerability facts

Affected
davidjurgens potato >= 2.4.0, < 2.14.1
Fixed in
davidjurgens potato 2.14.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
4.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: None
  • Availability impact: None
CWE
CWE-918
Published
Modified

Description

Potato is a portable annotation tool. From 2.4.0 until 2.14.1, deployments using the web_agent_trace or web_agent_recorder display type expose /api/web_agent/proxy/<url> to a logged-in annotator or a holder of a proxy token. In potato/web_proxy.py, _validate_url passes urlparse(url).hostname to _is_private_ip, 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 and fixed versions

Package / productAffectedFixedSource
davidjurgens potato>= 2.4.0, < 2.14.1—cvelist

Versions mentioned in the description AI generated

Extracted by AI; each line quotes the description word for word. Source data above takes precedence.

  • Affected: potato From 2.4.0 until 2.14.1 From 2.4.0 until 2.14.1
  • Fixed: potato 2.14.1 This issue is fixed in version 2.14.1.

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-141557. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-141557.md
Affected: davidjurgens potato >= 2.4.0, < 2.14.1
Fixed in: davidjurgens potato 2.14.1

Steps:
1. Search this machine and project for davidjurgens potato: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-141557 being exploited?

There is no confirmed exploitation: CVE-2026-141557 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is CVE-2026-141557?

Medium: CVSS 4.3 (v3.1, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2026-141557?

davidjurgens potato >= 2.4.0, < 2.14.1.

Is there a fix for CVE-2026-141557?

Yes. Fixed in davidjurgens potato 2.14.1. Upgrade potato to 2.14.1 or later.

How do I check if I'm affected by CVE-2026-141557?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors