p PatchFirst

CVE-2026-62955

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

CVSS 7.2 · High · EPSS 1.1% · Public exploit · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

composer show baserproject/baser-core

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: php

Affected products and versions

  • basercms

    Versions
    • >= 5.2.3, < 5.3.0: Affected

    No fix published

  • baserproject/baser-core Packagist

    Versions
    • 5.0.0
    • 5.0.0-beta2
    • 5.0.0-beta3
    • 5.0.0-beta4
    • 5.0.1
    • 5.0.10
    All versions (45)
    • 5.0.11
    • 5.0.14
    • 5.0.15
    • 5.0.16
    • 5.0.17
    • 5.0.18
    • 5.0.19
    • 5.0.2
    • 5.0.20
    • 5.0.21
    • 5.0.3
    • 5.0.4
    • 5.0.5
    • 5.0.6
    • 5.0.7
    • 5.0.8
    • 5.1.0
    • 5.1.1
    • 5.1.10
    • 5.1.2
    • 5.1.3
    • 5.1.4
    • 5.1.5
    • 5.1.6
    • 5.1.7
    • 5.1.8
    • 5.1.9
    • 5.2.0
    • 5.2.1
    • 5.2.10
    • 5.2.2
    • 5.2.3
    • 5.2.4
    • 5.2.5
    • 5.2.5.1
    • 5.2.6
    • 5.2.7
    • 5.2.8
    • 5.2.9
    Affected ranges
    • ECOSYSTEM: < 5.3.0

    Update to 5.3.0

Original sources

Check your server →