{"id":"CVE-2026-30940","aliases":["GHSA-c5c6-37vq-pjcq"],"url":"https://o3.security/vulnerability/CVE-2026-30940","summary":"baserCMS: Path Traversal in Theme File API Leads to Arbitrary File Write and RCE","details":"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":"2026-03-31T00:45:35.177Z","modified":"2026-08-05T03:47:24.296865810Z","cvss":{"score":7.2,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"baserproject/basercms","fixedVersion":"5.2.3"}],"fix":null,"references":[{"type":"WEB","url":"https://basercms.net/security/JVN_20837860"},{"type":"WEB","url":"https://github.com/baserproject/basercms/releases/tag/5.2.3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30940.json"},{"type":"ADVISORY","url":"https://github.com/baserproject/basercms/security/advisories/GHSA-c5c6-37vq-pjcq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30940"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-05T03:47:24.296865810Z"}}