CVE-2026-62955
baserCMS: Path Traversal Bypass via realpath() in BcThemeFileService (CVE-2026-30940 Patch Bypass)
baserCMS is a website development framework. From 5.2.3 until 5.3.0, BcThemeFileService::getFullpath() in plugins/bc-theme-file/src/Service/BcThemeFileService.php skips its path containment check when realpath() fails for a nonexistent theme subdirectory selected by the type parameter. An authenticated administrator can supply a traversal path through the theme-file API to access locations outside the theme directory. The bypass of the CVE-2026-30940 fix can permit file writes, overwrites or deletion within the PHP process permissions and, where executable PHP can be written, remote code execution. This issue is fixed in 5.3.0.
Fixes and workarounds
Fix
baserproject/baser-core (composer): GitHub reports patched versions 5.3.0. Check the advisory for the affected release branch.
Source: GitHub GHSA-2pj4-v76f-wjvxFix
baserproject/baser-core (Packagist): OSV reports a fixed version 5.3.0. Check the advisory for supported release branches.
Source: OSV GHSA-2pj4-v76f-wjvxAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| basercms baserproject |
>= 5.2.3, < 5.3.0 (affected) | CNA: GitHub_M |
baserproject/baser-corebaserproject/baser-core
composer |
<= 5.2.3 (affected, GitHub advisory range) | GitHub GHSA-2pj4-v76f-wjvx |
baserproject/baser-corebaserproject/baser-core
Packagist |
5.0.0 (affected, Packagist) 5.0.0-beta2 (affected, Packagist) 5.0.0-beta3 (affected, Packagist) 5.0.0-beta4 (affected, Packagist) 5.0.1 (affected, Packagist) 5.0.10 (affected, Packagist) 5.0.11 (affected, Packagist) 5.0.14 (affected, Packagist) 5.0.15 (affected, Packagist) 5.0.16 (affected, Packagist) 5.0.17 (affected, Packagist) 5.0.18 (affected, Packagist) 5.0.19 (affected, Packagist) 5.0.2 (affected, Packagist) 5.0.20 (affected, Packagist) 5.0.21 (affected, Packagist) 5.0.3 (affected, Packagist) 5.0.4 (affected, Packagist) 5.0.5 (affected, Packagist) 5.0.6 (affected, Packagist) 5.0.7 (affected, Packagist) 5.0.8 (affected, Packagist) 5.1.0 (affected, Packagist) 5.1.1 (affected, Packagist) 5.1.10 (affected, Packagist) 5.1.2 (affected, Packagist) 5.1.3 (affected, Packagist) 5.1.4 (affected, Packagist) 5.1.5 (affected, Packagist) 5.1.6 (affected, Packagist) 5.1.7 (affected, Packagist) 5.1.8 (affected, Packagist) 5.1.9 (affected, Packagist) 5.2.0 (affected, Packagist) 5.2.1 (affected, Packagist) 5.2.10 (affected, Packagist) 5.2.2 (affected, Packagist) 5.2.3 (affected, Packagist) 5.2.4 (affected, Packagist) 5.2.5 (affected, Packagist) 5.2.5.1 (affected, Packagist) 5.2.6 (affected, Packagist) 5.2.7 (affected, Packagist) 5.2.8 (affected, Packagist) 5.2.9 (affected, Packagist) Ecosystem version events: introduced 0; fixed 5.3.0 Source events (ECOSYSTEM)
Other versions: unaffected |
OSV GHSA-2pj4-v76f-wjvx |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 7.2 high |
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | CNA: GitHub_M |
| 3.1 / 7.2 high |
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | NVD: [email protected] |
Exploit evidence
- https://github.com/baserproject/basercms/security/advisories/GHSA-2pj4-v76f-wjvx
exploit · ADP: CISA-ADP
References
- https://github.com/baserproject/basercms/security/advisories/GHSA-2pj4-v76f-wjvxCNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/baserproject/basercms/commit/464227b8770704076ee6eddd4bd464c184786ecaCNA: GitHub_M · x_refsource_MISC
- https://github.com/baserproject/basercms/commit/c650017acf5dfbfd15eb2f3eda07967bcb002be2CNA: GitHub_M · x_refsource_MISC
- https://github.com/baserproject/bc-theme-file/commit/a8f90096f13eca576a87cb25aa02e8f54642af7eCNA: GitHub_M · x_refsource_MISC
- https://github.com/baserproject/basercms/releases/tag/5.3.0CNA: GitHub_M · x_refsource_MISC
- https://github.com/baserproject/basercms/security/advisories/GHSA-2pj4-v76f-wjvxADP: CISA-ADP · exploit
- https://github.com/baserproject/basercms/commit/464227b8770704076ee6eddd4bd464c184786eca[email protected]
- https://github.com/baserproject/basercms/commit/c650017acf5dfbfd15eb2f3eda07967bcb002be2[email protected]
- https://github.com/baserproject/basercms/releases/tag/5.3.0[email protected]
- https://github.com/baserproject/basercms/security/advisories/GHSA-2pj4-v76f-wjvx[email protected]
- https://github.com/baserproject/bc-theme-file/commit/a8f90096f13eca576a87cb25aa02e8f54642af7e[email protected]
- https://github.com/baserproject/basercms/security/advisories/GHSA-2pj4-v76f-wjvxGitHub Security Advisories · advisory
- https://github.com/advisories/GHSA-2pj4-v76f-wjvxOSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-2pj4-v76f-wjvxOSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.