Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. neotoma
  4. ›
  5. GHSA-wrr4-782v-jhwh

GHSA-wrr4-782v-jhwh: neotoma has tenant isolation gap in relationship query endpoints

June 25, 2026

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.

References

  • github.com/advisories/GHSA-wrr4-782v-jhwh
  • github.com/markmhendrickson/neotoma/issues/365
  • github.com/markmhendrickson/neotoma/issues/366
  • github.com/markmhendrickson/neotoma/issues/372
  • github.com/markmhendrickson/neotoma/security/advisories/GHSA-wrr4-782v-jhwh

Code Behaviors & Features

Detect and mitigate GHSA-wrr4-782v-jhwh with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.13.0 before 0.14.0

Fixed versions

  • 0.14.0

Solution

Upgrade to version 0.14.0 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-201: Insertion of Sensitive Information Into Sent Data

Source file

npm/neotoma/GHSA-wrr4-782v-jhwh.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 26 Jun 2026 12:18:19 +0000.