Skip to main content

baserCMS CVE-2026-62955

| EUVDEUVD-2026-130719 HIGH
Path Traversal (CWE-22)
2026-11-19 GitHub_M GHSA-2pj4-v76f-wjvx
7.2
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to admin API as administrator
  2. Delivery
    Submit theme-file add request with non-existent type
  3. Exploit
    realpath() fails, containment check skipped
  4. Execution
    Write PHP webshell into webroot via ../ traversal
  5. Impact
    Request shell over HTTP for code execution as web user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated baserCMS administrator (CVSS PR:H) reaching the admin theme-file API, which in the documented PoC requires USE_CORE_ADMIN_API=true in .env, the BcThemeFile plugin installed, and a theme loaded (e.g. BcThemeSample). The specific trigger condition is that the supplied type parameter must map to a subdirectory that does NOT physically exist on disk, so realpath($baseDir) returns false and the containment check is skipped entirely; against an existing directory the traversal is blocked. Affected versions are 5.2.3 up to (not including) 5.3.0. Limiting factors beyond admin authentication: the API must be enabled, and each exploit creates the target directory as a side effect (one-shot per non-existent path), though an attacker can restore the bypass by rotating to other unused type values; writing an executable webshell additionally requires a PHP-process-writable, HTTP-reachable directory such as webroot/ to reach full RCE.

Impact

This is a genuine high-priority issue for the specific population running baserCMS 5.2.3-5.2.x, not a high-CVSS paper risk. The CVSS 7.2 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H) correctly captures a network-reachable, low-complexity flaw whose single real gating factor is PR:H - exploitation requires an authenticated administrator. The decisive aggravating signal is that this is a confirmed incomplete-fix bypass of CVE-2026-30940: operators who upgraded specifically to remediate that bug remain exploitable, and the GHSA advisory documents author-verified remote code execution on the supposedly-patched 5.2.3 build. No CISA KEV listing and no EPSS score are present in the input, so there is no evidence of active or widespread exploitation; the vuln.today priority is 'this_week' (not act_now/emergency), consistent with a serious but authentication-gated bug rather than a mass-exploited internet threat. The main tension to flag: raw impact is RCE-grade (C:H/I:H/A:H), but the PR:H admin requirement sharply narrows the realistic attacker set to someone who already holds admin credentials or has chained a prior auth bypass - defenders should weigh this accordingly rather than treating it as unauthenticated RCE.

Exploit ScenarioDerived

An attacker holding (or having phished/brute-forced) baserCMS administrator credentials on a 5.2.x instance with the core admin API enabled calls the theme-file API with a type value mapping to a directory that does not yet exist, causing realpath() to return false and the containment check to be skipped. They supply a ../ traversal path and PHP contents to drop a webshell into webroot/, then request it over HTTP to run commands as the web-server user. A complete, author-verified PoC (curl-based request sequence with captured command-execution output) is published in the GHSA advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 1.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 19, 2026

Authenticated baserCMS administrators on 5.2.3 up to (but not including) 5.3.0 can escape the theme directory through the theme-file API and write, overwrite or delete files with the PHP process's privileges, escalating to remote code execution where an executable PHP file lands in a web-reachable, writable directory. The issue is an incomplete fix for CVE-2026-30940: BcThemeFileService::getFullpath() only runs its realpath()-based containment check when the base directory actually resolves on disk, so supplying a type value that maps to a non-existent theme subdirectory makes realpath() return false and the validation block is skipped entirely, returning the raw traversal path unvalidated. Exploitation requires admin credentials plus the documented deployment prerequisites (USE_CORE_ADMIN_API=true, BcThemeFile plugin installed, a theme loaded), there is no CISA KEV listing, and the upstream advisory includes a proof-of-concept with verified output on 5.2.3 while 5.3.0 ships the corrected logic.

RemediationAI

Upgrade baserCMS to 5.3.0 or later, which is the vendor-released fix; the relevant changes ship in https://github.com/baserproject/basercms/commit/464227b8770704076ee6eddd4bd464c184786eca, https://github.com/baserproject/basercms/commit/c650017acf5dfbfd15eb2f3eda07967bcb002be2 and https://github.com/baserproject/bc-theme-file/commit/a8f90096f13eca576a87cb25aa02e8f54642af7e, tracked by https://github.com/baserproject/basercms/security/advisories/GHSA-2pj4-v76f-wjvx. Because this is a bypass of the CVE-2026-30940 patch, upgrading only to 5.2.3 leaves the site exploitable. If 5.3.0 cannot be deployed immediately, the concrete compensating controls are: disable or uninstall the bc-theme-file plugin until patched (theme files can then no longer be created or edited through either the API or the admin UI); set USE_CORE_ADMIN_API=false in .env so the documented JWT-based API path used by the PoC is unavailable, keeping in mind that the admin SPA still works over session cookies and that the fix also hardens the admin web path where a request-supplied fullpath is used directly; restrict access to the admin area and /baser/api/admin/* to trusted networks at the reverse proxy, at the cost of blocking legitimate remote administrators; and make the webroot non-executable for PHP (for example remove PHP handling for uploaded/theme directories or serve them as static files) so that even a successful arbitrary write cannot become code execution, though this does not prevent file overwrite or deletion of configuration and other writable data. Review theme and webroot directories for unexpected PHP files and rotate administrator credentials if compromise is suspected.

Affected VersionsENISA

basercms 5.2.3, < 5.3.0

Affected Packages

composer baserproject/baser-core fix: 5.3.0
euvd basercms fix: 5.3.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

baserCMS is a PHP/CakePHP content management framework whose theme-file plugin (bc-theme-file) exposes an admin API for creating and editing files inside a theme. BcThemeFileService::getFullpath() builds a base directory from the request's theme, plugin and type parameters ($baseDir = $viewPath . $type . DS) and concatenates the attacker-supplied path onto it. The 5.2.3 patch for the original CVE-2026-30940 added a CWE-22 containment check that canonicalises $baseDir with realpath() and compares the target prefix - but wrapped the whole check in 'if ($resolvedBase !== false)'. PHP's realpath() returns false for paths that do not exist, so any type mapping to a directory absent from the theme (the sample theme has css and img but no js, for example) bypasses validation altogether and the function returns the unnormalised '../' path. The CWE-22 root cause is therefore a conditional guard whose failure mode is 'skip the check' rather than 'deny'. The fix in 5.3.0 normalises the base with the class's own normalizePath() when realpath() fails, validates $fullPath itself rather than dirname($fullPath), whitelists $type against BcThemeFileUtil::getTemplateTypeName(), constrains the ext field to alphanumerics/hyphen/underscore, and adds an assertWithinThemeDir() sink-level check on create/update/delete/copy so the admin web path - which passes a request-supplied fullpath directly to the filesystem - is also covered. The CPE cpe:2.3:a:baserproject:basercms:*:*:*:*:*:*:*:* is a wildcard, so version scoping comes from the advisory data: composer package baserproject/baser-core vulnerable at <= 5.2.3, fixed in 5.3.0.

Know when Basercms gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.2 HIGH

Network admin API (AV:N) with an authenticated administrator required (PR:H), straightforward bypass via a non-existent type directory (AC:L), no user interaction; arbitrary file write/delete and RCE give C:H/I:H/A:H.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 19, 2026 - 22:19 EUVD
CVE Published
Nov 19, 2026 - 20:25 cve.org
HIGH 7.2

DescriptionCVE.org

baserCMS is a website development framework. From 5.2.3 until 5.3.0, BcThemeFileService::getFullpath() in plugins/bc-theme-file/src/Service/BcThemeFileService.php skips its path containment check when realpath() fails for a nonexistent theme subdirectory selected by the type parameter. An authenticated administrator can supply a traversal path through the theme-file API to access locations outside the theme directory. The bypass of the CVE-2026-30940 fix can permit file writes, overwrites or deletion within the PHP process permissions and, where executable PHP can be written, remote code execution. This issue is fixed in 5.3.0.

Technical POC Analysis

CWE-22 (path traversal), with the advisory also tagging CWE-706 (use of incorrectly-resolved name/reference).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

CVE-2026-62955 is a high-severity vulnerability in baserCMS (versions 5.2.3 to before 5.3.0) that allows authenticated administrators to escape the theme directory and write or delete files, potentially leading to remote code execution. This affects organizations using baserCMS with the BcThemeFile plugin and core admin API enabled, requiring immediate remediation to prevent system compromise.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. As interim mitigations, disable the BcThemeFile plugin, set USE_CORE_ADMIN_API to false, restrict admin access to trusted IPs, and enforce multi-factor authentication for administrators.

Threat Intelligence Overview

EPSS Score
1.1%
Top 35% exploitable
Prevalence
Low
regional Japan-focused open-source CMS framework, limited global enterprise footprint
Threat Intel
1
1 source
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 1.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

57
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2018-18942 HIGH POC
7.2 Nov 05

In baserCMS before 4.1.4, lib\Baser\Model\ThemeConfig.php allows remote attackers to execute arbitrary PHP code via the

CVE-2026-63012 MEDIUM POC
6.5 Nov 19

Authorization bypass in baserCMS before 5.3.0 lets an authenticated operator account read administrator-restricted confi

CVE-2017-10842 CRITICAL
9.8 Aug 29

SQL injection vulnerability in the baserCMS 3.0.14 and earlier, 4.0.5 and earlier allows remote attackers to execute arb

CVE-2023-43792 CRITICAL
9.8 Oct 30

baserCMS is a website development framework. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploita

CVE-2023-43649 CRITICAL
9.8 Oct 30

baserCMS is a website development framework. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploita

CVE-2023-25655 CRITICAL
9.8 Mar 23

baserCMS is a Content Management system. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,

CVE-2023-25654 CRITICAL
9.8 Mar 23

baserCMS is a Content Management system. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,

CVE-2026-30880 CRITICAL
9.2 Mar 31

OS command injection in baserCMS installer prior to version 5.2.3 allows remote attackers to execute arbitrary system co

CVE-2026-30877 CRITICAL
9.1 Mar 31

OS command injection in baserCMS update functionality allows authenticated administrators to execute arbitrary commands

CVE-2026-21861 CRITICAL
9.1 Mar 31

OS command injection in baserCMS core update functionality allows authenticated administrators to execute arbitrary syst

CVE-2026-114621 HIGH
8.8 Oct 23

SQL injection in baserCMS 5.0.0 through 5.3.1 and 5.4.0 through 5.4.1 allows a user who can log into the admin panel to

CVE-2017-10844 HIGH
8.8 Aug 29

baserCMS 3.0.14 and earlier, 4.0.5 and earlier allows an attacker to execute arbitrary PHP code on the server via unspec

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy