baserCMS: Path traversal in the BcThemeFile admin screen allows file disclosure
CVE-2026-114623Published 23 Oct 2026, 13:45 UTC
Real-world risk
4.1/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.5
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
baserCMS is a website development framework. In versions 5.0.0 before 5.3.2 and 5.4.0 before 5.4.2, an authenticated user with only theme-file view permission can traverse outside the theme directory through the optional BcThemeFile plugin's Admin web screen. ThemeFilesController::parseArgs() constructs a path containing literal ../ segments, and the view and edit actions pass it to ThemeFilesService::get() without containment validation. Authorization checks the unresolved request path, after which ThemeFile::_getContents() reads the resolved file and exposes its contents in the form textarea. A client must preserve the dot segments rather than normalize them away. Readable files are limited to .php, .css, .js, and .ctp; this can disclose application source and config/install.php database credentials in MySQL or PostgreSQL deployments, while SQLite configurations have an empty database password. Reading config/app_local.php may expose the Security.salt fallback, which is effective only when not overridden by environment configuration. The flaw does not disclose .env, .pem, or SQLite .db files, does not itself permit file writes or code execution, and does not affect the separate API getFullpath() route. The plugin is disabled by default and unauthenticated requests are not sufficient. This issue has been patched in versions 5.3.2 and 5.4.2.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| basercmsNiche | >= 5.0.0, < 5.3.2; >= 5.4.0, < 5.4.2 | 5.3.2, 5.4.2 |
What to do
Update to a fixed version: 5.3.2, 5.4.2.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.7% chance of exploitation in 30 days (percentile 53), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.600
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.6 × threat 0.854.080
- Rounded to one decimal between 0.1 and 104.1
Exploitation and evidence timeline
- 23 Oct 2026 Published
- 3 Dec 2026 Risk 4.1 (cvss fallback)
Weakness
CWE-22, CWE-200, CWE-863
References
- https://github.com/baserproject/basercms/security/advisories/GHSA-rqr8-gmx5-xvrrvendor-advisory
- https://github.com/baserproject/basercms/commit/53ecf177dfb10eb1fb89c4b42d313983329aa162misc
- https://github.com/baserproject/basercms/commit/9bc50d7a47cd834dad5ed80ad7a2e9fcb63f1321misc
- https://github.com/baserproject/basercms/releases/tag/5.3.2misc
- https://github.com/baserproject/basercms/releases/tag/5.4.2misc
- CVE-2026-114623 on CVE.org