MEDIUM · CVSS 3.1 6.5 EPSS 0.5% · 41th percentile CWE-290

CVE-2026-63012: baserCMS administrative API authorization bypass through session fallback

Published 2026-11-20 · Updated 2026-11-20 · Also known as GHSA-wgvx-x5g3-9v29

Summary

An authorization bypass vulnerability in baserCMS allows lower-privileged operators to access administrative API endpoints due to session authentication fallback. Engineering teams using baser-core prior to version 5.3.0 must update immediately.

Who is affected

Affected deployments running baserproject/baser-core versions introduced before 5.3.0 are vulnerable to unauthorized data access. An attacker with a site operator privileged account can access restricted API endpoints under the `/baser/api/admin/` prefix by providing a specific Referer header that triggers session authentication fallback.

Exploitability

The vulnerability carries a CVSS score of 6.5 (MEDIUM) with a vector of CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N, indicating low attack complexity and low privileges required over the network. EPSS is not yet available, and CISA KEV status is no.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-20. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
Packagist baserproject/baser-core >= 0, < 5.3.0 5.3.0 composer require "baserproject/baser-core:>=5.3.0"

CVSS 3.1 vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Attack vectorNetwork
Attack complexityLow
Privileges requiredLow
User interactionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone

FAQ

What causes the authorization bypass?

Session authentication is enabled for the Api/Admin prefix inside getAuthenticationService, allowing session fallback when a Referer header is present.

What level of access is required to exploit this flaw?

An attacker needs a site operator privileged account along with network access to the target baserCMS deployment.

Is there an official fix available?

Yes, baserproject/baser-core version 5.3.0 fixes the vulnerability.

Original advisory description
### Summary An authorization bypass occurs against the API endpoint `/baser/api/admin/` by abusing the session authentication fallback. ### Details 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. ### PoC 1. Log in with a site operator (operator) privileged account. 2. Run the following code in DevTools: ```javascript 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" />

References

Source records: GHSA-wgvx-x5g3-9v29 (OSV.dev) · EPSS by FIRST, 2026-11-22.