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_app をフォロー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。