{"id":"CVE-2026-62955","aliases":["GHSA-2pj4-v76f-wjvx"],"title":"baserCMS: Path Traversal Bypass via realpath() in BcThemeFileService (CVE-2026-30940 Patch Bypass)","originalDescription":"baserCMS is a website development framework. From 5.2.3 until 5.3.0, BcThemeFileService::getFullpath() in plugins/bc-theme-file/src/Service/BcThemeFileService.php skips its path containment check when realpath() fails for a nonexistent theme subdirectory selected by the type parameter. An authenticated administrator can supply a traversal path through the theme-file API to access locations outside the theme directory. The bypass of the CVE-2026-30940 fix can permit file writes, overwrites or deletion within the PHP process permissions and, where executable PHP can be written, remote code execution. This issue is fixed in 5.3.0.","severity":{"cvss":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.01086,"percentile":0.66397},"exploitDb":null},"affected":[{"ecosystem":"Packagist","name":"baserproject/baser-core","range":"< 5.3.0","fixed":"5.3.0"},{"ecosystem":"Packagist","name":"baserproject/baser-core","range":">=0, <5.3.0","fixed":"5.3.0"}],"references":[{"url":"https://github.com/baserproject/basercms/security/advisories/GHSA-2pj4-v76f-wjvx","type":"x_refsource_CONFIRM"},{"url":"https://github.com/baserproject/basercms/commit/464227b8770704076ee6eddd4bd464c184786eca","type":"x_refsource_MISC"},{"url":"https://github.com/baserproject/basercms/commit/c650017acf5dfbfd15eb2f3eda07967bcb002be2","type":"x_refsource_MISC"},{"url":"https://github.com/baserproject/bc-theme-file/commit/a8f90096f13eca576a87cb25aa02e8f54642af7e","type":"x_refsource_MISC"},{"url":"https://github.com/baserproject/basercms/releases/tag/5.3.0","type":"x_refsource_MISC"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62955.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62955","type":"advisory"},{"url":"https://github.com/advisories/GHSA-2pj4-v76f-wjvx","type":"other"},{"url":"https://github.com/baserproject/basercms","type":"package"}],"sources":[{"name":"nvd","at":"2026-11-24T04:41:38.429Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62955","license":"NVD terms of use","firstSeenAt":"2026-11-19T21:47:03.559Z"},{"name":"osv","at":"2026-11-20T01:01:51.411Z","url":"https://osv.dev/vulnerability/GHSA-2pj4-v76f-wjvx","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T22:19:49.911Z"},{"name":"ghsa","at":"2026-12-04T05:40:11.536Z","url":"https://github.com/advisories/GHSA-2pj4-v76f-wjvx","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T00:29:05.780Z"},{"name":"cvelistV5","at":"2026-11-27T12:36:00.564Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-62955","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T20:38:39.531Z"}],"firstSeenAt":"2026-11-19T20:38:39.531Z","publishedAt":"2026-11-19T20:25:27.503Z","modifiedAt":"2026-11-24T04:17:35.197Z"}