Read the docs

Path traversal bypass in baserCMS theme file service

Priority HIGH 67CWE-22Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01069 64th percentileScored 2026-11-30
Fix Fixed basercms (baserproject): 5.3.0baserproject/baser-core (Packagist): 5.3.0

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

VendorProductAffected versionsFixed inStatusSource
baserprojectbasercms5.2.3 to before 5.3.05.3.0Patch availableCNA
—baserproject/baser-core (Packagist)before 5.3.05.3.0Patch availableGHSA-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.

CPEVersionsRoleVendor
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

  1. 2026-11-19 Threatist record created from CVE-2026-62955
  2. 2026-11-20 Alias added: GHSA-2pj4-v76f-wjvx
  3. 2026-11-20 Fix available: Packagist/baserproject/[email protected] · GHSA-2pj4-v76f-wjvx
  4. 2026-11-20 CVSS score added · GHSA-2pj4-v76f-wjvx
  5. 2026-11-20 Weakness changed · GHSA-2pj4-v76f-wjvx
  6. 2026-11-20 7 new references · GHSA-2pj4-v76f-wjvx
  7. 2026-11-24 CISA SSVC decision points changed

References

  • 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
See all 84 →

Sources