CVE-2026-62955
Deferred Deferred - Pending Action

Path Traversal in baserCMS Theme File Service

Vulnerability report for CVE-2026-62955, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-19

Last updated on: 2026-11-19

Assigner: GitHub, Inc.

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-19
Last Modified
2026-11-19
Generated
2026-11-20
AI Q&A
2026-11-20
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
basercms basercms From 5.2.3 (inc) to 5.3.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in baserCMS (versions 5.2.3 to 5.3.0) involves a bypass in the BcThemeFileService::getFullpath() function. When realpath() fails for a nonexistent theme subdirectory, the path containment check is skipped. An authenticated administrator can exploit this to traverse outside the theme directory via the theme-file API.

Detection Guidance

Check for unauthorized file modifications or deletions in theme directories. Review logs for suspicious API calls to BcThemeFileService with traversal paths. Verify baserCMS version is not between 5.2.3 and 5.2.9.

Impact Analysis

An attacker with admin access could write, overwrite, or delete files within the PHP process permissions. If executable PHP files are written, remote code execution may be possible. This could lead to full system compromise depending on the PHP process permissions.

Mitigation Strategies

Upgrade baserCMS to version 5.3.0 or later immediately. Restrict access to the theme-file API for non-admin users. Audit file system permissions for PHP processes.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-62955. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...