7.1high
OpenPanel report.get Returns Any Report by Identifier Without Checking Project Access
- Severity
- 7.1high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.31% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Openpanel-dev openpanel | before 0a51b6805eed0b3da8376175acd5fa3d26819cb6 | CVE List |
All scores
| VulnCheck | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| VulnCheck | 7.1high CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
El procedimiento 'report.get' en 'packages/trpc/src/routers/report.ts' aceptaba solo un 'reportId' y devolvía 'getReportById(reportId)' directamente. El middleware 'enforceAccess' en 'packages/trpc/src/trpc.ts' evalúa la membresía solo cuando la entrada contiene una clave 'projectId' u 'organizationId', por lo que una entrada que consistía únicamente en un 'reportId' pasaba sin ser verificada, y 'getReportById' en 'packages/db/src/services/reports.service.ts' realiza un 'findUnique' sobre el ID del informe sin alcance de proyecto. Cualquier usuario autenticado podía, por lo tanto, leer la configuración completa de cualquier informe guardado en la instancia, incluyendo el 'projectId' propietario, series de eventos, filtros, desgloses y fórmulas, al proporcionar su identificador. Los procedimientos adyacentes 'update', 'delete' y 'duplicate' resuelven el informe primero y verifican 'getProjectAccess' contra el 'projectId' propio del informe, por lo que la omisión era específica de este procedimiento.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-77768 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-77768 changed 2026-10-27 | Public domain |