Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-48370: CWE-287: Improper Authentication in supabase auth-js

0
Low
VulnerabilityCVE-2025-48370cvecve-2025-48370cwe-287cwe-22
Published: Tue May 27 2025 (05/27/2025, 15:27:00 UTC)
Source: CVE Database V5
Vendor/Project: supabase
Product: auth-js

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/27/2026, 22:57:00 UTC

Technical Analysis

The Supabase auth-js library before version 2.70.0 contains an improper authentication vulnerability (CWE-287) combined with a path traversal issue (CWE-22). Specifically, the functions getUserById, deleteUser, updateUserById, listFactors, and deleteFactor do not enforce that user-supplied identifiers are valid UUIDs, which can lead to URL path traversal and invocation of incorrect API endpoints. This flaw is mitigated if user input validation is implemented by the application. The issue is fixed in version 2.70.0 of auth-js.

Potential Impact

If exploited, this vulnerability could cause the application to call unintended API functions due to path traversal via malformed user IDs. However, the impact is limited by the low CVSS score (2.7) and the requirement that user input is not validated. Implementations following best practices for input validation are not affected. There are no known exploits in the wild.

Mitigation Recommendations

Upgrade the auth-js library to version 2.70.0 or later, where this vulnerability is patched. Additionally, ensure that all user-supplied identifiers, such as userId, are validated to be valid UUIDs before being processed by the API functions. This input validation effectively mitigates the risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
GitHub_M
Date Reserved
2025-05-19T15:46:00.395Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6835dda5182aa0cae2186689

Added to database: 5/27/2025, 3:43:33 PM

Last enriched: 4/27/2026, 10:57:00 PM

Last updated: 5/8/2026, 1:50:33 PM

Views: 180

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses