Path Traversal in Basercms
CVE-2026-30940
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.010 (60.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Basercms
- Baserproject Basercms — versions < 5.2.3
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
- security-advisories@github.com (x_refsource_MISC, Vendor Advisory)
- security-advisories@github.com (x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2026-30940?
- CVE-2026-30940 is a high-severity vulnerability in Basercms, classified under Path Traversal. CVSS score: 7.2/10. Published 2026-03-31.
- How severe is CVE-2026-30940?
- High severity. CVSS v3 base score is 7.2 out of 10.