{"id":"CVE-2026-30940","state":"PUBLISHED","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 in remote code execution (RCE). This issue has been patched in version 5.2.3.","publishedAt":"2026-03-31T00:45:35.177Z","updatedAt":"2026-04-02T14:46:54.107Z","severity":{"score":7.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["baserproject basercms"],"affected":[{"vendor":"baserproject","product":"basercms","versions":[{"version":"< 5.2.3","status":"affected"}]}],"references":["https://github.com/baserproject/basercms/security/advisories/GHSA-c5c6-37vq-pjcq","https://basercms.net/security/JVN_20837860","https://github.com/baserproject/basercms/releases/tag/5.2.3"],"weaknesses":["CWE-22","CWE-73"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/30xxx/CVE-2026-30940.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-30940","state":"PUBLISHED","datePublished":"2026-03-31T00:45:35.177Z","dateUpdated":"2026-04-02T14:46:54.107Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-07T17:34:39.978Z"},"containers":{"cna":{"title":"baserCMS: Path Traversal in Theme File API Leads to Arbitrary File Write and RCE","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"baserproject","product":"basercms","versions":[{"version":"< 5.2.3","status":"affected"}]}],"references":[{"url":"https://github.com/baserproject/basercms/security/advisories/GHSA-c5c6-37vq-pjcq","name":"https://github.com/baserproject/basercms/security/advisories/GHSA-c5c6-37vq-pjcq","tags":["x_refsource_CONFIRM"]},{"url":"https://basercms.net/security/JVN_20837860","name":"https://basercms.net/security/JVN_20837860","tags":["x_refsource_MISC"]},{"url":"https://github.com/baserproject/basercms/releases/tag/5.2.3","name":"https://github.com/baserproject/basercms/releases/tag/5.2.3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-73","lang":"en","description":"CWE-73: External Control of File Name or Path","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-31T00:45:35.177Z"},"source":{"advisory":"GHSA-c5c6-37vq-pjcq","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-02T14:46:24.039682Z","id":"CVE-2026-30940","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-02T14:46:54.107Z"}}]}}}