Skip to content
CriticalVulnerability

GHSA-x39x-9qw5-ghrf: Browser Use allows bypassing `allowed_domains` by putting a decoy domain in http auth username portion of a URL

Published
Record updated
View JSON
Affected
  • browser-use <= 0.1.44
Fixed in
0.1.45
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

The browser_use module's allowed_domains check in _is_url_allowed() in browser_use/browser/context.py can be bypassed by placing a whitelisted domain in the username portion of an HTTP basic-auth URL. The domain is parsed from netloc and only the port is stripped, so https://example.com:pass@localhost:8080 passes the check while navigating to localhost:8080. The source states this allows enumeration of localhost services and internal networks and unauthorized browsing.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.