79% vs 51%: independent neobanks lag on app security. Read the report

Deep Dive

Deep Dive

dotCMS WebDAV Path Traversal RCE, Public PoC (CVE-2026-64883)

dotCMS WebDAV path traversal lets any authenticated user write files as the service account and reach RCE; fixed in 26.10.19-01 and 25.07.10 LTS v21.

TL;DR

  • A path traversal in dotCMS WebDAV temp-file handling lets any authenticated user, even a front-end-only one, write files as the service account and reach code execution. The dotCMS CNA rates CVE-2026-64883 CVSS v4.0 9.4 Critical.
  • dotCMS releases before 26.10.19-01 are affected, including 25.07.10 LTS builds before v21. The WebDAV servlet is mapped by default, and any account that can authenticate to it can reach the flaw.
  • A public proof-of-concept script appeared on 2026-12-06. No in-the-wild exploitation is reported, and the CVE is not in the CISA Known Exploited Vulnerabilities catalog, which was at version 2026.12.04 on 2026-12-06.
  • Upgrade to 26.10.19-01 or later, or to the 25.07.10 LTS v21 build. "How do I fix it?" gives the container upgrade and the proxy block to use until the upgrade lands.

Am I affected?

You are affected if a dotCMS instance runs an affected release and its WebDAV endpoint is reachable by an account an attacker holds. All of these must hold:

  • The release is dotCMS before 26.10.19-01, or a 25.07.10 LTS build before v21.
  • The WebDAV servlet is reachable at /webdav/. web.xml maps it at /webdav/working/*, /webdav/live/*, /webdav/autopub/* and /webdav/nonpub/*, and a reverse proxy may block those paths.
  • An attacker has any account that can authenticate to WebDAV. The advisory says any authenticated user, including a front-end-only account.

dotCMS is an enterprise Java content management system. The vendor does not publish an install base, so the reach figure here is the official container image: dotcms/dotcms had 1,894,808 Docker Hub pulls on 2026-12-06. The dotCMS/core repository had 971 stars and 491 forks on the same day.

Branch Affected versions Fixed version
26.x before 26.10.19-01 26.10.19-01
25.07 LTS 25.07.10 before LTS v21 25.07.10 LTS v21
Earlier releases before 26.10.19-01 no fixed build listed; move to 26.10.19-01 or later

The CVE record rates the flaw CVSS v4.0 9.4 Critical, CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H, CWE-22.

Check the running version. The API request needs a backend account, and the container command reads the build file that the image ships:

curl -s -u admin@dotcms.com:admin http://localhost:8082/api/v1/configuration | jq -r '.entity.releaseInfo.version'
docker exec dotcms sh -c 'find /srv/dotserver -name build.properties -path "*/WEB-INF/classes/*" -exec cat {} \;'

Replace the example credentials with a backend account of your own.

Check whether WebDAV answers on the instance. A 401 means the servlet is reachable and asking for credentials. A 404 means the path is not exposed at that address.

curl -s -o /dev/null -w '%{http_code}\n' -X OPTIONS http://localhost:8082/webdav/working

How do I fix it?

Upgrade to dotCMS 26.10.19-01 or later, or to the 25.07.10 LTS v21 build. On the official image the fix shipped as the 26.10.19-01 tag on 2026-10-19 and the 25.07.10_lts_v21 tag on 2026-10-22.

  1. Set the image tag in your deployment to dotcms/dotcms:26.10.19-01 or a later release. The current release is 26.12.04-01. On the 25.07 LTS line, use dotcms/dotcms:25.07.10_lts_v21 or later; the current LTS tag is 25.07.10_lts_v30.
  2. Recreate the container. Pulling the new image alone does not replace a running container.
  3. Confirm the new version with the version check in "Am I affected?".
  4. For a non-container install, deploy the 26.10.19-01 or later WAR through the vendor's upgrade procedure.
docker pull dotcms/dotcms:26.10.19-01
docker compose up -d --force-recreate dotcms

If you cannot upgrade yet, block /webdav/ at the reverse proxy or load balancer and return 403 to every client. This removes the path the flaw needs. It also breaks legitimate WebDAV integrations, so allow only the source addresses that need it, if any.

  1. Add a rule that rejects requests to /webdav/working/, /webdav/live/, /webdav/autopub/ and /webdav/nonpub/.
  2. Keep the rule until the instance runs a fixed release.
  3. Check the proxy logs for requests that reached WebDAV before the rule was added.

The block is a stopgap. It does not change the code, and anyone who can still reach WebDAV through another route, including a direct connection to the application port, remains exposed.

What is the root cause?

dotCMS builds the path of a WebDAV temporary file by appending the request path to the temp directory. It neither normalizes the result nor checks that it stays inside that directory. A .. segment therefore walks out of the temp tree.

At the last affected release, DotWebdavHelper.loadTempFile() returned that path directly:

// DotWebdavHelper.java, v26.10.13-01, lines 394-401
public File loadTempFile(String url){
    try {
        url = stripMapping(url);
    } catch (IOException e) {
        Logger.error( this, "Error happened with uri: [" + url + "]", e);
    }
    Logger.debug(this, "Getting temp file from path " + url);
    return new File(getTempDir().getPath() + url);
}

stripMapping() removes /webdav/working/<languageId> and returns the rest of the path. The method then concatenates that value onto getTempDir(), which at this release is the shared <assets root>/tmp_upload directory. java.io.File does not collapse .. segments when it is constructed, so the path is resolved only when the file is used.

The resource factory sends any path that matches the temp pattern, including a /. segment, to this method. A file created under the returned path is a temporary WebDAV resource, and the write path uses the folder it resolved to:

// TempFileResourceImpl.java, v26.10.13-01, lines 151-157
if(collRes instanceof TempFolderResourceImpl){
    TempFolderResourceImpl tr = (TempFolderResourceImpl)collRes;
    try {
        FileUtil.copyFile(file, new File(tr.getFolder().getPath() + File.separator + name));

collRes is the destination collection from the Destination header of a COPY or MOVE request. Its parent path is resolved through loadTempFile(). When that parent contains .. segments, tr.getFolder() points outside the temp directory, and FileUtil.copyFile() writes the request body there.

How is it exploited?

An authenticated WebDAV user turns the traversal into code execution by writing a file to a directory the application later executes. The public proof of concept uses the Tomcat webapps directory and a WAR file.

  1. Authenticate to /webdav/working/1/ with any account that WebDAV accepts.
  2. Create a dot-prefixed temp collection, which sends the request into the temp branch of the resource factory with MKCOL.
  3. Upload a WAR file into that collection with PUT.
  4. Send a COPY whose Destination header names the uploaded WAR, with a parent path full of .. segments that climbs to the Tomcat webapps directory.
  5. Tomcat auto-deploys the WAR.
  6. Request the JSP inside it, and the command in the query string runs as the dotCMS service account.

The proof-of-concept script packages steps 4 and 5 in one request:

# poc.py, from the public proof of concept, trimmed
dest = ("%s/%s/../../../../../../srv/dotserver/%s/webapps/%s.war"
        % (dav, tmpdir, args.tomcat, args.app))
st, _ = request("COPY", "%s/%s/%s.war" % (dav, tmpdir, args.app), auth,
                headers={"Destination": dest, "Overwrite": "T"})

The script refuses any target that is not localhost, 127.0.0.1 or ::1, and its README describes it as a local lab tool. The script itself does not prove exploitation of a production host, and no in-the-wild use is reported.

The advisory names a second route. A file written into the OSGi upload folder is installed automatically as a plugin, so a crafted bundle reaches code execution without a Tomcat restart.

How does the attack flow?

Any WebDAV account can place a file outside the temp directory because the destination path is never checked, and dotCMS then loads that file as code.

flowchart LR A["Authenticated WebDAV user"] --> B["MKCOL a dot-prefixed temp folder"] B --> C["PUT a WAR or OSGi bundle"] C --> D["COPY Destination with .. segments"] D --> E["loadTempFile concatenates the path"] E --> F["no containment check"] F --> G["file written to webapps or felix/load"] G --> H["Tomcat or OSGi deploys it"] H --> I["code runs as the dotCMS user"]

What can an attacker do?

An attacker with any WebDAV account can read and write files as the dotCMS service account, and can turn that write access into code execution. The advisory states both outcomes.

The impact needs all of these conditions:

  • The instance runs an affected release.
  • The attacker can reach the WebDAV servlet.
  • The attacker holds any account that authenticates to WebDAV. The advisory says this includes a front-end-only account.
  • The target directory is writable by the service account. The official image runs the application as the dotcms user, which owns /data and /srv, so the Tomcat webapps directory and the OSGi load directory are writable.

The advisory says the traversal exposes sensitive files such as signing keys. A signing key lets an attacker forge artifacts that the platform trusts. Code execution through a WAR or an OSGi bundle gives the same access as the service account. That account can read the database credentials in the configuration and reach the database and the shared asset store.

Why does the fix work?

The fix rejects any . or .. segment before a path is built and confines every temp path to a dedicated WebDAV directory. It also requires child names to be a single path segment. The three checks close the traversal at both the path and the name.

loadTempFile() now resolves through resolveTempPath(), which rejects dot segments and verifies containment:

// DotWebdavHelper.java, v26.10.19-01, lines 406-417 and 559-586
public File loadTempFile(String url){
    ...
    try {
        return resolveTempPath(url, () -> new IOException("Invalid WebDAV temp path"));
    } catch (IOException e) {
        return null;
    }
}

static boolean hasDotSegment(final String path) {
    for (final String segment : path.split("[/\\\\]")) {
        if (".".equals(segment) || "..".equals(segment)) {
            return true;
        }
    }
    return false;
}

private <E extends Exception> File resolveTempPath(final String relativePath, final Supplier<E> rejection)
        throws E {
    if (hasDotSegment(relativePath)) {
        logRejection("Rejected a WebDAV temp path with a dot segment");
        throw rejection.get();
    }
    return requireWithinTempDir(new File(getTempDir().getPath() + relativePath), rejection);
}

The temp directory is now a dedicated sub-folder, so WebDAV no longer shares a root with other upload features:

public File getTempDir () {
    return new File(ConfigUtils.getAssetTempPath(), TEMP_FOLDER_NAME);
}

The write path checks the child name and the resulting target:

// TempFileResourceImpl.java, v26.10.19-01
public void copyTo(CollectionResource collRes, String name) throws BadRequestException {
    DotWebdavHelper.requirePlainSegment(this, name);
    ...
    final File target = dotDavHelper.resolveTempChild(this, tr.getFolder(), name);
    try {
        FileUtil.copyFile(file, target);

requirePlainSegment() rejects an empty name, ., .., a slash, a backslash or a NUL character. requireWithinTempDir() compares the canonical path with the canonical temp root, so a symlink or a remaining traversal is rejected.

The patch covers the copy, move, create and delete paths in the temp resources and the folder resources that reach them. The regression test DotWebdavTempPathContainmentTest exercises the rejected cases, including a symlink that points outside the temp directory.

How do I check if I was compromised?

No indicators of compromise are published for CVE-2026-64883. Check the written files and the WebDAV requests, because a successful copy leaves a normal file and a failed one may leave no trace.

Look for files that appeared outside the expected upload directories, first in the Tomcat deployment directory and then in the OSGi load directory:

docker exec dotcms sh -c 'find /srv/dotserver/tomcat/webapps -maxdepth 2 -type f -newermt "2026-10-01" -ls'
docker exec dotcms sh -c 'find /data/shared/felix/load -maxdepth 1 -type f -ls'

On a fixed release, every rejected attempt writes a warning with the user id to the dotCMS log. The messages name the reason and never include the request data:

docker exec dotcms grep -E "Rejected a WebDAV (temp path|name)" /srv/dotserver/tomcat/logs/dotcms.log

A vulnerable release does not log these rejections, so the same grep proves nothing there. In that case, read the access logs of the reverse proxy and of Tomcat for COPY or MOVE requests to /webdav/. Look for a Destination header that contains .., %2e%2e or a path outside /webdav/.

A reverse proxy often does not log the Destination header, and Tomcat access logs do not record headers by default. A hit is a lead rather than proof. A file in webapps or felix/load that nobody deployed is the stronger signal.

Timeline

  • 2026-10-08: Fix commit 7b730db2 confines WebDAV temp writes to the temp directory.
  • 2026-10-09: Follow-up commit 1d572e00 adds the dedicated temp directory and rejects dot segments.
  • 2026-10-19: dotCMS 26.10.19-01 is released.
  • 2026-10-22: The 25.07.10 LTS v21 container image is published.
  • 2026-12-04: The CVE record and GHSA-x8gg-g5v6-gvrq are published.
  • 2026-12-06: A public proof-of-concept script is published.

The fix merged 57 days before the CVE record. The 26.10.19-01 release shipped 46 days before the record. The CVE record credits Yasuo as the finder.

dotCMS fix to CVE record: 46 days, to public PoC: 48 days
Figure 1: The fix commits, the two fixed builds, the CVE record and the public proof of concept. Source: dotCMS commits 7b730db2 and 1d572e00, releases 26.10.19-01 and 25.07.10 LTS v21, the CVE record and the proof-of-concept repository, checked December 6, 2026

FAQ

Does this need an administrator account?

No. The advisory says any authenticated user can reach the flaw, including an account that only has front-end access. The public proof of concept signs in with the default administrator in its local lab, but that is a convenience, not the requirement.

Is WebDAV enabled by default?

The web.xml of the affected releases maps the WebDAV servlet at four /webdav/ paths, and no setting disables it in that file. A reverse proxy or a network policy may still block it. The OPTIONS request in "Am I affected?" tells you whether the path answers on your instance.

Is there a public proof of concept?

Yes. A GitHub repository published on 2026-12-06 contains a README and a poc.py script that performs the traversal and the WAR deployment. The script only targets loopback addresses, and its author describes it as a local lab tool.

Is CVE-2026-64883 exploited in the wild?

No exploitation is reported. The CVE is not in the CISA Known Exploited Vulnerabilities catalog, version 2026.12.04, as of 2026-12-06. The public proof of concept is a script for a local lab, not evidence of an attack.

Which versions are fixed?

dotCMS 26.10.19-01 and later, and the 25.07.10 LTS v21 build. The current releases are 26.12.04-01 and the 25.07.10 LTS v30 image.

Does the proxy block cover every deployment?

No. It only covers traffic that passes through the proxy. A client that reaches the dotCMS port directly, or through another route, still reaches WebDAV. Upgrade to a fixed release to close the flaw.

References

  • CVE Program, "CVE-2026-64883" record, published 2026-12-04 (checked December 6, 2026): https://www.cve.org/CVERecord?id=CVE-2026-64883
  • dotCMS, "Path traversal in the WebDAV interface", GHSA-x8gg-g5v6-gvrq, published 2026-12-04 (checked December 6, 2026): https://github.com/advisories/GHSA-x8gg-g5v6-gvrq
  • dotCMS, known security issues, issue SI-78 (checked December 6, 2026): https://dev.dotcms.com/docs/manage/access-and-security/security-and-privacy/known-security-issues?issueNumber=SI-78
  • dotCMS, fix commit 7b730db2, "confine temp storage writes to the temp directory", 2026-10-08 (checked December 6, 2026): https://github.com/dotCMS/core/commit/7b730db2ec94
  • dotCMS, fix commit 1d572e00, "give temp storage its own directory and reject dot segments", 2026-10-09 (checked December 6, 2026): https://github.com/dotCMS/core/commit/1d572e00af98
  • dotCMS, release v26.10.19-01, published 2026-10-19 (checked December 6, 2026): https://github.com/dotCMS/core/releases/tag/v26.10.19-01
  • dotCMS, DotWebdavHelper.java at v26.10.13-01, the vulnerable source (checked December 6, 2026): https://github.com/dotCMS/core/blob/v26.10.13-01/dotCMS/src/main/java/com/dotmarketing/webdav/DotWebdavHelper.java
  • dotCMS, TempFileResourceImpl.java at v26.10.13-01, the vulnerable write path (checked December 6, 2026): https://github.com/dotCMS/core/blob/v26.10.13-01/dotCMS/src/main/java/com/dotmarketing/webdav/TempFileResourceImpl.java
  • dotCMS, DotWebdavHelper.java at v26.10.19-01, the fixed source (checked December 6, 2026): https://github.com/dotCMS/core/blob/v26.10.19-01/dotCMS/src/main/java/com/dotmarketing/webdav/DotWebdavHelper.java
  • dotCMS, DotWebdavTempPathContainmentTest.java at v26.10.19-01, the regression test (checked December 6, 2026): https://github.com/dotCMS/core/blob/v26.10.19-01/dotcms-integration/src/test/java/com/dotmarketing/webdav/DotWebdavTempPathContainmentTest.java
  • dotCMS, web.xml at v26.10.13-01, the WebDAV servlet mappings (checked December 6, 2026): https://github.com/dotCMS/core/blob/v26.10.13-01/dotCMS/src/main/webapp/WEB-INF/web.xml
  • Oramkz, "CVE-2026-64883 dotCMS WebDAV path traversal PoC", published 2026-12-06 (checked December 6, 2026): https://github.com/Oramkz/CVE-2026-64883
  • Docker Hub, dotcms/dotcms repository with 1,894,808 pulls, and the 26.10.19-01 and 25.07.10_lts_v21 tags (checked December 6, 2026): https://hub.docker.com/r/dotcms/dotcms
  • GitHub, dotCMS/core repository with 971 stars and 491 forks (checked December 6, 2026): https://github.com/dotCMS/core
  • CISA, Known Exploited Vulnerabilities catalog, version 2026.12.04 (checked December 6, 2026): https://www.cisa.gov/known-exploited-vulnerabilities-catalog

Free scan

Scan your own app for free

or book a demo

Keep reading

Related articles

Browse the blog