Skip to main content

CVE-2026-114623: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in baserproject basercms

0
Medium
VulnerabilityCVE-2026-114623cvecve-2026-114623cwe-22cwe-200cwe-863
Published: 10/23/2026 (10/23/2026, 13:45:29 UTC)
Source: CVE Database V5
Vendor/Project: baserproject
Product: basercms

Description

baserCMS versions 5.0.0 before 5.3.2 and 5.4.0 before 5.4.2 contain a path traversal vulnerability in the optional BcThemeFile plugin. An authenticated user with theme-file view permission can read files outside the theme directory by exploiting improper pathname validation. This can disclose sensitive application source code and configuration files, including database credentials and security salts. The plugin is disabled by default, and unauthenticated users cannot exploit this issue. The vulnerability does not allow file writes or code execution and has been patched in versions 5.3.2 and 5.4.2.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected software

baserproject

basercms

Affected versions
>=5.0.0 <5.3.2>=5.4.0 <5.4.2
GitHub Actionsmore threats →ai
baserproject/basercms
pkg:github/baserproject/basercms
Affected versions
>=5.0.0 <5.3.2>=5.4.0 <5.4.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/23/2026, 14:15:51 UTC

Technical Analysis

baserCMS's optional BcThemeFile plugin in versions >=5.0.0 <5.3.2 and >=5.4.0 <5.4.2 allows authenticated users with theme-file view permission to perform path traversal via the ThemeFilesController::parseArgs() method. This method constructs file paths containing '../' segments without proper containment validation before passing them to ThemeFilesService::get(). Authorization checks occur on the unresolved path, but the resolved path is used to read file contents, exposing sensitive files such as config/install.php and config/app_local.php. The vulnerability is limited to reading files with extensions .php, .css, .js, and .ctp and does not disclose .env, .pem, or SQLite database files. The plugin is disabled by default, and unauthenticated access is not sufficient to exploit this issue. The flaw does not permit file modification or code execution. Patches are available in versions 5.3.2 and 5.4.2.

Potential Impact

An attacker with authenticated access and theme-file view permission can read sensitive files outside the intended theme directory, potentially exposing application source code, database credentials for MySQL or PostgreSQL, and security salts. This exposure can aid further attacks or unauthorized access. However, the vulnerability does not allow file modification, code execution, or disclosure of certain sensitive files like .env or private keys. The plugin is disabled by default, limiting exposure.

Mitigation Recommendations

This vulnerability has been officially fixed in baserCMS versions 5.3.2 and 5.4.2. Users should upgrade to these or later versions to remediate the issue. Since the BcThemeFile plugin is disabled by default, disabling it if not needed also reduces risk. No additional action is required if the plugin is not enabled or if the system is updated to the fixed versions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-10-21T20:34:25.600Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6adb689f4d27ba8daa2f82d9

Added to database: 10/23/2026, 14:01:03 UTC

Last enriched: 10/23/2026, 14:15:51 UTC

Last updated: 10/23/2026, 14:16:13 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses