{"id":"CVE-2026-114622","published":"2026-10-23T13:41:33Z","modified":"2026-10-30T20:04:28Z","title":"baserCMS: Encoded path traversal bypass in the theme file API","vendor":"baserproject","product":"basercms","tier":"tail","description":{"text":"baserCMS is a website development framework. In versions 5.2.3 before 5.3.2 and 5.4.0 before 5.4.2, the optional BcThemeFile plugin's Admin API validates a raw path in ThemeFilesService::update() and getFullpath(), but ThemeFileForm::_execute() subsequently applies rawurldecode() to fullpath before writing. Because normalizePath() resolves only literal dot segments, percent-encoded traversal can pass the containment checks and become a path outside the theme directory at the write sink. An authenticated administrator can write PHP files into writable locations such as webroot and execute them, exceeding the intended theme-template editing boundary. The source also identifies the same check-before-decode ordering in ThemeFilesService::copy(), although that path was not dynamically verified. Exploitation requires the non-default plugin, an administrator session, and a same-origin Origin header; USE_CORE_ADMIN_API=false does not block session-authenticated requests. The Admin web form is not affected by this encoded-path tampering because FormProtection protects fullpath. This is a third bypass of the protections associated with CVE-2026-30940, using encoded traversal decoded after validation. This issue has been patched in versions 5.3.2 and 5.4.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00691,"percentile":0.53752,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-180","name":"Incorrect Behavior Order: Validate Before Canonicalize"}],"references":[{"url":"https://github.com/baserproject/basercms/security/advisories/GHSA-q7g3-qwrc-mp89","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/baserproject/basercms/commit/53ecf177dfb10eb1fb89c4b42d313983329aa162","tags":["x_refsource_MISC"]},{"url":"https://github.com/baserproject/basercms/releases/tag/5.3.2","tags":["x_refsource_MISC"]},{"url":"https://github.com/baserproject/basercms/releases/tag/5.4.2","tags":["x_refsource_MISC"]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":10.75},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"baserproject","affectedVersions":[{"vendor":"baserproject","product":"basercms","versions":[">= 5.2.3, < 5.3.2",">= 5.4.0, < 5.4.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-10-30T20:04:21.764955Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-108993","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-baserproject-basercms-cve-2026-30940","parents":[{"from":"CVE-2026-30940","to":"CVE-2026-114622","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"This is a third bypass of the protections associated with CVE-2026-30940, using encoded traversal decoded after validation.","from":"CVE.org","in":"CVE-2026-114622"}]}],"children":[{"from":"CVE-2026-114622","to":"CVE-2026-62955","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["plugins/bc-theme-file/src/Service/BcThemeFileService.php","plugins/bc-theme-file/src/Service/ThemeFilesService.php","plugins/bc-theme-file/src/Service/ThemeFoldersService.php"],"commits":["https://github.com/baserproject/basercms/commit/53ecf177dfb10eb1fb89c4b42d313983329aa162","https://github.com/baserproject/basercms/commit/464227b8770704076ee6eddd4bd464c184786eca","https://github.com/baserproject/basercms/commit/c650017acf5dfbfd15eb2f3eda07967bcb002be2"],"basis":"shared function","functions":["copyToTheme","getFullpath","update"]}]},{"from":"CVE-2026-114622","to":"CVE-2026-63012","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["plugins/bc-theme-file/src/Service/BcThemeFileService.php","plugins/bc-theme-file/src/Service/ThemeFilesService.php","plugins/bc-theme-file/src/Service/ThemeFoldersService.php"],"commits":["https://github.com/baserproject/basercms/commit/53ecf177dfb10eb1fb89c4b42d313983329aa162","https://github.com/baserproject/basercms/commit/464227b8770704076ee6eddd4bd464c184786eca"],"basis":"shared function","functions":["getFullpath","update"]}]}]}}