CVE-2026-63012: Authorization Bypass and Information Disclosure in baserCMS Administrative API
Vulnerability ID: CVE-2026-63012
CVSS Score: 6.5
Published: 2026-11-20
CVE-2026-63012 is an authorization bypass and information disclosure vulnerability in baserCMS versions prior to 5.3.0. An architectural flaw in the authentication service configuration combined with overly permissive API access control rules allows low-privileged operator accounts to query restricted administrative API endpoints by supplying a matching HTTP Referer header.
TL;DR
Authenticated baserCMS operators can bypass JWT requirements on administrative API endpoints via a session fallback mechanism triggered by the HTTP Referer header, exposing restricted site configurations and infrastructure settings.
⚠️ Exploit Status: POC
Technical Details
- CVE ID: CVE-2026-63012
- GHSA ID: GHSA-wgvx-x5g3-9v29
- CWE: CWE-290 (Authentication Bypass by Spoofing)
- CVSS v3.1 Score: 6.5 Medium (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N)
- Attack Vector: Network (Authenticated Low-Privileged Operator)
- Impact: High Confidentiality Loss (Administrative Site Configuration Disclosure)
- Exploit Status: Public PoC Available
- CISA KEV Status: Not Listed
Affected Systems
- baserproject/basercms
- baserproject/baser-core
- baser-core: < 5.3.0 (Fixed in:
5.3.0) - basercms: < 5.3.0 (Fixed in:
5.3.0)
Code Analysis
Commit: 2d7f74d
fix: Api/Admin の認可不整合によるオペレーターの権限昇格を修正 (GHSA-wgvx-x5g3-9v29)
--- a/plugins/baser-core/config/permission.php +++ b/plugins/baser-core/config/permission.php @@ -283,7 +283,7 @@ 'items' => [ 'CheckSendmail' => ['title' => __d('baser_core', 'メール送信テスト'), 'url' => '/baser/api/admin/baser-core/site_configs/check_sendmail.json', 'method' => 'POST', 'auth' => false], 'Edit' => ['title' => __d('baser_core', '編集'), 'url' => '/baser/api/admin/baser-core/site_configs/edit.json', 'method' => 'POST', 'auth' => false], - 'View' => ['title' => __d('baser_core', '設定取得'), 'url' => '/baser/api/admin/baser-core/site_configs/view.json', 'method' => 'GET', 'auth' => true], + 'View' => ['title' => __d('baser_core', '設定取得'), 'url' => '/baser/api/admin/baser-core/site_configs/view.json', 'method' => 'GET', 'auth' => false], ] ], Commit: 464227b
fix: セキュリティアドバイザリ draft 12件を5.2.x向けに修正
Exploit Details
- GitHub Security Advisory: Official proof-of-concept JavaScript fetch snippet demonstrating unauthorized retrieval of site_configs/view.json by an operator session.
Mitigation Strategies
- Upgrade baserCMS and baser-core to version 5.3.0 or the latest patched 5.2.x release.
- Enforce explicit role-based authorization ('auth' => false) on all sensitive administrative API endpoints in permission.php.
- Replace spoofable HTTP Referer header checks with server-side authentication provider verification.
- Restrict access to /baser/api/admin/ paths at the reverse proxy or WAF layer if operator accounts do not require administrative SPA features.
Remediation Steps:
- Update baserCMS packages via Composer to version 5.3.0 or apply commits 2d7f74d3d5d584b9478c210016b81a1b7c30e9fb and 464227b8770704076ee6eddd4bd464c184786eca.
- If unable to upgrade immediately, edit plugins/baser-core/config/permission.php and set 'auth' => false for SiteConfigs View and Sites View, Index, and GetSelectableDevicesAndLang API endpoints.
- Clear the CakePHP application cache after modifying configuration files to ensure updated permission rules take effect.
- Audit HTTP access logs for requests to /baser/api/admin/baser-core/site_configs/view.json by non-administrator users and rotate any exposed SMTP or third-party credentials.
References
- GitHub Security Advisory: GHSA-wgvx-x5g3-9v29
- CVE.org Record: CVE-2026-63012
- National Vulnerability Database: CVE-2026-63012
- GitHub Fix Commit (5.3.0): 2d7f74d3d5d584b9478c210016b81a1b7c30e9fb
- GitHub Backport Commit (5.2.x): 464227b8770704076ee6eddd4bd464c184786eca
- baserCMS 5.3.0 Release Tag
- CVEListV5 Record for CVE-2026-63012
Read the full report for CVE-2026-63012 on our website for more details including interactive diagrams and full exploit analysis.