Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/Openpanel-dev/openpanel
- https://github.com/Openpanel-dev/openpanel/blob/e8a0602cda5a4d4b463f11d298a1b078
- https://github.com/Openpanel-dev/openpanel/commit/0a51b6805eed0b3da8376175acd5fa
- https://github.com/Openpanel-dev/openpanel/security/advisories/GHSA-9x7c-f87x-22
- https://www.vulncheck.com/advisories/openpanel-report-get-returns-any-report-by-
- https://github.com/Openpanel-dev/openpanel/security/advisories/GHSA-9x7c-f87x-22
FAQ
What is CVE-2026-77768?
CVE-2026-77768 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 evalua...
How severe is CVE-2026-77768?
CVE-2026-77768 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-77768?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.