CVE-2026-62955 Details
Description
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.
A path traversal vulnerability has been identified in baserCMS versions 5.2.3 prior to 5.3.0, specifically within the BcThemeFileService component. The issue arises because the getFullpath() method in BcThemeFileService.php fails to properly validate file paths when the realpath() function indicates that a theme subdirectory does not exist. This oversight allows authenticated administrators to manipulate the path parameter and access directories outside the intended theme directory. Exploiting this vulnerability can lead to unauthorized file writes, overwrites, or deletions, potentially allowing remote code execution if executable PHP files are written to the server.
Users can update to baserCMS version 5.3.0, which includes a proper fix for this vulnerability. Instructions for updating can be found in the baserCMS documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 19, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/baserproject/basercms/commit/464227b8770704076ee6eddd4bd464c184786eca | [email protected] | BundleSource CodeVendor |
| https://github.com/baserproject/basercms/commit/c650017acf5dfbfd15eb2f3eda07967bcb002be2 | [email protected] | Source CodeVendor |
| https://github.com/baserproject/basercms/releases/tag/5.3.0 | [email protected] | Release NotesVendor |
| https://github.com/baserproject/basercms/security/advisories/GHSA-2pj4-v76f-wjvx | [email protected] | AdvisoryBundleExploitRemedyTechnical AnalysisVendor |
| https://github.com/baserproject/bc-theme-file/commit/a8f90096f13eca576a87cb25aa02e8f54642af7e | [email protected] | Source CodeVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| baserCMS | <= 5.2.3 (semver) |
CPE
Remediation
| |
Change History
1 change record found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 19, 2026 | New CVE Received | [email protected] |
Volerion