#125570·sentry

Scope organization Seer RPC methods to accessible projects

Author: HassanRadyCreated Sep 25, 2026Updated Sep 25, 2026
LabelsProduct Area: OtherWaiting for: Product Owner

Environment

self-hosted (https://develop.sentry.dev/self-hosted/)

Steps to Reproduce

  1. Create an organization with open membership disabled.
  2. Create two teams and one project for each team.
  3. Add a user to only the first team.
  4. Enable organizations:seer-public-rpc.
  5. Authenticate as that user with org:read.
  6. Call an organization-level Seer RPC method that reads project-backed data.
  7. Observe that the method can return or query information associated with the second team's project.

Expected Result

Organization Seer RPC methods should only operate on projects the caller can access.

Explicit project IDs or slugs should be validated before dispatch. When the request does not contain a project selection, the endpoint should inject the caller's accessible projects rather than defaulting to every project in the organization.

Methods that cannot be safely constrained to accessible projects should require global project access or deny the request.

Project selection for this JSON-RPC endpoint should come only from the JSON body. The endpoint should ignore project and projectSlug URL query parameters.

Actual Result

When organizations:seer-public-rpc is enabled, organization membership and org:read access are sufficient to reach organization-level Seer RPC methods.

These methods do not consistently apply the caller's project restrictions:

  • get_organization_projects can return every active project in the organization.
  • Cross-project handlers such as trace and query methods can operate across projects belonging to teams the caller has not joined.
  • Some query handlers default to ALL_ACCESS_PROJECT_ID, allowing their internal API requests to use organization-wide project selection.
  • Issue-, event-, replay-, team-, and project-related handlers do not consistently verify access to the resource's associated project before dispatch.
  • When project selection is absent from the JSON body, URL project or projectSlug parameters can unintentionally influence project resolution.

As a result, a member of a closed-membership organization may enumerate or read telemetry from another team's private project despite lacking access to that project.

Product Area

Other

Link

No response

DSN

No response

Version

26.9