CVE 7.2 HIGH

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

7.2 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

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.

Basic Information

ID CVE-2026-30940
Source GitHub_M
Published Mar 31, 2026 at 00:45
Modified Apr 2, 2026 at 14:46

Affected Product

Vendor baserproject
Product basercms
Version < 5.2.3
Affected Versions baserproject basercms < 5.2.3

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.