Path traversal bypass in baserCMS theme file service
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
baserCMS from 5.2.3 before 5.3.0 is affected. The getFullpath() function in BcThemeFileService skips its path containment check when realpath() fails for a nonexistent theme subdirectory, which is a bypass of an earlier fix (CWE-22). An authenticated administrator can send a traversal path through the theme-file API to write, overwrite or delete files outside the theme directory, and can execute code where executable PHP files can be written.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| baserproject | basercms | 5.2.3 to before 5.3.0 | 5.3.0 | Patch available | CNA |
| — | baserproject/baser-core (Packagist) | before 5.3.0 | 5.3.0 | Patch available | GHSA-2pj4-v76f-wjvx |
- basercms Vendorbaserproject Affected 5.2.3 to before 5.3.0 Fixed in 5.3.0 Patch available CNA
- baserproject/baser-core (Packagist) Vendor— Affected before 5.3.0 Fixed in 5.3.0 Patch available GHSA-2pj4-v76f-wjvx
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:basercms:basercms:*:*:*:*:*:*:*:* | — | — | baserproject |
- cpe:2.3:a:basercms:basercms:*:*:*:*:*:*:*:* Versions — — ·baserproject
Remediation
Update baserproject basercms and the baserproject/baser-core Packagist package to version 5.3.0.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
- Fix · CNA basercms (baserproject) Fixed in 5.3.0
- Fix · GHSA-2pj4-v76f-wjvx baserproject/baser-core (Packagist) Fixed in 5.3.0 Advisory →
Timeline
- 2026-11-19 Threatist record created from CVE-2026-62955
- 2026-11-20 Alias added: GHSA-2pj4-v76f-wjvx
- 2026-11-20 Fix available: Packagist/baserproject/[email protected] · GHSA-2pj4-v76f-wjvx
- 2026-11-20 CVSS score added · GHSA-2pj4-v76f-wjvx
- 2026-11-20 Weakness changed · GHSA-2pj4-v76f-wjvx
- 2026-11-20 7 new references · GHSA-2pj4-v76f-wjvx
- 2026-11-24 CISA SSVC decision points changed
References
Other 6
- https://github.com/baserproject/basercms/security/advisories/GHSA-2pj4-v76f-wjvx
- https://github.com/baserproject/basercms/commit/464227b8770704076ee6eddd4bd464c184786eca
- https://github.com/baserproject/basercms/commit/c650017acf5dfbfd15eb2f3eda07967bcb002be2
- https://github.com/baserproject/bc-theme-file/commit/a8f90096f13eca576a87cb25aa02e8f54642af7e
- https://github.com/baserproject/basercms/releases/tag/5.3.0
- https://github.com/baserproject/basercms
More baserproject vulnerabilities
- TI-2026-53549 baserCMS < 5.3.0 SQL Injection and Code Injection via BcDatabaseService.php CVSS 4.0HIGH 8.6
- TI-2026-17563 baserCMS: OS Command Injection Leading to Remote Code Execution (RCE) CVSS 3.1CRITICAL 9.1
- TI-2025-23967 baserCMS: unsafe File Upload Leading to Remote Code Execution (RCE) CVSS 3.1HIGH 8.7
- TI-2026-79890 PHP object injection in baserCMS widget-area entity CVSS 3.1HIGH 7.2
- TI-2026-79888 Encoded path traversal in baserCMS theme file API lets admins write files CVSS 3.1HIGH 7.2
- TI-2026-79891 Stored cross-site scripting in baserCMS via blog comment shortcodes CVSS 3.1HIGH 7.1
Sources
- CVE-2026-62955 · CVE Program
- CVE-2026-62955 · NVD
- FIRST EPSS
- GHSA-2pj4-v76f-wjvx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences