Loading advisory.
Loading advisory.
baserCMS administrative API authorization bypass through session fallback
An authorization bypass occurs against the API endpoint /baser/api/admin/ by abusing the session authentication fallback.
Published 2026-11-19 20:23 UTC · Modified 2026-11-20 17:53 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| baserproject/baser-core | Packagist | < 5.3.0 versions 5.0.0, 5.0.0-beta2, 5.0.0-beta3, 5.0.0-beta4, 5.0.1, 5.0.10, 5.0.11, 5.0.14, 5.0.15, 5.0.16, 5.0.17, 5.0.18, 5.0.19, 5.0.2, 5.0.20, 5.0.21, 5.0.3, 5.0.4, 5.0.5, 5.0.6 and 25 more | 5.3.0 | composer require 'baserproject/baser-core:>=5.3.0' |
An authorization bypass occurs against the API endpoint /baser/api/admin/ by abusing the session authentication fallback.
The mail settings are used here as an example.
Admin side:
https://github.com/baserproject/basercms/blob/master/plugins/baser-core/config/permission.php#L100
With auth => false, it is not accessible with operator privileges.
API side:
https://github.com/baserproject/basercms/blob/master/plugins/baser-core/config/permission.php#L286
With auth => true, it is accessible even with operator privileges.
First, the default group for operators has auth_prefix = 'Admin', which does not include Api/Admin.
https://github.com/baserproject/basercms/blob/master/plugins/baser-core/src/Model/Table/UsersTable.php#L389
Because of this condition, when trying to access the Api/Admin API with a JWT, operators have auth_prefix = 'Admin', so they cannot obtain a JWT and should not be able to access it.
However, there is a problem in getAuthenticationService.
https://github.com/baserproject/basercms/blob/master/plugins/baser-core/src/BaserCorePlugin.php#L507
Here, session authentication is enabled even for the Api/Admin prefix.
By accessing the API with a Referer header, session authentication becomes active, allowing access to the API without holding a JWT.
As a result, all APIs configured with auth => true in permission.php become accessible by operators.
Log in with a site operator (operator) privileged account.
Run the following code in DevTools:
fetch('/baser/api/admin/baser-core/site_configs/view.json', {
headers: {
'Referer': location.origin + '/baser/admin/'
}
})
.then(r => r.json())
.then(d => {
console.table(d.siteConfig);
})<img width="1886" height="1027" alt="Screenshot_20260404_075242" src="https://github.com/user-attachments/assets/e91a1d27-ac36-42fb-88a8-bc699b28b04f" />
<img width="1277" height="595" alt="Screenshot_20260404_075133" src="https://github.com/user-attachments/assets/9c54459a-dad0-4445-a35d-1373255c2b22" />
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.005 on 2026-11-24 to 0.005 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.005 | first score | v2026.06.15 |
| 2026-11-26 | 0.005 | 0.005 | v2026.06.15 |