Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-62955: high-severity vulnerability (CVSS 7.2) in baserproject basercms.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 7.2.
Affected products and versions
baserproject/baser-core < 5.3.0 (fixed in 5.3.0); baserproject basercms >= 5.2.3, < 5.3.0
| Product | Versions | Fixed in |
|---|---|---|
| baserproject/baser-core | < 5.3.0 | 5.3.0 |
| baserproject basercms | >= 5.2.3, < 5.3.0 | — |
Action recommended by the source
Upgrade to a fixed version: 5.3.0.
Fixed in: 5.3.0
Sources and references
- https://github.com/advisories/GHSA-2pj4-v76f-wjvx — GHSA
- https://github.com/baserproject/basercms/security/advisories/GHSA-2pj4-v76f-wjvx — GHSA
- https://nvd.nist.gov/vuln/detail/CVE-2026-62955 — GHSA
- https://github.com/baserproject/basercms/commit/464227b8770704076ee6eddd4bd464c184786eca — GHSA
- https://github.com/baserproject/basercms/commit/c650017acf5dfbfd15eb2f3eda07967bcb002be2 — GHSA
- https://github.com/baserproject/bc-theme-file/commit/a8f90096f13eca576a87cb25aa02e8f54642af7e — GHSA
- https://github.com/baserproject/basercms/releases/tag/5.3.0 — GHSA
Weaknesses (CWE): CWE-22
Relevant change history
Published
Preliminary advisory published.