TAJ APPS

TAJ-2026-001: Dolibarr ERP CRM, missing authorization in the eventattendees REST API

Published . Last updated .

Advisory IDTAJ-2026-001
CVE IDCVE-2026-133481
VendorDolibarr
ProductDolibarr ERP CRM
SeverityMedium (CVSS 3.1 base score 4.3)
StatusFixed in Dolibarr 24.0.3, released 9 November 2026

Summary

The index() method of the EventAttendees REST API in Dolibarr ERP CRM did not check whether the caller was allowed to read event attendees before running its query. Its HTTP status code depended on rows the caller was not allowed to see, and the caller chose those rows with the sqlfilters parameter. A remote authenticated user with no permissions at all could use that difference as a yes or no answer and recover attendee e-mail addresses, names, notes, amounts paid, registrant IP addresses and the private notes of linked projects, one character at a time. Versions 22.0.0 up to, but not including, 24.0.3 are affected. Users should upgrade to Dolibarr 24.0.3 or later.

Affected product and versions

VendorDolibarr
ProductDolibarr ERP CRM
Affected versions22.0.0 up to, but not including, 24.0.3 (>= 22.0.0, < 24.0.3)
Fixed versions24.0.3 and later (>= 24.0.3), released 9 November 2026
ComponentREST API endpoint GET /api/index.php/eventattendees:
htdocs/eventorganization/class/api_eventattendees.class.php, EventAttendees::index()

Severity and CVSS vector

CVSS version3.1
Base score4.3 (Medium)
Vector stringCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CWE IDCWE-863 (primary), CWE-203
CWE descriptionCWE-863: Incorrect Authorization. CWE-203: Observable Discrepancy.

CVE ID

CVE-2026-133481.

Description

Dolibarr’s REST API classes normally check the module-level read permission at the top of each list method, before any query runs. In EventAttendees::index() that check was commented out, with a note that access would be checked later, row by row, against each attendee’s fk_project.

The per-row check ran only after the query. The caller’s sqlfilters expression, Dolibarr’s Universal Search Filter, had by then already been added to the WHERE clause, before any authorization was evaluated. When at least one row matched and none of the matching rows was readable, the method returned HTTP 403 (“No access granted for even a single of the rows found”). When no row matched, it returned HTTP 200 with an empty array.

The response status therefore answered a yes or no question set by the attacker’s own filter: “does any attendee row satisfy this condition?”. A filter such as a like test on one field, with one more known character each time, turned that answer into the field’s value.

This was not SQL injection. The Universal Search Filter constrains field names, operators and values, so the oracle was confined to the columns of the attendee table and of the project table joined to it.

Impact

A remote authenticated user holding no permission rows at all could recover, one character at a time, the data held for event attendees: e-mail addresses, names, notes, amounts paid and the IP addresses registrants submitted from, as well as the note_private field of the projects the attendees are linked to. Event attendees are typically members of the public who registered for a conference or event, so this is personal data the instance’s owner is responsible for.

The issue gave read access only. It did not allow the attacker to change or delete data, which is why integrity and availability are scored None.

Remediation

Upgrade to Dolibarr 24.0.3 or later.

The fix restores the module-level read permission check at the top of index(), so a caller without it receives HTTP 403 before any query runs. For a caller who may not read all projects, the query is now restricted to the projects that caller is allowed to see, as api_projects::index() already did. Rows the caller cannot read are skipped instead of turning the whole response into a 403, so the response no longer depends on rows the caller is not allowed to see.

Proof of concept

Reproduced against Dolibarr 24.0.1 from the official tarball, with PHP 8.4.24 and MariaDB 11.8.9, and the modApi and modEventOrganization modules enabled. The attacking account has admin = 0, zero rows in llx_user_rights, no rights inherited through groups, and an API key (LOWPRIVAPIKEY0001 in our lab). One attendee was created normally by an administrator.

Step 1. A filter that matches a row the account may not read:

curl -s -o /dev/null -w '%{http_code}\n' -G \
  --data-urlencode "sqlfilters=(t.rowid:>:0)" \
  -H 'DOLAPIKEY: LOWPRIVAPIKEY0001' \
  'http://127.0.0.1:8080/api/index.php/eventattendees'
# 403

Step 2. A filter that matches nothing:

curl -s -o /dev/null -w '%{http_code}\n' -G \
  --data-urlencode "sqlfilters=(t.rowid:>:999999)" \
  -H 'DOLAPIKEY: LOWPRIVAPIKEY0001' \
  'http://127.0.0.1:8080/api/index.php/eventattendees'
# 200

The status code alone tells the attacker whether the filter matched. Iterating a LIKE prefix one character at a time recovered an attendee’s email address, first name and last name, and a project’s note_private field, in 1103 requests in total. Each value was then confirmed exactly with an equality filter. No write operation was performed. LIKE is case insensitive under the default collation, so recovered values are case folded.

We re-verified this blind on 2026-10-18. The attendee email address and the project note_private field were rotated to freshly generated random values, and the HTTP only proof of concept recovered both exactly.

Disclosure timeline

DateEvent
Reported to the vendor.
Vendor committed a fix (commit 1f5dbb0) and credited TAJ APPS LLC as reporter in the commit message.
Fix released in Dolibarr 24.0.3.
Advisory published under our Vulnerability Disclosure Policy.
Proof of concept published.
CVE-2026-133481 published.

References

CVE recordCVE-2026-133481
Patchhttps://github.com/Dolibarr/dolibarr/commit/1f5dbb010ce2be58d6deee68564094822ec761b7
Fixed releasehttps://github.com/Dolibarr/dolibarr/releases/tag/24.0.3
ChangeLoghttps://github.com/Dolibarr/dolibarr/blob/24.0.3/ChangeLog (24.0.3 ChangeLog)
Downloadhttps://www.dolibarr.org/downloads.php
Affected sourcehttps://github.com/Dolibarr/dolibarr/blob/24.0.2/htdocs/eventorganization/class/api_eventattendees.class.php

Credit

Found by TAJ APPS LLC.

Contact

If anything in this advisory or in its CVE record is wrong, incomplete or duplicated, email cve@tajapps.com, quoting CVE-2026-133481. To report a new vulnerability to us, email security@tajapps.com with “Security report” in the subject line, as set out in our Vulnerability Disclosure Policy.


Published under our Vulnerability Disclosure Policy. All advisories: tajapps.com/advisories.