{"id":"ghsa-ghsa-2pj4-v76f-wjvx","seq":8782341,"kind":"advisory","title":"baserCMS: Path Traversal Bypass via realpath() in BcThemeFileService (CVE-2026-30940 Patch Bypass)","url":"https://github.com/advisories/GHSA-2pj4-v76f-wjvx","permalink":"https://vulnpulse.app/items/ghsa-ghsa-2pj4-v76f-wjvx","summary":"影響: composer:baserproject/baser-core < 5.3.0 → 5.3.0\nThe 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…","severity":"high","cvss":null,"techs":["php","github"],"cves":["CVE-2026-62955","CVE-2026-30940"],"tags":["GHSA-2pj4-v76f-wjvx","baserproject/baser-core"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-11-20T00:17:47.000Z","fetched_at":"2026-11-20T20:55:51.672Z"}