← 漏洞与更新

高危漏洞公告PHPGitHub

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

受影响

软件包受影响版本修复版本
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…

在 GitHub Advisory Database 阅读

2026/11/20 09:17,GitHub Advisory Database 发布了“baserCMS: Path Traversal Bypass via realpath() in BcThemeFileService (CVE-2026-30940 Patch Bypass)”(类型:漏洞公告)。严重程度为“高危”(high)。相关技术:PHP、GitHub。CVE:CVE-2026-62955、CVE-2026-30940。