Path traversal in baserCMS - CVE-2026-62955
Published: July 30, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to path traversal in BcThemeFileService::getFullpath() when handling a type value that maps to a non-existent theme subdirectory. A remote privileged user can supply a crafted path containing traversal sequences to execute arbitrary code.
The issue occurs because the directory traversal validation is skipped when realpath() returns false for the base directory, and exploitation can be used to write files outside the intended theme directory.