CVE-2021-26084 — Atlassian Confluence Server and Data Center Object-Graph Navigation Language (OGNL) Injection Vulnerability

CVE-2021-26084

Atlassian Confluence Server and Data Center — Pre-Auth OGNL Injection Enabling RCE, Mass-Exploited by Cryptominers and Ransomware Within Days of Disclosure

What is Atlassian Confluence?

Atlassian Confluence is the world's most widely deployed enterprise wiki and collaboration platform — used by development teams, IT operations, and businesses to document projects, share knowledge, and collaborate. It integrates deeply with Jira and other Atlassian tools. Confluence stores an enormous amount of sensitive organizational knowledge: internal documentation, project specifications, credentials, system configurations, and strategic plans. Many organizations make Confluence internet-accessible for remote teams, creating a broad attack surface.

Overview

CVE-2021-26084 is a critical Object-Graph Navigation Language (OGNL) injection vulnerability (CWE-917) in Atlassian Confluence Server and Data Center. OGNL is the expression language used in Confluence's template system; when user-supplied input is evaluated as OGNL expressions without proper sanitization, an attacker can inject expressions that execute arbitrary Java code on the server. In certain configurations (Confluence instances with public user registration enabled), this vulnerability is exploitable without authentication. In other configurations, any authenticated user can exploit it. Mass exploitation began within days of the patch release.

Affected Versions

Product Vulnerable Fixed
Confluence Server / Data Center 6.13.x < 6.13.23 6.13.23
Confluence Server / Data Center 7.4.x < 7.4.11 7.4.11
Confluence Server / Data Center 7.11.x < 7.11.6 7.11.6
Confluence Server / Data Center 7.12.x < 7.12.5 7.12.5
Confluence Server / Data Center 7.13.x < 7.13.0 7.13.0
Atlassian Cloud Not affected N/A

Technical Details

Confluence uses the OGNL expression language in its WebWork 2 framework for template rendering. Certain endpoints — particularly those involved in the Confluence page editor, macros, and widgets — evaluate user-supplied input as OGNL expressions without adequate neutralization:

  • Injection vector: HTTP POST parameters containing OGNL expressions (e.g., ${...}) submitted to vulnerable Confluence endpoints
  • Pre-auth exploitation: If Confluence has "Allow people to sign up to create their own account" enabled, the injection is reachable without authentication (can exploit registration flow)
  • Authenticated exploitation: Any Confluence user (even with minimal permissions) can exploit this from authenticated endpoints
  • Code execution: OGNL injection allows arbitrary Java code execution in the Confluence JVM context — equivalent to full OS command execution
  • Execution context: Runs as the Confluence application server user (often with significant filesystem and database access)

Discovery

Reported by an anonymous researcher through Atlassian's bug bounty program. Atlassian coordinated disclosure with patch release. Mass exploitation within a week of the advisory demonstrates how quickly sophisticated actors weaponize Confluence vulnerabilities.

Exploitation Context

CVE-2021-26084 was one of the most rapidly mass-exploited vulnerabilities of 2021. Within days of the patch, threat intelligence firms observed internet-wide scanning and exploitation — cryptocurrency miners were deployed on compromised Confluence servers within 48 hours of public PoC availability. Ransomware operators also incorporated this for initial access. The Confluence knowledge base position — containing organizational secrets, project documentation, and often hardcoded credentials — makes it extremely valuable to both financial and espionage threat actors.

Remediation

  1. Upgrade Confluence to the patched version for your release series immediately (see table above)
  2. If immediate patching is not possible, apply Atlassian's provided mitigation script to disable the vulnerable OGNL evaluation
  3. Check for deployed webshells in the Confluence home directory and web application directories
  4. Review Confluence access logs for OGNL injection patterns in POST bodies (${, %{, or %24%7B URL-encoded patterns)
  5. If public user registration is enabled, disable it unless required — this removes the pre-auth attack vector
  6. Restrict internet access to Confluence if it doesn't need to be public-facing — require VPN for access

Key Details

PropertyValue
CVE ID CVE-2021-26084
Vendor / Product Atlassian — Confluence Server and Data Center
NVD Published2021-08-30
NVD Last Modified2025-10-24
CVSS 3.1 Score9.8
CVSS 3.1 VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SeverityCRITICAL
CWE CWE-917 find similar ↗
CISA KEV Added2021-11-03
CISA KEV Deadline2021-11-17
Known Ransomware Use ⚠️ Yes

CVSS 3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Required Action

CISA BOD 22-01 Deadline: 2021-11-17. Apply updates per vendor instructions.

Timeline

DateEvent
2021-08-25Atlassian publishes security advisory; patches released for Confluence 6.13.23, 7.4.11, 7.11.6, 7.12.5, 7.13.0
2021-08-30CVE published
2021-09-03Mass exploitation begins — cryptominers and ransomware actors begin scanning and exploiting globally
2021-11-03Added to CISA Known Exploited Vulnerabilities catalog
2021-11-17CISA BOD 22-01 remediation deadline

References

ResourceType
Atlassian Security Advisory — CVE-2021-26084 Vendor Advisory
NVD — CVE-2021-26084 Vulnerability Database
CISA KEV Catalog Entry US Government