Public vulnerability disclosure

CVE-2026-62955

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

publishedCWE-22

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.

Technical severity7.2 highCVSS 3.1 · CNA: GitHub_M
Published2026-11-19Source updated 2026-11-24
Collected2026-11-245 attributed sources

Fixes and workarounds

Fix

baserproject/baser-core (composer): GitHub reports patched versions 5.3.0. Check the advisory for the affected release branch.

Source: GitHub GHSA-2pj4-v76f-wjvx

Fix

baserproject/baser-core (Packagist): OSV reports a fixed version 5.3.0. Check the advisory for supported release branches.

Source: OSV GHSA-2pj4-v76f-wjvx

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
basercms
baserproject
>= 5.2.3, < 5.3.0 (affected) CNA: GitHub_M
baserproject/baser-core

baserproject/baser-core
composer
<= 5.2.3 (affected, GitHub advisory range) GitHub GHSA-2pj4-v76f-wjvx
baserproject/baser-core

baserproject/baser-core
Packagist
5.0.0 (affected, Packagist)
5.0.0-beta2 (affected, Packagist)
5.0.0-beta3 (affected, Packagist)
5.0.0-beta4 (affected, Packagist)
5.0.1 (affected, Packagist)
5.0.10 (affected, Packagist)
5.0.11 (affected, Packagist)
5.0.14 (affected, Packagist)
5.0.15 (affected, Packagist)
5.0.16 (affected, Packagist)
5.0.17 (affected, Packagist)
5.0.18 (affected, Packagist)
5.0.19 (affected, Packagist)
5.0.2 (affected, Packagist)
5.0.20 (affected, Packagist)
5.0.21 (affected, Packagist)
5.0.3 (affected, Packagist)
5.0.4 (affected, Packagist)
5.0.5 (affected, Packagist)
5.0.6 (affected, Packagist)
5.0.7 (affected, Packagist)
5.0.8 (affected, Packagist)
5.1.0 (affected, Packagist)
5.1.1 (affected, Packagist)
5.1.10 (affected, Packagist)
5.1.2 (affected, Packagist)
5.1.3 (affected, Packagist)
5.1.4 (affected, Packagist)
5.1.5 (affected, Packagist)
5.1.6 (affected, Packagist)
5.1.7 (affected, Packagist)
5.1.8 (affected, Packagist)
5.1.9 (affected, Packagist)
5.2.0 (affected, Packagist)
5.2.1 (affected, Packagist)
5.2.10 (affected, Packagist)
5.2.2 (affected, Packagist)
5.2.3 (affected, Packagist)
5.2.4 (affected, Packagist)
5.2.5 (affected, Packagist)
5.2.5.1 (affected, Packagist)
5.2.6 (affected, Packagist)
5.2.7 (affected, Packagist)
5.2.8 (affected, Packagist)
5.2.9 (affected, Packagist)
Ecosystem version events: introduced 0; fixed 5.3.0
Source events (ECOSYSTEM)
[
  {
    "introduced": "0"
  },
  {
    "fixed": "5.3.0"
  }
]

Other versions: unaffected
OSV GHSA-2pj4-v76f-wjvx

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 7.2
high
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HCNA: GitHub_M
3.1 / 7.2
high
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HNVD: [email protected]

Exploit evidence

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide