Description
browser-use web-ui versions 2.0.0 through 3.0.0 fail to validate browser settings paths in run_agent_task, allowing attackers to create directories at arbitrary locations by supplying absolute paths to save_recording_path, save_trace_path, save_agent_history_path, or save_download_path parameters. Attackers can exploit this via the unauthenticated Gradio interface to create directories anywhere the root-running container has write access.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| browser-use | web-ui | 2.0.0 – ≤ 3.0.0 | — |
References
- GitHub Issue #737 issue-tracking
- https://github.com/browser-use/web-ui product
- https://github.com/browser-use/web-ui/blob/v3.0.0/src/webui/components/browser_use_agent_tab.py technical-description
- VulnCheck Advisory: browser-use web-ui 2.0.0 through 3.0.0 Arbitrary Directory Creation third-party-advisory