All vulnerabilities

Servers and applications

GHSA-gmv8-48mh-c22w

Public cost reports of other projects can be opened by ID

Severity
Medium 4.3
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
18.0.0
Weakness
Authorization bypass through a user-controlled key (IDOR) (CWE-639)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Sources
Project advisories (GitHub)

Description

In the reporting module, GET /cost_reports/:id renders a saved cost report selected by id where is_public = TRUE, without binding the report to the caller's project. A user who is a member of any one project (holding a common permission such as view_own_time_entries) can read the name and filter/group-by configuration of every public cost report belonging to projects they are not a member of. The report's numeric cost/time data is not exposed (it is permission-filtered), so the disclosure is limited to report metadata.

The by-id load in CostReportsController#find_optional_report (modules/reporting/app/controllers/cost_reports_controller.rb):

@query = report_engine.where(['(is_public = TRUE) OR (user_id = ?)', current_user.id]).find(params[:id].to_i)

There is no project_id binding — the effective condition is (is_public = TRUE) OR (user_id = current_user). #show then renders @query: its name into the page title, and the deserialized filter/group-by configuration into the report…

From opf/openproject's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
OpenProjectServers and applications · github:opf/openproject
  • Every version before 18.0.0

About OpenProject

web-based project management system

From Wikidata, CC0 1.0.
Total downloads
30M+OpenProject
Docker Hub pulls
6,539,922Docker Hub, 29 Nov 2026
GitHub stars
17,836GitHub, 29 Nov 2026
Forks
3,855GitHub, 29 Nov 2026
Latest release
v17.8.3GitHub, 29 Nov 2026
Released
19 Nov 2026GitHub
License
GNU General Public License, version 3.0Wikidata
Written in
RubyWikidata
First published on GitHub
28 Nov 2012GitHub

References