Vulnerability library
Security checkJune 25, 2026

neotoma has tenant isolation gap in relationship query endpoints

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Low severitynpmneotoma

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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:

  • Affected version(s): >= 0.13.0, < 0.14.0
  • Patched version(s): 0.14.0

References

Could your website be exposed too?

SmartScanner can check your website for neotoma has tenant isolation gap in relationship query endpoints and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated June 25, 2026