CVE-2026-63012: Baserproject/baser core BaserCMS Administrative API Authorization Bypass Vulnerability
MODERATECVE-2026-63012 is a MODERATE (CVSS 6.5) basercms administrative api authorization bypass vulnerability (CWE-290: Authentication Bypass by Spoofing) affecting Baserproject/baser core libraries in the Packagist ecosystem. The issue involves basercms administrative api authorization bypass through session fallback. Remediation is available by upgrading affected packages to version 5.3.0.
CVE-2026-63012 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2026-63012
To remediate this vulnerability, upgrade all affected Baserproject/baser core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade baserproject/baser-core to 5.3.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for baserproject/baser-core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-63012, inspect your project dependencies for Baserproject/baser core:
inspect dependencies for baserproject/baser-core
Analyze the terminal output to locate any version of Baserproject/baser core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.3.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-290: Authentication Bypass by Spoofing, where this attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks. In Baserproject/baser core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-63012 Affected Baserproject/baser core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
baserproject/baser-core
|
Packagist |
< 5.3.0
|
5.3.0
|
References
Frequently Asked Questions
What is CVE-2026-63012?
Which Baserproject/baser core versions are affected?
What version fixes CVE-2026-63012?
Is baserproject/baser-core affected?
What is the CVSS score of CVE-2026-63012?
What CWE is associated with CVE-2026-63012?
How can I check Packagist dependencies for CVE-2026-63012?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wgvx-x5g3-9v29",
"modified" : "2026-11-20T00:18:35Z",
"published" : "2026-11-20T00:18:35Z",
"aliases" : [ "CVE-2026-63012" ],
"summary" : "baserCMS administrative API authorization bypass through session fallback",
"details" : "### Summary\n\nAn authorization bypass occurs against the API endpoint `/baser/api/admin/` by abusing the session authentication fallback.\n\n### Details\n\nThe mail settings are used here as an example.\n\nAdmin side:\n\nhttps://github.com/baserproject/basercms/blob/master/plugins/baser-core/config/permission.php#L100\nWith `auth => false`, it is not accessible with operator privileges.\n\nAPI side:\n\nhttps://github.com/baserproject/basercms/blob/master/plugins/baser-core/config/permission.php#L286\nWith `auth => true`, it is accessible even with operator privileges.\n\n---\n\nFirst, the default group for operators has `auth_prefix = 'Admin'`, which does not include `Api/Admin`.\n\nhttps://github.com/baserproject/basercms/blob/master/plugins/baser-core/src/Model/Table/UsersTable.php#L389\n\nBecause 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.\n\nHowever, there is a problem in `getAuthenticationService`.\n\nhttps://github.com/baserproject/basercms/blob/master/plugins/baser-core/src/BaserCorePlugin.php#L507\n\nHere, session authentication is enabled even for the `Api/Admin` prefix.\nBy accessing the API with a Referer header, session authentication becomes active, allowing access to the API without holding a JWT.\n\nAs a result, all APIs configured with `auth => true` in `permission.php` become accessible by operators.\n\n### PoC\n\n1. Log in with a site operator (operator) privileged account.\n2. Run the following code in DevTools:\n\n```javascript\nfetch('/baser/api/admin/baser-core/site_configs/view.json', {\n headers: {\n 'Referer': location.origin + '/baser/admin/' \n }\n})\n.then(r => r.json())\n.then(d => {\n console.table(d.siteConfig);\n})\n```\n\n<img width=\"1886\" height=\"1027\" alt=\"Screenshot_20260404_075242\" src=\"https://github.com/user-attachments/assets/e91a1d27-ac36-42fb-88a8-bc699b28b04f\" />\n\n<img width=\"1277\" height=\"595\" alt=\"Screenshot_20260404_075133\" src=\"https://github.com/user-attachments/assets/9c54459a-dad0-4445-a35d-1373255c2b22\" />",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "baserproject/baser-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.3.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 5.2.3"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/baserproject/basercms/security/advisories/GHSA-wgvx-x5g3-9v29"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-63012"
}, {
"type" : "WEB",
"url" : "https://github.com/baserproject/basercms/commit/2d7f74d3d5d584b9478c210016b81a1b7c30e9fb"
}, {
"type" : "WEB",
"url" : "https://github.com/baserproject/basercms/commit/464227b8770704076ee6eddd4bd464c184786eca"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/baserproject/basercms"
}, {
"type" : "WEB",
"url" : "https://github.com/baserproject/basercms/releases/tag/5.3.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-290" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-11-20T00:18:35Z",
"nvd_published_at" : "2026-11-19T21:18:03Z"
}
}