Use of Non-Canonical URL Paths for Authorization Decisions Affecting browser-use package, versions [,0.1.45)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.04% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-BROWSERUSE-10118296
  • published14 May 2025
  • disclosed5 May 2025
  • creditMykyta Mudryi, markiyanch

Introduced: 5 May 2025

NewCVE-2025-47241  (opens in a new tab)
CWE-647  (opens in a new tab)

How to fix?

Upgrade browser-use to version 0.1.45 or higher.

Overview

browser-use is a Make websites accessible for AI agents

Affected versions of this package are vulnerable to Use of Non-Canonical URL Paths for Authorization Decisions through the _is_url_allowed() method, that responsible for checking allowed_domains list from BrowserContextConfig class . An attacker can manipulate basic authentication credentials and access restricted internal services by providing a username: password pair where the username is a whitelisted domain, effectively bypassing the domain check, even though the actual domain remains different.

Note: The vulnerability affects all users relying on this functionality for security and allows unauthorized enumeration of localhost services and internal networks.

CVSS Base Scores

version 4.0
version 3.1