baserCMS flaw bypasses security patch, affects versions before 5.3.0
- baserCMS
- BcThemeFileService
- Path Traversal
- Remote Code Execution
- Patch Bypass

Vulnerability allows authenticated administrators to perform arbitrary file writes
Issue stems from bypassed realpath validation in version 5.2.3
Security flaw resolved in updated version 5.3.0
baserCMS has a path traversal vulnerability in BcThemeFileService that lets authenticated administrators bypass an incomplete security fix for CVE-2026-30940. The flaw affects versions before 5.3.0 and was verified in version 5.2.3.
The check added in version 5.2.3 relies on realpath(), a function that resolves a directory’s physical path. When a target directory does not exist, the function returns false and the security check is skipped, leaving the supplied path unvalidated.
An authenticated administrator could exploit the flaw to write arbitrary PHP files to directories accessible to the web server, potentially enabling remote code execution. Version 5.3.0 contains the fix.
Key terms explained
- baserCMS
baserCMS is a Japanese open-source content management system designed for website creation. It provides tools for managing web content and site structure.




