Home

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.

PUBLISHED Reserved 2026-03-07 | Published 2026-03-31 | Updated 2026-04-02 | Assigner GitHub_M




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

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-73: External Control of File Name or Path

Product status

< 5.2.3
affected

References

github.com/...sercms/security/advisories/GHSA-c5c6-37vq-pjcq

basercms.net/security/JVN_20837860

github.com/baserproject/basercms/releases/tag/5.2.3

cve.org (CVE-2026-30940)

nvd.nist.gov (CVE-2026-30940)

Download JSON