CVE-2026-30940 json
baserCMS: Path Traversal in Theme File API Leads to Arbitrary File Write and RCE
published 2026-03-31 7 mo ago modified 2026-09-10 1 mo ago also EUVD-2026-17267 , GHSA-c5c6-37vq-pjcq
- cvss
- 7.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist baserproject/basercms 5.2.3
- basercms basercms 5.2.3
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 7 mo ago
Exploit prediction
1.07% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/baserproject/basercms/security/advisories/GHSA-c5c6-37vq-pjcq referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | baserproject/basercms | <5.2.3 |
5.2.3 |
Affected products
- baserproject basercms
Classification
References
-
github.com
/baserproject/basercms/security/advisories/GHSA-c5c6-37vq-pjcq
web, exploit, vendor-advisory
-
basercms.net
/security/JVN_20837860
web, vendor-advisory
-
github.com
/baserproject/basercms/releases/tag/5.2.3
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-30940
advisory
-
github.com
/baserproject/basercms
package
Sources
- CVE List CVE-2026-30940
- GitHub Advisory GHSA-c5c6-37vq-pjcq
- NVD CVE-2026-30940
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.