baserCMS
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5.2.3, < 5.3.0
Fixed in 5.3.0
Mitigation
Upgrade basercms to 5.3.0 or later.
References
- Vendor advisory github.com/baserproject/basercms/security/advi…
- Patch github.com/baserproject/basercms/commit/464227…
- Patch github.com/baserproject/basercms/commit/c65001…
2 more
Timeline
Days relative to CVE publicationFirst public PoC 7 h after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-62955 (created 20 Nov 2026, found by us: 20 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-62955 | 20 Nov 2026 +7 h | 20 Nov 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.