browser-use is vulnerable to Incorrect Authorization
92
Critical Risk
Affected versions of the package are vulnerable to improper input validation, allowing bypass of domain whitelisting in the browser_use module. Although the allowed_domains list is meant to restrict accessible URLs, an attacker can craft URLs with embedded basic authentication credentials—such as https://example.com:pass@localhost:8080—to trick the system into allowing navigation to unauthorized domains. This bypass arises from flawed parsing logic in the _is_url_allowed() method, which strips port and user information without verifying the true target domain. As a result, attackers may gain unauthorized access to internal services or perform enumeration on localhost and private networks.
You are affected if you are using a version that falls within the vulnerable range.
browser-use is vulnerable to Incorrect Authorization in versions 0.1.0 - 0.1.44.
Upgrade the browser-use library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant