Unauthenticated RCE via Server-Side Template Injection in Atlassian Jira
An unauthenticated remote code execution vulnerability (CVE-2019-11581) exists in the 'ContactAdministrators' form of Atlassian Jira Server due to insecure Velocity template rendering of the 'subject' parameter.
CVE search metadata
CVE search record: CVE-2019-11581. Severity: critical. CVSS: 9.8. EPSS: 84.62%. KEV: no. Product: Jira Server (< 7.6.14, 7.13.5, 8.0.3, 8.1.2, 8.2.3). Brief: Unauthenticated RCE via Server-Side Template Injection in Atlassian Jira. Brief link: https://feed.craftedsignal.io/briefs/2026-08-cve-2019-11581-jira-ssti/
CVE-2019-11581 is a critical Server-Side Template Injection (SSTI) vulnerability affecting multiple versions of Atlassian Jira Server. The flaw resides within the ContactAdministrators.jspa functionality, which allows unauthenticated users to submit a contact form to administrators. The application insecurely processes the subject parameter by passing it to the Velocity templating engine for rendering. An attacker can supply a malicious Velocity template string as the subject, which is then executed by the server, leading to full Remote Code Execution (RCE) with the privileges of the Jira service process. The vulnerability was confirmed via public proof-of-concept exploits that utilize Velocity engine introspection to call java.lang.Runtime.exec(). Defenders should prioritize patching, as the vulnerability requires no authentication and provides trivial access to the underlying host.
Attack Chain
- Attacker navigates to the public-facing endpoint
/secure/ContactAdministrators.jspaon a vulnerable Jira Server instance. - Attacker crafts a malicious HTTP POST request targeting the
ContactAdministratorsform. - The
subjectparameter in the request body is populated with a Velocity template payload (e.g.,$i18n.getClass().forName('java.lang.Runtime')...). - The request is processed by the
JiraWebworkActionDispatcherand routed to theContactAdministrators.doExecute()method. - The application triggers
EmailBuilder.renderLater(), which eventually callsDefaultVelocityTemplatingEngine.render(). - The Velocity engine parses the malicious
subjectstring as a template, invoking the injected Java reflection code. - The system executes the arbitrary command, granting the attacker RCE on the server.
Impact
Successful exploitation results in full server compromise, allowing attackers to execute arbitrary system commands, exfiltrate sensitive Jira data, or use the compromised host as a pivot point in the internal network. The vulnerability impacts Atlassian Jira Server versions below 7.6.14, 7.13.5, 8.0.3, 8.1.2, and 8.2.3.
Recommendation
- Immediately upgrade all Atlassian Jira Server instances to the patched versions specified by Atlassian (7.6.14, 7.13.5, 8.0.3, 8.1.2, 8.2.3 or higher).
- If immediate patching is not possible, disable the
Contact Administrators Formfunctionality via the application properties administration panel. - Deploy the Sigma rules below to monitor web logs for suspicious POST requests containing Velocity template syntax.
- Review access logs for non-standard or unexpected POST requests to
/secure/ContactAdministrators.jspa.
Immediate actions
Upgrade Jira Server to 7.6.14 or later
Threat Hunt
Identify all requests to /secure/ContactAdministrators.jspa containing Velocity syntax
Data: Web server logs
Mitigations
Disable Contact Administrators Form in Jira configuration
CVE-2019-11581
Detection coverage 1
Detects CVE-2019-11581 Exploitation - SSTI via Jira ContactAdministrators
criticalDetects attempts to exploit CVE-2019-11581 by identifying Velocity template syntax within the 'subject' parameter sent to the Jira contact form.
Detection queries are available on the platform. Get full rules →