7.2High

CVE-2026-30940baserCMS: Path Traversal in Theme File API Leads to Arbitrary File Write and RCE

baserproject basercms Published: (7 months ago)

Description

baserCMS is a website development framework. Prior to version 5.2.3, a path traversal vulnerability exists in the theme file management API (/baser/api/admin/bc-theme-file/theme_files/add.json) that allows arbitrary file write. An authenticated administrator can include ../ sequences in the path parameter to create a PHP file in an arbitrary directory outside the theme directory, which may result in remote code execution (RCE). This issue has been patched in version 5.2.3.

Weakness (CWE): CWE-22CWE-73

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
basercms basercms < 5.2.3
baserproject basercms < 5.2.3

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:basercms:basercms:*:*:*:*:*:*:*:* < 5.2.3