CVE-2026-125754
Dolibarr 20.0.0 through 23.0.4 and 24.x before 24.0.2 contains an insecure direct object reference vulnerability in api_expensereports.class.php payment endpoi…
Impact
Dolibarr 20.0.0 through 23.0.4 and 24.x before 24.0.2 contains an insecure direct object reference vulnerability in api_expensereports.class.php payment endpoints that lets authenticated users access other users' expense report payments. Attackers with only expense report read and create rights can call getAllPayments, getPayments, addPayment, or updatePayment to read, create, or modify payments, falsifying reimbursement state.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: low risk of data being read, high risk of data or systems being changed.
Affected products · Dolibarr
| Product | Affected versions |
|---|---|
| Dolibarr | from 20.0.0 through 23.0.4 from 24.0.0 before 24.0.2 Version 20.0.0 ≤23.0.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/Dolibarr/dolibarr/pull/40473
- https://github.com/Dolibarr/dolibarr/commit/322026099df5cffcca2fd45dd76193fca601cfd9
- https://github.com/Dolibarr/dolibarr/commit/afc12abbd24a1560aee04356e840d5819a1169fd
- https://github.com/Dolibarr/dolibarr/issues/40687
- https://github.com/Dolibarr/dolibarr/blob/24.0.1/htdocs/expensereport/class/api_expensereports.class.php#L959-L968
- https://www.vulncheck.com/advisories/dolibarr-20.0.0-through-23.0.4-and-24-x-before-24.0.2-idor-via-expensereport-payment-api
- https://github.com/advisories/GHSA-vj8j-w6v9-74w8
- https://nvd.nist.gov/vuln/detail/CVE-2026-125754