Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

open-webui/open-terminal
main @ 98bd1a5
4
Fixes
0
CVEs
HIGH
Peak severity
25.0%
Coverage
Highlights
Path Traversal: 2 prior fixes. Scrutinize any change in this area.
open_terminal/main.py: most-fixed (2 issues). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Path Traversal: Inadequate verification of user-supplied paths in filesystem utilities allowed traversal outside of designated user home directories, enabling unauthorized read operations. Developers must consistently enforce canonicalization and prefix checks.
Path Traversal: A vulnerability in the upload endpoint allowed arbitrary file write access. Input paths must be strictly validated against a sandbox directory prefix after path resolution to prevent arbitrary file creation.
Auth Bypass: Failure to enforce multi-user directory isolation during recursive list, walk, glob, or grep operations allowed users to read directory structures of other terminal users.