← Vulnerabilities

HighAdvisoryPHPGitHub

baserCMS: Path Traversal Bypass via realpath() in BcThemeFileService (CVE-2026-30940 Patch Bypass)

Affected

PackageAffected versionsFixed in
composer:baserproject/baser-core< 5.3.05.3.0

The security patch introduced in baserCMS 5.2.3 to address CVE-2026-30940 / [GHSA-c5c6-37vq-pjcq](https://github.com/baserproject/basercms/security/advisories/GHSA-c5c6-37vq-pjcq) is incomplete. The patch added a realpath()-based directory traversal check in BcThemeFileService::getFullpath(), but the check is entirely skipped when realpath($baseDir) returns false — which occurs whenever the target subdirectory does not physically exist on disk. An authenticated administrator can bypass the patc…

Read on GitHub Advisory Database

On 11/20/2026, 09:17 AM, GitHub Advisory Database published "baserCMS: Path Traversal Bypass via realpath() in BcThemeFileService (CVE-2026-30940 Patch Bypass)" (type: Advisory). Severity is "High" (high). Related technologies: PHP, GitHub. CVE: CVE-2026-62955, CVE-2026-30940.