{"vuln_id":"CVE-2026-63012","aliases":["GHSA-wgvx-x5g3-9v29"],"description":"baserCMS administrative API authorization bypass through session fallback","published_at":"2026-11-19T21:18:03.460000Z","modified_at":"2026-11-20T18:18:55.487000Z","first_seen_at":"2026-11-21T19:15:19.296929Z","severity":"medium","severity_source":"nvd","cvss_score":6.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","cwe":["CWE-290"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00466,"epss_percentile":0.41112,"nvd_status":"Deferred","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-63012"},"matched_alias":null,"items":[{"id":11090,"source":{"id":"osv","name":"OSV.dev"},"title":"GHSA-wgvx-x5g3-9v29: baserCMS administrative API authorization bypass through session fallback","summary":"baserCMS administrative API authorization bypass through session fallback\n\n### 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', {\nheaders: {\n'Referer': location.origin + '/baser/admin/'\n}\n})\n.then(r => r.json())\n.then(d => {\nconsole.table(d.siteConfig);\n})\n```\n\nAffected: Packagist:baserproject/baser-core\n\nFixed in: 5.3.0\n\nReferences:\nhttps://github.com/baserproject/basercms/security/advisories/GHSA-wgvx-x5g3-9v29\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-63012\nhttps://github.com/baserproject/basercms/commit/2d7f74d3d5d584b9478c210016b81a1b7c30e9fb\nhttps://github.com/baserproject/basercms/commit/464227b8770704076ee6eddd4bd464c184786eca\nhttps://github.com/baserproject/basercms\nhttps://github.com/baserproject/basercms/releases/tag/5.3.0","url":"https://osv.dev/vulnerability/GHSA-wgvx-x5g3-9v29","published_at":"2026-11-20T00:18:35Z","updated_at":"2026-11-20T00:30:06.968162Z","fetched_at":"2026-11-21T19:15:55.946422Z","severity":"medium","cvss_score":6.5,"epss":0.00466,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":"baserproject/baser-core","vuln_id":"CVE-2026-63012","vuln_ids":["CVE-2026-63012","GHSA-WGVX-X5G3-9V29"],"tags":["osv","packagist","fix-available"],"cluster_id":2068,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/11090","html":"https://vulnwatch.ve1ve2.com/item/11090"}},{"id":2323,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-wgvx-x5g3-9v29 / CVE-2026-63012: baserCMS administrative API authorization bypass through session fallback","summary":"baserCMS administrative API authorization bypass through session fallback\n\n### 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', {\nheaders: {\n'Referer': location.origin + '/baser/admin/'\n}\n})\n.then(r => r.json())\n.then(d => {\nconsole.table(d.siteConfig);\n})\n```\n\nAffected packages: composer:baserproject/baser-core\nPatched: baserproject/baser-core 5.3.0","url":"https://github.com/advisories/GHSA-wgvx-x5g3-9v29","published_at":"2026-11-20T00:18:35Z","updated_at":"2026-11-20T00:18:36Z","fetched_at":"2026-11-21T19:15:18.416750Z","severity":"medium","cvss_score":6.5,"epss":0.00466,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":"baserproject/baser-core","vuln_id":"CVE-2026-63012","vuln_ids":["CVE-2026-63012","GHSA-WGVX-X5G3-9V29"],"tags":["ghsa","composer","CWE-290"],"cluster_id":2068,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2323","html":"https://vulnwatch.ve1ve2.com/item/2323"}},{"id":9289,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-63012: baserCMS is a website development framework. Prior to 5.3.0, getAuthenticationService permits an Api/Admin session authentication fallback based on the Referer…","summary":"baserCMS is a website development framework. Prior to 5.3.0, getAuthenticationService permits an Api/Admin session authentication fallback based on the Referer header, although operator accounts have an Admin auth prefix and cannot obtain an Api/Admin JWT. An authenticated operator can therefore access /baser/api/admin/ endpoints whose permission.php entries have auth => true, including /baser/api/admin/baser-core/site_configs/view.json, even when the corresponding administrative functionality is restricted. This can disclose administrator-restricted configuration information. This issue is fixed in 5.3.0.\n\nReferences:\nhttps://github.com/baserproject/basercms/commit/2d7f74d3d5d584b9478c210016b81a1b7c30e9fb\nhttps://github.com/baserproject/basercms/commit/464227b8770704076ee6eddd4bd464c184786eca\nhttps://github.com/baserproject/basercms/releases/tag/5.3.0\nhttps://github.com/baserproject/basercms/security/advisories/GHSA-wgvx-x5g3-9v29","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63012","published_at":"2026-11-19T21:18:03.460000Z","updated_at":"2026-11-20T18:18:55.487000Z","fetched_at":"2026-11-21T19:15:31.484899Z","severity":"medium","cvss_score":6.5,"epss":0.00466,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":null,"vuln_id":"CVE-2026-63012","vuln_ids":["CVE-2026-63012","GHSA-WGVX-X5G3-9V29"],"tags":["CWE-290"],"cluster_id":2069,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/9289","html":"https://vulnwatch.ve1ve2.com/item/9289"}}]}