CVE-2026-30940
HIGH 7.2CVSS 3.1baserCMS Path Traversal Leads to Arbitrary File Write and RCE via Theme File API
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
- 31 Mar 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22CWE-73
- Also known as
- GHSA-c5c6-37vq-pjcq
- Sources
- NVDJSONOSV GHSA-c5c6-37vq-pjcqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | basercms | basercmscpe:2.3:a:basercms:basercms:*:*:*:*:*:*:*:* |
< 5.2.3 | 5.2.3 |
| OSV | Packagist | baserproject/basercms | < 5.2.3 | 5.2.3 |
References
- https://basercms.net/security/JVN_20837860 · Vendor Advisory, WEB
- https://github.com/baserproject/basercms/releases/tag/5.2.3 · Release Notes, WEB
- https://github.com/baserproject/basercms/security/advisories/GHSA-c5c6-37vq-pjcq · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-30940 · ADVISORY
- https://github.com/baserproject/basercms · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 31 Mar 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 31 Mar 2026)