Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @supabase/auth-js
  4. ›
  5. CVE-2025-48370

CVE-2025-48370: auth-js Vulnerable to Insecure Path Routing from Malformed User Input

May 27, 2025 (updated May 28, 2025)

The library functions getUserById, deleteUser, updateUserById, listFactors and deleteFactor did not require the user supplied values to be valid UUIDs. This could lead to a URL path traversal, resulting in the wrong API function being called.

Implementations that follow security best practice and validate user controlled inputs, such as the userId are not affected by this.

References

  • github.com/advisories/GHSA-8r88-6cj9-9fh5
  • github.com/supabase/auth-js
  • github.com/supabase/auth-js/commit/1bcb76e479e51cd9bca2d7732d0bf3199e07a693
  • github.com/supabase/auth-js/pull/1063
  • github.com/supabase/auth-js/security/advisories/GHSA-8r88-6cj9-9fh5
  • nvd.nist.gov/vuln/detail/CVE-2025-48370

Code Behaviors & Features

Detect and mitigate CVE-2025-48370 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.69.1

Fixed versions

  • 2.69.1

Solution

Upgrade to version 2.69.1 or above.

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/@supabase/auth-js/CVE-2025-48370.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:19:48 +0000.