Skip to main content
Vulnerability Database/CVE-2026-85955

CVE-2026-85955: MarkLogic Server Privilege Escalation Flaw

CVE-2026-85955 is a privilege escalation vulnerability in Progress MarkLogic Server that allows remote attackers to execute code with elevated permissions. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-85955 Overview

CVE-2026-85955 is a privilege escalation vulnerability in Progress MarkLogic Server affecting 12.x releases before 12.1.0 and 11.x releases before 11.3.7. A remote attacker with query-execution access can invoke an XQuery evaluation function without holding the additional required evaluation privilege. Successful exploitation results in server-side code execution with elevated permissions on the MarkLogic Server instance.

The weakness is classified as [CWE-269] Improper Privilege Management. The flaw spans a scope change, meaning compromise of the vulnerable component can impact resources beyond its security boundary.

Critical Impact

An authenticated attacker with minimal query privileges can execute XQuery code at elevated privilege, enabling full compromise of data confidentiality, integrity, and availability on the MarkLogic Server.

Affected Products

  • Progress MarkLogic Server 12.x releases before 12.1.0
  • Progress MarkLogic Server 11.x releases before 11.3.7
  • Deployments exposing query-execution endpoints to authenticated users

Discovery Timeline

  • 2026-10-12 - CVE-2026-85955 published to NVD
  • 2026-10-14 - Last updated in NVD database

Technical Details for CVE-2026-85955

Vulnerability Analysis

MarkLogic Server enforces a layered privilege model that distinguishes between the ability to submit queries and the ability to invoke evaluation functions such as xdmp:eval, xdmp:invoke, or related XQuery evaluation primitives. These evaluation functions normally require a separate execute privilege because they allow dynamic construction and execution of XQuery code at runtime.

In affected releases, the server fails to enforce the additional evaluation privilege when the function is invoked through a specific code path. An attacker who holds only basic query-execution access can therefore reach the evaluation function and execute attacker-supplied XQuery under the server's elevated execution context.

The scope change reflected in the CVSS vector indicates that successful exploitation grants control beyond the account's intended authorization boundary, including access to data and operations assigned to higher-privileged roles.

Root Cause

The root cause is improper privilege management [CWE-269] in the XQuery evaluation entry point. The server performs the query-execution authorization check but omits the required secondary check for the evaluation privilege before invoking the evaluation function.

Attack Vector

The attacker authenticates to the MarkLogic Server with a low-privilege account that has query-execution rights. The attacker then submits a crafted request that triggers the vulnerable XQuery evaluation function with attacker-controlled code. The server executes the supplied XQuery with elevated permissions, allowing arbitrary server-side operations such as reading restricted documents, modifying databases, or invoking additional administrative functions.

No verified public exploit code is available at the time of writing. The vulnerability mechanism is documented in the Progress Security Alert Bulletin October 2026.

Detection Methods for CVE-2026-85955

Indicators of Compromise

  • Unexpected invocations of xdmp:eval, xdmp:invoke, or related evaluation functions originating from low-privileged user accounts
  • Query audit log entries showing elevated operations executed under contexts that lack the evaluation privilege
  • Creation or modification of MarkLogic users, roles, or amp definitions by non-administrative accounts
  • Outbound HTTP calls from the MarkLogic process (MarkLogic.exe or MarkLogic on Linux) to unfamiliar hosts

Detection Strategies

  • Enable MarkLogic request and audit logging and alert on invocations of evaluation functions by principals without the evaluation privilege
  • Baseline normal XQuery evaluation activity per application role and flag deviations in call patterns or query length
  • Correlate authentication events with privileged operations to identify low-privilege accounts performing administrative tasks

Monitoring Recommendations

  • Forward MarkLogic AccessLog, ErrorLog, and AuditLog data to a central analytics platform for correlation
  • Monitor the MarkLogic admin interface and REST management APIs on ports 8000, 8001, and 8002 for anomalous privileged activity
  • Track outbound network connections from MarkLogic hosts that deviate from documented application behavior

How to Mitigate CVE-2026-85955

Immediate Actions Required

  • Upgrade MarkLogic Server 12.x to 12.1.0 or later, and 11.x to 11.3.7 or later
  • Inventory all accounts and roles that hold query-execution privileges on MarkLogic clusters
  • Revoke query-execution access from accounts that do not require it until patching is complete
  • Restrict network reachability of MarkLogic management and application ports to trusted segments

Patch Information

Progress has released fixed versions 12.1.0 and 11.3.7 that enforce the required evaluation privilege before dispatching XQuery evaluation functions. Patch guidance and download links are provided in the Progress Security Alert Bulletin October 2026.

Workarounds

  • Remove or minimize assignment of query-execution privileges where business function does not require them
  • Place MarkLogic application endpoints behind an authenticating proxy that rejects unexpected XQuery payloads
  • Audit custom roles, amps, and modules to confirm no amp grants silently elevate query-execution users
bash
# Example: list MarkLogic users granted query-execution privilege via REST management API
curl -s --anyauth -u admin:'<password>' \
  "https://marklogic.example.local:8002/manage/v2/privileges?view=default" \
  | grep -i 'xdmp-eval'

# After patching, verify installed version
/opt/MarkLogic/bin/MarkLogic --version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.