GHSA-f54f-hr32-586f: Duplicate Advisory `allowed_domains` Can Be Bypassed By Vulnerability

CRITICAL
CVSS 9.3
CWE-647
Published
Advisory Summary

GHSA-f54f-hr32-586f is a CRITICAL (CVSS 9.3) `allowed_domains` can be bypassed by vulnerability (CWE-647: Use of Non-Canonical URL Paths for Authorization Decisions) affecting Duplicate Advisory libraries in the PyPI ecosystem. The issue involves `allowed_domains` can be bypassed by putting a decoy domain in http auth username portion of a url. Remediation is available by upgrading affected packages to version 0.1.45.

GHSA-f54f-hr32-586f at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-f54f-hr32-586f
Severity CRITICAL
CVSS v3.1 Base Score 9.3
CWE Classification CWE-647: Use of Non-Canonical URL Paths for Authorization Decisions
Affected Product Duplicate Advisory
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 9.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity None (I:N)
Availability Low (A:L)

How to Fix GHSA-f54f-hr32-586f

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

browser-use fixed: 0.1.45
pip install browser-use>=0.1.45
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show browser-use

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-f54f-hr32-586f, inspect your installed packages using pip:

pip show browser-use

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.45), your application is affected.

Note: The pip show browser-use command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-647: Use of Non-Canonical URL Paths for Authorization Decisions, where the product defines policy namespaces and makes authorization decisions based on the assumption that a url is canonical. this can allow a non-canonical url to bypass the authorization. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

# Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-x39x-9qw5-ghrf. This link is maintained to preserve external references. # Original Description In browser-use (aka Browser Use) before 0.1.45, URL parsing of allowed_domains is mishandled because userinfo can be placed in the authority component.

GHSA-f54f-hr32-586f Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
0.1.45
Product / Package Ecosystem Affected Versions Fixed Version
browser-use
PyPI
< 0.1.45
0.1.45

References

Frequently Asked Questions

What is GHSA-f54f-hr32-586f?
GHSA-f54f-hr32-586f is a security vulnerability in Duplicate Advisory involving `allowed_domains` can be bypassed by putting a decoy domain in http auth username portion of a URL under CWE-647: Use of Non-Canonical URL Paths for Authorization Decisions.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 0.1.45 across affected packages: browser-use.
What version fixes GHSA-f54f-hr32-586f?
Upgrading to 0.1.45 (or the latest patched release for your respective branch) resolves the vulnerability.
Is browser-use affected?
Yes, browser-use is affected in releases prior to 0.1.45. Upgrade your dependency to 0.1.45 or later.
What is the CVSS score of GHSA-f54f-hr32-586f?
GHSA-f54f-hr32-586f has a CVSS v3.1 base score of 9.3 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L.
What CWE is associated with GHSA-f54f-hr32-586f?
GHSA-f54f-hr32-586f is classified under CWE-647: Use of Non-Canonical URL Paths for Authorization Decisions (The product defines policy namespaces and makes authorization decisions based on the assumption that a URL is canonical. This can allow a non-canonical URL to bypass the authorization.).
How can I check PyPI dependencies for GHSA-f54f-hr32-586f?
Run the dependency tree command: 'pip show browser-use'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-f54f-hr32-586f",
  "modified" : "2025-05-05T18:24:47Z",
  "published" : "2025-05-03T21:30:23Z",
  "withdrawn" : "2025-05-05T18:24:47Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: `allowed_domains` can be bypassed by putting a decoy domain in http auth username portion of a URL",
  "details" : "# Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-x39x-9qw5-ghrf. This link is maintained to preserve external references.\n\n# Original Description\nIn browser-use (aka Browser Use) before 0.1.45, URL parsing of allowed_domains is mishandled because userinfo can be placed in the authority component.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "browser-use"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.1.45"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.1.44"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/browser-use/browser-use/security/advisories/GHSA-x39x-9qw5-ghrf"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-47241"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/browser-use/browser-use/pull/1561"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/browser-use/browser-use"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/browser-use/browser-use/releases/tag/0.1.45"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-647" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-05-05T18:24:47Z",
    "nvd_published_at" : "2025-05-03T21:15:48Z"
  }
}