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.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-c5c6-37vq-pjcq | baserCMS Path Traversal Leads to Arbitrary File Write and RCE via Theme File API |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 01 Apr 2026 23:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Basercms
Basercms basercms |
|
| CPEs | cpe:2.3:a:basercms:basercms:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Basercms
Basercms basercms |
Tue, 31 Mar 2026 03:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | baserCMS: Path Traversal in Theme File API Leads to Arbitrary File Write and RCE | |
| Weaknesses | CWE-22 CWE-73 |
|
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-03-31T00:45:35.177Z
Reserved: 2026-03-07T17:34:39.978Z
Link: CVE-2026-30940
No data.
Status : Analyzed
Published: 2026-03-31T01:16:36.430
Modified: 2026-04-01T20:26:17.970
Link: CVE-2026-30940
No data.
OpenCVE Enrichment
Updated: 2026-03-31T19:56:39Z
Github GHSA