{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-30940","id":"CVE-2026-30940","title":"baserCMS: Path Traversal in Theme File API Leads to Arbitrary File Write and RCE","description":"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 ","descriptionLong":"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","updated":"2026-10-28T02:31:10.864561264Z","reserved":"2026-03-07T17:34:39.978Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["baserproject basercms"],"affectedProducts":[{"vendor":"baserproject","product":"basercms","defaultStatus":null,"versions":[{"version":"< 5.2.3","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"baserproject/basercms","purl":"pkg:composer/baserproject/basercms","ranges":["<5.2.3"],"fixed":["5.2.3"],"advisory":"GHSA-c5c6-37vq-pjcq"}],"cwes":["CWE-22","CWE-73"],"aliases":["GHSA-c5c6-37vq-pjcq"],"references":[{"url":"https://github.com/baserproject/basercms/security/advisories/GHSA-c5c6-37vq-pjcq","tags":["x_refsource_CONFIRM","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://basercms.net/security/JVN_20837860","tags":["x_refsource_MISC","Vendor Advisory","web"]},{"url":"https://github.com/baserproject/basercms/releases/tag/5.2.3","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30940.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30940","tags":["advisory"]},{"url":"https://github.com/baserproject/basercms","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.01091,"epssPercentile":0.66134,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-30940","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30940","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-30940","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-c5c6-37vq-pjcq","ok":true,"note":"GHSA-c5c6-37vq-pjcq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-30940","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}