Advisory record · GHSA-c5c6-37vq-pjcq

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

CVSS 7.2 HighEPSS 0.011 · 65th percentile

Published by the GitHub Advisory Database at 31 Mar 2026, 22:47 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
baserproject/basercmsPackagist<5.2.35.2.3
Identifiers
GHSA-c5c6-37vq-pjcq · CVE-2026-30940 · PKSA-6jcy-61hj-18tr
Weakness (CWE)
CWE-22 · CWE-73
Published
31 Mar 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

baserCMS, the Packagist package baserproject/basercms before 5.2.3, has a path traversal flaw in its theme file management API, which lets an authenticated administrator write files outside the theme directory and may lead to remote code execution. Exploitation requires administrator credentials and the API enabled (USE_CORE_ADMIN_API=true), since the source says that with default settings the vulnerability alone cannot be exploited. The fix is in version 5.2.3, so users should upgrade to that version or later.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.2 High 3.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.011, the 65th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:02 UTC First seen by agentprime
  2. 31 Oct 2026, 14:02 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.