CVE-2026-77769
JSON

7.1high

OpenPanel report.list Queries Reports by an Unverified dashboardId, Crossing Organization Boundaries

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.list procedure in packages/trpc/src/routers/report.ts accepted a projectId and a dashboardId and returned getReportsByDashboardId(dashboardId). The enforceAccess middleware in packages/trpc/src/trpc.ts verified membership for the supplied projectId, but nothing verified that the supplied dashboardId belonged to that project, and getReportsByDashboardId in packages/db/src/services/reports.service.ts selects reports by dashboardId alone with no project scoping. An authenticated user could therefore pair a projectId from their own organization, which satisfies the middleware, with a dashboardId belonging to another organization and receive every report in that dashboard. A correctly scoped helper, listReportsCore, already existed in the same service file and resolves the dashboard through getDashboardById(dashboardId, projectId) before returning reports, but the router did not use it.

Affected

Product or packageVersionsReported by
Openpanel-dev openpanelbefore 0a51b6805eed0b3da8376175acd5fa3d26819cb6CVE List

All scores

VulnCheck6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
VulnCheck7.1high CVSS:4.0CVSS: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

CWE-639

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

The report.list procedure in packages/trpc/src/routers/report.ts accepted a projectId and a dashboardId and returned getReportsByDashboardId(dashboardId). The enforceAccess middleware in packages/trpc/src/trpc.ts verified membership for the supplied projectId, but nothing verified that the supplied dashboardId belonged to that project, and getReportsByDashboardId in packages/db/src/services/reports.service.ts selects reports by dashboardId alone with no project scoping. An authenticated user could therefore pair a projectId from their own organization, which satisfies the middleware, with a dashboardId belonging to another organization and receive every report in that dashboard. A correctly scoped helper, listReportsCore, already existed in the same service file and resolves the dashboard through getDashboardById(dashboardId, projectId) before returning reports, but the router did not use it.

NVD (es)

El procedimiento report.list en packages/trpc/src/routers/report.ts aceptaba un projectId y un dashboardId y devolvía getReportsByDashboardId(dashboardId). El middleware enforceAccess en packages/trpc/src/trpc.ts verificaba la membresía para el projectId proporcionado, pero nada verificaba que el dashboardId proporcionado perteneciera a ese proyecto, y getReportsByDashboardId en packages/db/src/services/reports.service.ts selecciona informes solo por dashboardId sin alcance de proyecto. Un usuario autenticado podría, por lo tanto, emparejar un projectId de su propia organización, lo que satisface el middleware, con un dashboardId perteneciente a otra organización y recibir cada informe en ese dashboard. Una función auxiliar con el alcance correcto, listReportsCore, ya existía en el mismo archivo de servicio y resuelve el dashboard a través de getDashboardById(dashboardId, projectId) antes de devolver los informes, pero el router no lo usaba.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-77769 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-77769 changed 2026-10-27Public domain