Security mailing lists by PureSourceCode

CVE-2026-30940

HIGH 7.2CVSS 3.1

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

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.

Published
31 Mar 2026
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-22CWE-73
Also known as
GHSA-c5c6-37vq-pjcq
Sources
NVDJSONOSV GHSA-c5c6-37vq-pjcqJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD basercms basercms
cpe:2.3:a:basercms:basercms:*:*:*:*:*:*:*:*
< 5.2.3 5.2.3
OSV Packagist baserproject/basercms < 5.2.3 5.2.3

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 31 Mar 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 31 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.