Path Traversal in Baserproject Basercms
CVE-2026-62955
- CVSS v3
- 7.2 High
- Public exploits
- 1 repository
- EPSS
- 0.011 · 65.4th percentile
- Published
- 2026-11-19
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- High
PR:H - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.011, 65.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Baserproject Basercms — versions >= 5.2.3, < 5.3.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- googlesky/CVE-2026-62955 (last pushed 2026-11-20): baserCMS 5.2.3-5.2.x: getFullpath() skips its realpath containment check when the theme subdirectory for the chosen type is absent — an admin can write outside the theme via ../ (RCE). Incomplete fix…
References
- github.com/baserproject/basercms/security/advisories/GHSA-2pj4-v76f-wjvx
- github.com/baserproject/basercms/commit/464227b8770704076ee6eddd4bd464c184786eca
- github.com/baserproject/basercms/commit/c650017acf5dfbfd15eb2f3eda07967bcb002be2
- github.com/baserproject/bc-theme-file/commit/a8f90096f13eca576a87cb25aa02e8f546…
- github.com/baserproject/basercms/releases/tag/5.3.0