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 scanRelated Issues
- Handlebars.js has a Prototype Method Access Control Gap via Missing __lookupSetter__ Blocklist Entry - Vulnerability
- OneUptime has authorization bypass via client‑controlled is-multi-tenant-query header that leads to cross‑tenant data ex - CVE-2026-30956
- markdown-it linkify: true has two quadratic paths, so a few hundred KB of markdown blocks the event loop for tens of sec - Vulnerability
- Payload has Insufficient Filename Validation in Client-Upload Signed-URL Endpoints - @payloadcms/storage-gcs - CVE-2026-34750


