Vulnerabilities/

neotoma has tenant isolation gap in relationship query endpoints

Severity:
Low

Description

The /list_relationships and /retrieve_graph_neighborhood endpoints call getAuthenticatedUserId (confirming a valid session exists) but do not pass the resolved user ID into the Supabase query as an .eq("user_id", userId) filter. As a result, queries return rows from all users rather than scoping to the authenticated caller’s data.

Recommendation

Update the neotoma package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
neotoma
Anything's wrong? Let us know Last updated on June 25, 2026