baserCMS: Path Traversal Bypass via realpath() in BcThemeFileService (CVE-2026-30940 Patch Bypass)
受影响
| 软件包 | 受影响版本 | 修复版本 |
|---|---|---|
| composer:baserproject/baser-core | < 5.3.0 | 5.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…
在 X 上接收快讯漏洞利用、重大泄露和故障,附应对措施。
关注 @vulnpulse_app2026/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。