CVE-2025-48370 in Javascript products
auth-js is an isomorphic Javascript library for Supabase Auth. Prior to version 2.70.0, 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 ...
Affects 0 products from 3 vendors. Facts below cite their sources.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Javascript | — | — |
| Supabase | — | — |
| Valid | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
auth-js is an isomorphic Javascript library for Supabase Auth. Prior to version 2.70.0, 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. This issue has been patched in version 2.70.0.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-48370 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-039481-I |
| Published | 2025-05-27 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-22: Path Traversal
Attacker manipulates file path inputs to access files outside the intended directory.
CWE-287: Improper Authentication
Software does not prove or insufficiently proves that the user is who they claim to be.
Related attack patterns (CAPEC)
CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data via CWE-287
CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22
CAPEC-76 Manipulating Web Input to File System Calls via CWE-22
CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22
CAPEC-79 Using Slashes in Alternate Encoding via CWE-22
Show all 15
CAPEC-633 Token Impersonation via CWE-287
CAPEC-650 Upload a Web Shell to a Web Server via CWE-287
CAPEC-126 Path Traversal via CWE-22
CAPEC-194 Fake the Source of Data via CWE-287
CAPEC-593 Session Hijacking via CWE-287
CAPEC-22 Exploiting Trust in Client via CWE-287
CAPEC-94 Adversary in the Middle (AiTM) via CWE-287
CAPEC-114 Authentication Abuse via CWE-287
CAPEC-115 Authentication Bypass via CWE-287
CAPEC-151 Identity Spoofing via CWE-287
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2025-48370 affects the auth-js library for Supabase Auth prior to version 2.70.0, where certain functions do not validate user-supplied values as valid UUIDs, potentially leading to URL path traversal and incorrect API function calls.
An attacker could exploit this vulnerability by providing malformed input to functions such as getUserById, deleteUser, updateUserById, listFactors, and deleteFactor, which could result in unintended API calls and potential unauthorized access or data manipulation.
Questions
What is CVE-2025-48370?
CVE-2025-48370 affects the auth-js library for Supabase Auth prior to version 2.70.0, where certain functions do not validate user-supplied values as valid UUIDs, potentially leading to URL path traversal and incorrect API function calls.
Is CVE-2025-48370 actively exploited?
No confirmed active exploitation of CVE-2025-48370 as of 2026-09-25.
How do I remediate CVE-2025-48370?
Priority: HIGH.
What systems are affected by CVE-2025-48370?
CVE-2025-48370 affects Javascript; Supabase; Valid.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Javascript","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.