CVE-2023-22527: Unauthenticated Template Injection RCE in Atlassian Confluence
- Vendor
- Atlassian
CVE-2023-22527 is a critical template-injection vulnerability in older Atlassian Confluence Data Center and Confluence Server releases. A specially crafted HTTP POST request can access the Struts OGNL evaluation context through Velocity template processing, enabling execution of attacker-controlled Java expressions and operating-system commands without authentication. Affected releases include versions 8.0.x through 8.4.x, including 8.4.5, and 8.5.0 through 8.5.3. Disclosed on January 16, 2024, the vulnerability has a CVSS v3 score of 10.0 and has been actively exploited.
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 confidentiality, integrity, and availability of the affected Confluence instance through arbitrary code execution with the application's operating-system privileges. Observed follow-on activity includes cryptocurrency mining, deployment of Godzilla in-memory webshells and Sliver implants, credential access, persistence, and internal network reconnaissance. Stolen credentials and additional vulnerabilities can enable lateral movement and privilege escalation; root-level access is not an inherent consequence of this flaw alone.
Mitigation
If you can’t patch tonight, do this now.
Until an upgrade is possible, restrict network access to affected Confluence instances to trusted systems or isolate them from untrusted networks. Deploy an applicable IPS signature, such as FortiGuard's Atlassian.Confluence.CVE-2023-22527.Remote.Code.Execution signature, as a defense-in-depth measure. Monitor suspicious template-related POST requests, unexpected Java child processes, abnormal resource usage, and unauthorized outbound traffic. These controls do not replace patching; no separate vendor-confirmed configuration workaround is established here.
Remediation
Patch, then assume compromise.
Immediately upgrade affected Confluence installations to the latest supported, vendor-confirmed fixed release. Releases identified as fixing this vulnerability include Confluence Data Center and Server 8.5.4 LTS and Confluence Data Center 8.6.0 and 8.7.1. Prefer a current supported release because these historical fixes do not address subsequently disclosed vulnerabilities. Investigate previously exposed installations for compromise, including unauthorized services, scheduled tasks, webshells, cryptominers, credential theft, and suspicious outbound connections; upgrading does not remove an existing compromise.
Exploits
16 exploits validated by Mallory's analysis. Hidden: 4 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.
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.
References
Frequently asked questions
- Is CVE-2023-22527 exploited in the wild?
- Yes. As of Nov 25, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jan 24, 2024.
- Is there a public exploit for CVE-2023-22527?
- Yes. Mallory tracks 16 public exploits or proofs of concept for CVE-2023-22527, the earliest disclosed Jan 16, 2024.
- Is there a patch for CVE-2023-22527?
- Immediately upgrade affected Confluence installations to the latest supported, vendor-confirmed fixed release. Releases identified as fixing this vulnerability include Confluence Data Center and Server 8.5.4 LTS and Confluence Data Center 8.6.0 and 8.7.1.
- What products are affected by CVE-2023-22527?
- Atlassian Confluence Data Center and Atlassian Confluence Server.
- How severe is CVE-2023-22527?
- CVE-2023-22527 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 83.8% (100th percentile) as of Nov 25, 2026.
Recent activity
56 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.