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

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.09%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-19T20:25:27.503Z
- Modified: 2026-11-24T04:17:35.197Z
- Also known as: GHSA-2pj4-v76f-wjvx
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- baserproject basercms: >= 5.2.3, < 5.3.0
- baserproject/baser-core (Packagist): before 5.3.0

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/baserproject/basercms/security/advisories/GHSA-2pj4-v76f-wjvx> (exploit, web)
- <https://github.com/baserproject/basercms/commit/464227b8770704076ee6eddd4bd464c184786eca> (web)
- <https://github.com/baserproject/basercms/commit/c650017acf5dfbfd15eb2f3eda07967bcb002be2> (web)
- <https://github.com/baserproject/bc-theme-file/commit/a8f90096f13eca576a87cb25aa02e8f54642af7e> (web)
- <https://github.com/baserproject/basercms/releases/tag/5.3.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-62955> (advisory)
- <https://github.com/baserproject/basercms> (package)

## Sources

- CVE List: [CVE-2026-62955](https://www.cve.org/CVERecord?id=CVE-2026-62955), CVE Terms of Use, modified 2026-11-24
- GitHub Advisory Database: [GHSA-2pj4-v76f-wjvx](https://github.com/advisories/GHSA-2pj4-v76f-wjvx), CC-BY-4.0, modified 2026-11-20
- NVD: [CVE-2026-62955](https://nvd.nist.gov/vuln/detail/CVE-2026-62955), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-62955 · Whole record: https://cve.day/CVE-2026-62955.json · Rebuilt by cve.day 2026-11-25T22:59:52.234Z
