Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2021-26084: Unauthenticated OGNL Injection RCE in Atlassian Confluence

Published Aug 30, 2021 · Updated 9 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days4 mentions · peak 2 in a dayToday
CVSS9.8Critical · v3.1
EPSS100.0%100th percentile
CISA KEVYesAdded Nov 3, 2021
In the wildActivePer CISA KEV
Vendor
Atlassian
IdentifiersCVE-2021-26084CWE-917 · Improper Neutralization of Special…

CVE-2021-26084 is an OGNL expression injection vulnerability in the Webwork functionality of Atlassian Confluence Server and Data Center. A crafted HTTP POST request containing a malicious queryString parameter can cause server-side expression evaluation and arbitrary code execution without authentication. Public exploit code demonstrates command execution through Java scripting facilities and ProcessBuilder on Windows and Unix-like systems. Affected versions are releases before 6.13.23, versions 6.14.0 through 7.4.10, versions 7.5.0 through 7.11.5, and versions 7.12.0 through 7.12.4.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises the Confluence application execution context, potentially exposing application-accessible documentation, configuration, and credentials and allowing modification or destruction of accessible data. Observed exploitation has deployed web shells, cryptocurrency miners, botnet malware, and ransomware. A compromised server can also provide a foothold for further network access; operating-system privilege escalation is not inherent to the vulnerability.

Mitigation

If you can’t patch tonight, do this now.

Restrict network access to Confluence to trusted users and systems, and remove unnecessary direct Internet exposure while arranging an upgrade. Network restrictions reduce exposure but do not correct the injection flaw. Authentication controls alone are insufficient because exploitation does not require authentication.

Remediation

Patch, then assume compromise.

Upgrade affected installations to the applicable fixed release: 6.13.23, 7.4.11, 7.11.6, or 7.12.5, or a newer supported release containing the fix. Because exploitation is documented, investigate exposed installations for existing compromise, including unauthorized web shells, malicious processes, and persistence. Patching alone does not remove previously installed malware.

Public exploits

Exploits

8 exploits validated by Mallory's analysis. Hidden: 4 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
atlassian_confluence_webwork_ognl_injection.rbThis repository contains a single Metasploit module targeting Atlassian Confluence Server/Data Center instances vulnerable to CVE-2021-26084, an unauthenticated OGNL injection vulnerability in the WebWork component. The exploit allows remote code execution as the Tomcat user by sending a specially crafted POST request to the '/pages/createpage-entervariables.action' endpoint. The module supports multiple payload types and platforms (Unix/Linux and Windows), including reverse shells and Meterpreter sessions, and can be easily customized within the Metasploit framework. The code includes both detection (via the 'check' method) and exploitation logic, and leverages Metasploit's payload and command stager infrastructure. The only fingerprintable endpoint is the vulnerable HTTP path used for injection. The module is weaponized and suitable for real-world exploitation.Disclosed Aug 25, 2021 · Framework: metasploit · ruby · networkWeaponizedPocListThis repository is a collection of Python-based exploit and POC scripts targeting a variety of web applications, firewalls, and network devices. The scripts are organized by target product and vulnerability, with each directory containing one or more scripts for a specific exploit. The main capabilities include: - Arbitrary file read exploits (e.g., Apache Druid CVE-2021-36749, Apache Solr <=8.8.1, Landray OA, Kyan, etc.) - Remote command execution (RCE) exploits (e.g., Confluence CVE-2021-26084, TamronOS-IPTV, ZeroShell CVE-2019-12725, phpStudy backdoor, etc.) - Arbitrary file upload (ShowDoc CNVD-2020-26585) - Credential extraction and information disclosure (Wayos firewall, Ruijie EG Gateway, Kyan, Landray OA) - Unauthorized admin access (YCXF admin system) Each script typically supports both single-target and batch scanning modes, with options for verification and exploitation. The scripts use HTTP(S) requests to interact with vulnerable endpoints, often leveraging unauthenticated or weakly authenticated interfaces. The payloads include file read requests, command injection, and webshell uploads. The repository is operational in maturity, providing working exploits and not just detection scripts. All scripts are written in Python and are intended for use in authorized security testing.sma11new · Disclosed May 22, 2021 · python · networkOperationalCVE-2021-26084_ConfluenceThis repository contains a Python exploit script (Confluence_OGNLInjection.py) and a README.md. The exploit targets CVE-2021-26084, an OGNL injection vulnerability in Atlassian Confluence Server and Data Center (versions prior to 7.12.5). The script allows an attacker to execute arbitrary system commands on a vulnerable Confluence instance by sending a specially crafted POST request to the '/pages/createpage-entervariables.action' endpoint, injecting a malicious OGNL expression via the 'queryString' parameter. The exploit is interactive, prompting the user for commands and displaying the output from the target server. The README provides usage instructions, references, and context about the vulnerability. The repository is a functional proof-of-concept for remote code execution (RCE) and is intended for research and demonstration purposes only.hev0x · Disclosed Sep 1, 2021 · python · networkOperationalCVE-2021-26084_ConfluenceThis repository contains a Python exploit script (rce.py) targeting Atlassian Confluence servers vulnerable to CVE-2021-26084, a pre-authentication OGNL injection vulnerability. The exploit allows an attacker to execute arbitrary system commands on the target server by sending a crafted POST request to the /pages/doenterpagevariables.action endpoint. Additionally, the script can upload a JSP webshell (havefun.jsp) to the server for persistent access. The script supports both command execution and shell upload modes, selectable via command-line arguments. The README provides a brief usage example. The exploit is operational, providing real attack capability, and is not a detection script. No hardcoded IPs or domains are present; the target URL is supplied by the user.TheclaMcentire · Disclosed Oct 20, 2021 · python · networkOperationalConfluence-RCEThis repository is a Python-based exploit toolkit targeting multiple remote code execution (RCE) vulnerabilities in Atlassian Confluence: CVE-2021-26084, CVE-2022-26134, and CVE-2023-22527. The structure includes a GUI (gui/gui.py) for user interaction, a main entry point (main.py), and individual proof-of-concept (POC) scripts for each CVE under the pocs/ directory. The tool allows users to check for vulnerability, execute arbitrary commands, and obtain reverse shells on vulnerable Confluence servers. It supports both HTTP and SOCKS5 proxies for network operations. Additional utility scripts are provided for proxy checking and DNS log operations. The exploit payloads leverage OGNL and template injection vulnerabilities to achieve command execution. The endpoints targeted are specific Confluence paths known to be vulnerable. The toolkit is operational, providing both detection and exploitation capabilities, and is suitable for security testing and red teaming against affected Confluence instances.BBD-YZZ · Disclosed May 29, 2024 · python · networkOperationalCVE-2021-26084This repository contains a proof-of-concept exploit for a remote code execution vulnerability in a web service, likely Atlassian Confluence. The main file, poc.py, sends a crafted POST request to the /pages/createpage-entervariables.action endpoint, injecting a Java expression that executes a system command on the server. The command reads the /etc/passwd file and exfiltrates its contents to an attacker-controlled domain via HTTP POST. The included poc.txt file provides a raw HTTP request example for manual testing. The exploit demonstrates the ability to execute arbitrary commands on the target server and exfiltrate sensitive data, confirming the presence of a critical vulnerability. The repository is structured as a simple POC with one Python script and one example request file.dinhbaouit · Disclosed Sep 1, 2021 · python · networkPoCCVE-2021-26084This repository contains a Python proof-of-concept exploit for CVE-2021-26084, a critical remote code execution vulnerability in Atlassian Confluence. The main file, PoC.py, provides both vulnerability detection and exploitation capabilities. It tests a list of known vulnerable endpoints on a target Confluence server by sending specially crafted POST requests with OGNL injection payloads in the 'queryString' parameter. If the server is vulnerable, the script can execute arbitrary system commands via Java's ScriptEngineManager and ProcessBuilder, returning the output to the attacker. The script supports single-target and batch modes, logging vulnerable hosts to a file. The README.md provides usage instructions and references. The exploit is operational and can be used to gain remote code execution on unpatched Confluence servers accessible over the network.0xf4n9x · Disclosed Sep 1, 2021 · python · networkPoCConfluence_CVE-2021-26084This repository provides a proof-of-concept (PoC) exploit for CVE-2021-26084, a remote code execution vulnerability in Atlassian Confluence. The repository contains three files: a README.md with usage instructions and a list of possible vulnerable endpoints, a 'payload' file containing a crafted HTTP POST request exploiting the OGNL injection vulnerability, and a 'windowspayload' file with an alternative payload for Windows systems. The exploit works by sending a specially crafted POST request to the '/pages/createpage-entervariables.action' endpoint, injecting OGNL expressions that execute arbitrary system commands on the server. The payloads demonstrate execution of commands such as 'calc' and 'ipconfig'. The README also lists several Confluence endpoints that may be targeted. The exploit is confirmed to work on Confluence version 7.12.4. No detection scripts or fake elements are present; this is a functional PoC exploit for remote code execution.Vulnmachines · Disclosed Sep 1, 2021 · http · text · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
AtlassianConfluence Data Centerapplication
AtlassianConfluence Serverapplication
FAQ

Frequently asked questions

Is CVE-2021-26084 exploited in the wild?
Yes. As of Nov 19, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
Is there a public exploit for CVE-2021-26084?
Yes. Mallory tracks 8 public exploits or proofs of concept for CVE-2021-26084, the earliest disclosed May 22, 2021.
Is there a patch for CVE-2021-26084?
Upgrade affected installations to the applicable fixed release: 6.13.23, 7.4.11, 7.11.6, or 7.12.5, or a newer supported release containing the fix. Because exploitation is documented, investigate exposed installations for existing compromise, including unauthorized web shells, malicious processes, and persistence.
What products are affected by CVE-2021-26084?
Atlassian Confluence Server and Atlassian Confluence Data Center.
How severe is CVE-2021-26084?
CVE-2021-26084 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 100.0% (100th percentile) as of Nov 19, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence5Every report linking this CVE to a named adversary.
Associated malware31Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.