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

Status: published. Published: 2026-11-19. Updated: 2026-11-24.

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.

## Remediation

- 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) — https://github.com/baserproject/basercms/security/advisories/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) — https://github.com/advisories/GHSA-2pj4-v76f-wjvx

## Affected products and versions

- baserproject / basercms: >= 5.2.3, < 5.3.0 (affected). Source: CNA: GitHub_M
-  / baserproject/baser-core (baserproject/baser-core): <= 5.2.3 (affected, GitHub advisory range). Source: GitHub GHSA-2pj4-v76f-wjvx
-  / baserproject/baser-core (baserproject/baser-core): 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: OSV GHSA-2pj4-v76f-wjvx

## Severity and prioritization

- CVSS 3.1: 7.2 (high); CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H; source: CNA: GitHub_M

- CVSS 3.1: 7.2 (high); CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H; source: NVD: security-advisories@github.com

- CISA KEV: No listing in collected sources

- EPSS: 1.06% as of 2026-11-23; percentile 65.45%

- SSVC: exploitation poc; automatable no; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-22

## Exploit evidence

- exploit: https://github.com/baserproject/basercms/security/advisories/GHSA-2pj4-v76f-wjvx (ADP: CISA-ADP)

## References

- https://github.com/baserproject/basercms/security/advisories/GHSA-2pj4-v76f-wjvx (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/baserproject/basercms/commit/464227b8770704076ee6eddd4bd464c184786eca (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/baserproject/basercms/commit/c650017acf5dfbfd15eb2f3eda07967bcb002be2 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/baserproject/bc-theme-file/commit/a8f90096f13eca576a87cb25aa02e8f54642af7e (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/baserproject/basercms/releases/tag/5.3.0 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/baserproject/basercms/security/advisories/GHSA-2pj4-v76f-wjvx (ADP: CISA-ADP; exploit)

- https://github.com/baserproject/basercms/commit/464227b8770704076ee6eddd4bd464c184786eca (security-advisories@github.com)

- https://github.com/baserproject/basercms/commit/c650017acf5dfbfd15eb2f3eda07967bcb002be2 (security-advisories@github.com)

- https://github.com/baserproject/basercms/releases/tag/5.3.0 (security-advisories@github.com)

- https://github.com/baserproject/basercms/security/advisories/GHSA-2pj4-v76f-wjvx (security-advisories@github.com)

- https://github.com/baserproject/bc-theme-file/commit/a8f90096f13eca576a87cb25aa02e8f54642af7e (security-advisories@github.com)

- https://github.com/baserproject/basercms/security/advisories/GHSA-2pj4-v76f-wjvx (GitHub Security Advisories; advisory)

- https://github.com/advisories/GHSA-2pj4-v76f-wjvx (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-2pj4-v76f-wjvx (OSV / GitHub Security Advisories; osv)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-62955; retrieved 2026-11-24; source updated 2026-11-24

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-62955; retrieved 2026-11-20; source updated 2026-11-19

- GitHub Security Advisories: https://github.com/baserproject/basercms/security/advisories/GHSA-2pj4-v76f-wjvx; retrieved 2026-11-22; source updated 2026-07-30

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-2pj4-v76f-wjvx; retrieved 2026-11-24; source updated 2026-11-20

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-62955; retrieved 2026-11-24; source updated Not reported

Revision: d1ea2c9c66bcf9f8ff376fae5eea1eb1a35c0cd30617cb550963a2234f9cb8cc

Canonical: https://y2.dev/cve/CVE-2026-62955

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.