CVE-2026-30940Path Traversal in Basercms

Severity
7.2HIGHNVD
EPSS
0.3%
top 50.55%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 31

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HExploitability: 1.2 | Impact: 5.9

Affected Packages3 packages

NVDbasercms/basercms< 5.2.3
CVEListV5baserproject/basercms< 5.2.3
Packagistbaserproject/basercms< 5.2.3

🔴Vulnerability Details

2
GHSA
baserCMS Path Traversal Leads to Arbitrary File Write and RCE via Theme File API2026-03-31
OSV
baserCMS Path Traversal Leads to Arbitrary File Write and RCE via Theme File API2026-03-31

🕵️Threat Intelligence

1
Wiz
CVE-2026-30940 Impact, Exploitability, and Mitigation Steps | Wiz