← VULNERABILITIES

CVE-2026-62955

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

High · 7.2Fix available
CVSS
7.2
EPSS
1.09% (p66)
Published
2026-11-19
Age
14d old
Modified
2026-11-24
Product
baserproject basercms
Aliases
GHSA-2pj4-v76f-wjvx

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

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.

Fixed in

5.3.0

Affected packages

EcosystemPackageRangeFixed
Packagistbaserproject/baser-core< 5.3.05.3.0
Packagistbaserproject/baser-core>=0, <5.3.05.3.0

Sources

  • NVD · first seen 14d ago · NVD terms of use
  • OSV · first seen 14d ago · CC-BY 4.0
  • GitHub Advisory Database · first seen 14d ago · CC-BY 4.0
  • CVE List · first seen 14d ago · CVE Terms of Use

References

JSON