CVE-2026-62955
High 7.2No known exploitationFix availablebaserCMS: Path Traversal Bypass via realpath() in BcThemeFileService (CVE-2026-30940 Patch Bypass)
Vendor advisory: GHSA-2pj4-v76f-wjvx
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 65% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-22
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| baserproject | basercms | >= 5.2.3, < 5.3.0 | Not documented | CVE Program |
| composer | baserproject/baser-core | all versions before 5.3.0 | 5.3.0 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-2pj4-v76f-wjvx (opens in a new tab)github-advisory
- https://github.com/baserproject/basercms/commit/464227b8770704076ee6eddd4bd464c184786eca (opens in a new tab)x_refsource_misc
- https://github.com/baserproject/basercms/commit/c650017acf5dfbfd15eb2f3eda07967bcb002be2 (opens in a new tab)x_refsource_misc
- https://github.com/baserproject/basercms/releases/tag/5.3.0 (opens in a new tab)x_refsource_misc
- https://github.com/baserproject/basercms/security/advisories/GHSA-2pj4-v76f-wjvx (opens in a new tab)x_refsource_confirm
- https://github.com/baserproject/bc-theme-file/commit/a8f90096f13eca576a87cb25aa02e8f54642af7e (opens in a new tab)x_refsource_misc