# CVE-2026-114622: baserCMS: Encoded path traversal bypass in the theme file API


- **Severity:** High 7.2 (`CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Fix available:** No
- **Published:** 23 Oct 2026
- **Updated:** 23 Oct 2026
- **Also known as:** GHSA-q7g3-qwrc-mp89

## What is CVE-2026-114622?

CVE-2026-114622 is a high-severity vulnerability in baserproject basercms, published on 23 Oct 2026. 

### Official description

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.

Weakness: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), CWE-180 (Incorrect Behavior Order: Validate Before Canonicalize)

## Which versions are affected by CVE-2026-114622?


## How do I fix CVE-2026-114622?

No fix has been published for CVE-2026-114622 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-114622 being exploited?

There is no known exploitation of CVE-2026-114622 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-114622 and fix it if it is affected.

What it is: CVE-2026-114622 is a high-severity vulnerability in baserproject basercms, published on 23 Oct 2026. 
Exploitation: There is no known exploitation of CVE-2026-114622 in the wild and no public exploit code.

Affected product: baserproject basercms. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-114622/ (Markdown: https://insights.sbomify.com/CVE-2026-114622/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-114622
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-114622
- OSV: https://osv.dev/vulnerability/CVE-2026-114622

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-114622/
Summaries are generated and may contain mistakes; the official description above is the record.
