CVE-2020-7931 is a remote code execution vulnerability in JFrog Artifactory versions 5.x and 6.x due to insecure processing of FreeMarker templates. The vulnerability arises from the use of the DefaultObjectWrapper class, which exposes sensitive Java functions to template code, allowing attackers to execute arbitrary code on the server. This can be exploited, for example, to modify files such as .ssh/authorized_keys, enabling persistent access.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository provides a working exploit for CVE-2020-7931, a server-side template injection (SSTI) vulnerability in JFrog Artifactory Pro. The exploit consists of a Python script (artifactory_CVE-2020-7931.py) and a FreeMarker template (sample.xml). The Python script automates authentication, file upload, template deployment, and execution of arbitrary actions via the vulnerable template. The template exposes powerful filesystem primitives (read, write, list, create, delete, move, copy) and can be leveraged to achieve remote code execution by deploying Groovy plugins or webshells. The exploit requires valid credentials or a session cookie and targets the Artifactory Pro web interface, interacting with several HTTP endpoints and manipulating files in key Artifactory and Tomcat directories. The repository is well-documented, with a comprehensive README explaining usage, attack scenarios, and post-exploitation techniques. This is an operational exploit with real-world impact, enabling attackers to fully compromise vulnerable Artifactory Pro instances.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.