CVE-2026-141557

Source
https://cve.org/CVERecord?id=CVE-2026-141557
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-141557.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-141557
Aliases
  • GHSA-hh7f-fmp2-c679
Published
2026-12-02T20:27:22Z
Modified
2026-12-02T22:00:20Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Potato: SSRF protection in /api/web_agent/proxy can be bypassed with a redirect or a backslash in the URL
Details

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/ 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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-918"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141557.json"
}
References

Affected packages

Git / github.com/davidjurgens/potato

Affected ranges

Type
GIT
Repo
https://github.com/davidjurgens/potato
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "2.4.0"
                },
                {
                    "fixed":  "2.14.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "4e6f4d8c4a2160cdea6cafe0c0ec58badc4ce18d"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v2.14.1",
            "range":  [
                {
                    "fixed":  "6782cbbeaea0fbc12bbeb4618bb245b8b5c92301"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

v2.*
v2.10.0
v2.10.1
v2.10.2
v2.10.3
v2.11.0
v2.11.1
v2.12.0
v2.12.1
v2.12.2
v2.12.3
v2.13.0
v2.13.1
v2.14.0
v2.4.0
v2.4.1
v2.4.3
v2.4.4
v2.4.5
v2.5.0
v2.6.0
v2.6.2
v2.7.0
v2.7.1
v2.8.0
v2.8.1
v2.8.2
v2.9.0
v2.9.1
v2.9.2
v2.9.3
v2.9.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-141557.json"