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

CVE-2026-85954: MarkLogic Server Privilege Escalation Flaw

CVE-2026-85954 is a privilege escalation vulnerability in Progress MarkLogic Server affecting versions 12.x before 12.1.0 and 11.x before 11.3.7. This post covers technical details, 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-85954 Overview

CVE-2026-85954 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. The server evaluates user-controlled values supplied to certain higher-order XQuery functions in an elevated security context. An unauthenticated network attacker can leverage this behavior to execute operations beyond their granted permissions. The flaw is classified under [CWE-269: Improper Privilege Management] and carries a scope change in its CVSS vector, indicating impact beyond the vulnerable component.

Critical Impact

Remote attackers can bypass authorization boundaries and perform high-integrity operations in MarkLogic Server without prior authentication or user interaction.

Affected Products

  • Progress MarkLogic Server 12.x releases before 12.1.0
  • Progress MarkLogic Server 11.x releases before 11.3.7
  • Deployments exposing XQuery evaluation endpoints to untrusted networks

Discovery Timeline

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

Technical Details for CVE-2026-85954

Vulnerability Analysis

MarkLogic Server exposes higher-order XQuery functions such as xdmp:eval, xdmp:value, and function constructors that accept callable values or expressions at runtime. In affected releases, the server evaluates user-controlled inputs supplied to these higher-order functions within an elevated amp or privileged security context rather than the caller's context.

An attacker who can reach any endpoint that forwards input into one of these functions can supply a crafted expression that executes with the elevated privileges of the surrounding context. The result is privilege escalation beyond the attacker's granted role set. The vulnerability affects data integrity primarily, enabling unauthorized modification of documents, configuration, or security objects accessible to the elevated context.

Root Cause

The root cause is improper privilege management [CWE-269]. Higher-order XQuery functions preserve the enclosing elevated security context when invoking caller-supplied callables, rather than downgrading execution to the caller's own permission set. This design permits sandbox escape across the privilege boundary.

Attack Vector

Exploitation requires only network access to a MarkLogic application endpoint that invokes a vulnerable higher-order function with attacker-influenced input. No authentication or user interaction is required. The attacker submits an XQuery payload or value that the elevated context evaluates, resulting in operations the attacker's actual role could not perform directly.

See the Progress Security Alert Bulletin for vendor technical details.

Detection Methods for CVE-2026-85954

Indicators of Compromise

  • Unexpected invocations of xdmp:eval, xdmp:value, xdmp:invoke, or dynamic function calls originating from unauthenticated request paths
  • Audit log entries showing security-object changes (users, roles, amps) executed from low-privilege sessions
  • Anomalous document inserts, updates, or deletes in security or configuration databases

Detection Strategies

  • Enable MarkLogic audit events for amp-call, eval-call, and privileged function execution, then baseline normal callers
  • Alert on XQuery payloads containing dynamic evaluation primitives sourced from HTTP request parameters
  • Correlate web server access logs with MarkLogic request logs to identify unauthenticated requests reaching evaluation endpoints

Monitoring Recommendations

  • Forward MarkLogic access, request, and audit logs to a central SIEM for cross-source correlation
  • Monitor for privilege or role assignments outside change-management windows
  • Track outbound connections from MarkLogic hosts to detect post-exploitation data exfiltration or callback activity

How to Mitigate CVE-2026-85954

Immediate Actions Required

  • Upgrade MarkLogic Server 12.x to version 12.1.0 or later
  • Upgrade MarkLogic Server 11.x to version 11.3.7 or later
  • Restrict network exposure of MarkLogic application and management endpoints to trusted segments only
  • Review application code that forwards user input into higher-order XQuery functions and refactor to use parameterized queries

Patch Information

Progress published fixes in MarkLogic Server 12.1.0 and 11.3.7. Refer to the Progress Security Alert Bulletin for the complete fixed-version matrix and upgrade guidance.

Workarounds

  • Remove or disable application endpoints that pass unsanitized input into xdmp:eval, xdmp:value, or dynamic function constructors until patching is complete
  • Reduce the privileges assigned to amps that wrap evaluation functions so that any escalation is bounded
  • Place a web application firewall in front of MarkLogic endpoints to block requests containing XQuery evaluation primitives in parameters
bash
# Verify installed MarkLogic version on a Linux host
rpm -qa | grep -i MarkLogic

# Query the running server version via the Management REST API
curl -sS --anyauth -u admin:admin \
  http://localhost:8002/manage/v2/hosts?format=json \
  | jq '."host-default-list"."list-items"."list-item"[0]'

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.