CVE-2026-63012: Baserproject/baser core BaserCMS Administrative API Authorization Bypass Vulnerability

MODERATE
Advisory Identifier: GHSA-wgvx-x5g3-9v29
CVSS 6.5
CWE-290
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2026-63012
GHSA Identifier GHSA-wgvx-x5g3-9v29
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-290: Authentication Bypass by Spoofing
Affected Product Baserproject/baser core
Package Ecosystem Packagist
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (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.

baserproject/baser-core fixed: 5.3.0
Upgrade baserproject/baser-core to 5.3.0
Verify Direct and Transitive Dependencies

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

### 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" />

CVE-2026-63012 Affected Baserproject/baser core Versions

1 component(s)
Fixed Versions:
5.3.0
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?
CVE-2026-63012 is a security vulnerability in Baserproject/baser core involving baserCMS administrative API authorization bypass through session fallback under CWE-290: Authentication Bypass by Spoofing.
Which Baserproject/baser core versions are affected?
Affected versions include releases prior to 5.3.0 across affected packages: baserproject/baser-core.
What version fixes CVE-2026-63012?
Upgrading to 5.3.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is baserproject/baser-core affected?
Yes, baserproject/baser-core is affected in releases prior to 5.3.0. Upgrade your dependency to 5.3.0 or later.
What is the CVSS score of CVE-2026-63012?
CVE-2026-63012 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-63012?
CVE-2026-63012 is classified under CWE-290: Authentication Bypass by Spoofing (This attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks.).
How can I check Packagist dependencies for CVE-2026-63012?
Run the dependency tree command: 'inspect dependencies for baserproject/baser-core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}