p PatchFirst

PatchFirst · Latest vulnerabilities

potato-annotation vulnerabilities

Vulnerabilities published for potato-annotation in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerability: 1

  1. GHSA-q9m2-fhv9-3jcf

    Medium · CVSS 5.1Fix available

    `potato-annotation` has a Project-Boundary Bypass

    ## Summary `validate_path_security` uses string-prefix containment (`startswith`) for boundary checks. This allows paths that are **outside** the intended project directory but share its prefix string (e.g., `/tmp/potato_proj_demo_evil/...` vs `/tmp/potato_proj_demo`) to be accepted. ## Details ### Affected source location (root cause) **File:** `potato/server_utils/config_module.py` **Snippet (lines 370–373):** ```python real_path = os.path.realpath(normalized_path) real_base = os.path.realpath(base_dir) if not real_path.startswith(real_base): raise ConfigSecurityError(...) ``` **Snippet (lines 384–389):** ```python real_path = os.pat

    • Update to 2.4.5

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →