UNKNOWNCVE-2026-30940

baserCMS: Path Traversal in Theme File API Leads to Arbitrary File Write and RCE

Platform

php

Component

basercms

Fixed in

5.2.3

baserCMS is a website development framework. Prior to version 5.2.3, a path traversal vulnerability exists in the theme file management API (/baser/api/admin/bc-theme-file/theme_files/add.json) that allows arbitrary file write. An authenticated administrator can include ../ sequences in the path parameter to create a PHP file in an arbitrary directory outside the theme directory, which may result in remote code execution (RCE). This issue has been patched in version 5.2.3.

How to fix

Actualice baserCMS a la versión 5.2.3 o superior. Esta versión contiene la corrección para la vulnerabilidad de path traversal en la API de gestión de archivos de temas.

Monitor your dependencies automatically

Get notified when new vulnerabilities affect your projects. Free forever.

Start free
CVE-2026-30940 — Vulnerability Details | NextGuard | NextGuard