Skip to content
DayZeroHub
High Not yet writtenCVSS 7.2GHSA-2pj4-v76f-wjvxCVE-2026-62955

CVE-2026-62955: baserCMS: Path Traversal Bypass via realpath() in BcThemeFileService (CVE-2026-30940 Patch Bypass)

baserproject basercms

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

ProductVersionsFixed in
baserproject/baser-core< 5.3.05.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

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-22

Relevant change history

  1. Published

    Preliminary advisory published.