CVE-2026-77768 PUBLISHED

OpenPanel report.get Returns Any Report by Identifier Without Checking Project Access

Assigner: VulnCheck
Reserved: 21.08.2026 Published: 21.08.2026 Updated: 21.08.2026

The report.get procedure in packages/trpc/src/routers/report.ts accepted only a reportId and returned getReportById(reportId) directly. The enforceAccess middleware in packages/trpc/src/trpc.ts evaluates membership only when the input carries a projectId or organizationId key, so an input consisting of a reportId alone passed through unchecked, and getReportById in packages/db/src/services/reports.service.ts performs a findUnique on the report id with no project scoping. Any authenticated user could therefore read the full configuration of any saved report on the instance, including the owning projectId, event series, filters, breakdowns and formulas, by supplying its identifier. The adjacent update, delete and duplicate procedures resolve the report first and check getProjectAccess against the report's own projectId, so the omission was specific to this procedure.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 7.1

Product Status

Vendor Openpanel-dev
Product openpanel
Versions Default: unaffected
  • affected from 0 to 0a51b6805eed0b3da8376175acd5fa3d26819cb6 (excl.)

Credits

  • George Chen finder

References

Problem Types

  • Authorization Bypass Through User-Controlled Key CWE