Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege user
-
DeliveryInject FreeMarker payload into collection summary/portlet/MIME template
-
ExploitServer compiles template with unsandboxed resolver
-
ExecutionInstantiate Execute via ?new()
-
PersistRuntime.exec runs OS command
-
ImpactArbitrary code execution as service account
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
|
| Exploitation Conditions | Requires an authenticated account (PR:L) with the ability to supply template text through one of the affected input surfaces named in the description: collection summary sections, advanced-script wizard controls, dashboard portlets, or MIME display templates. Exploitation is enabled specifically because BasicConfiguration used FreeMarker's default UNRESTRICTED_RESOLVER for TemplateClassResolver and did not disable the ?api built-in, allowing ?new() to instantiate freemarker.template.utility.Execute. Limiting factors: a valid low-privilege login is needed, the CVSS 4.0 vector marks passive user interaction (UI:P) for template rendering, and the affected product is only openEQUELLA before version 2026.1.0. Not exploitable against patched instances (2026.1.0+) which apply SAFER_RESOLVER and disable ?api. |
| Impact | This is a genuine high-priority vulnerability, though gated by authentication. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P) describes a network-reachable, low-complexity attack requiring only low-privilege authenticated access and some passive user interaction, yielding full confidentiality/integrity/availability impact (VC:H/VI:H/VA:H) via arbitrary OS command execution - vendor score 8.6. The signals are internally consistent: CWE-1336 (Server-Side Template Injection), the SSTI tag, and the source-code diff all confirm a FreeMarker unsandboxed TemplateClassResolver leading to Runtime.exec. EPSS is modest at 0.92% (58th percentile), which reflects the authentication requirement and niche product footprint rather than any doubt about exploitability - the exploit technique itself (freemarker.template.utility.Execute via ?new()) is a well-known, reliable one-liner explicitly documented in the patch. There is no CISA KEV listing and no public exploit code identified in the provided data, so this is not confirmed active exploitation; it is a real, easily-weaponizable flaw whose spread is limited by the small deployment base and the need for a valid low-privilege account. Net: prioritize patching for any internet-exposed openEQUELLA instance, but the authentication gate and low prevalence temper the urgency relative to an unauthenticated RCE. |
| Exploit ScenarioDerived | An authenticated openEQUELLA user with rights to edit a collection summary, dashboard portlet, or MIME display template injects a FreeMarker expression such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Sep 22, 2026
Remote code execution in openEQUELLA before 2026.1.0 allows an authenticated attacker to execute arbitrary operating-system commands on the server by injecting FreeMarker template expressions into content surfaces they can author, such as collection summary sections, advanced-script wizard controls, dashboard portlets, and MIME display templates. The root cause is that the product's FreeMarker configuration (BasicConfiguration) relied on FreeMarker's default unrestricted TemplateClassResolver and left the ?api built-in reachable, so a payload such as <#assign ex="freemarker.template.utility.Execute"?new()>${ex("id")} instantiates the Execute utility and calls Runtime.exec. Exploitation requires a valid low-privilege account (CVSS 4.0 vector PR:L) plus passive user interaction when the malicious template is rendered (UI:P), and it is not possible against patched instances (2026.1.0+) which enforce SAFER_RESOLVER; no public exploit code or confirmed in-the-wild exploitation was identified at time of analysis, and EPSS is modest (0.92%, ~58th percentile), consistent with a high-severity but authentication-gated issue.
Earlier versions of this analysis (1)
Remote code execution in openEQUELLA versions before 2026.1.0 allows an authenticated attacker who can author or edit content rendered through FreeMarker to execute arbitrary operating-system commands on the server. The flaw stems from the shipped BasicConfiguration using FreeMarker's default unrestricted class resolver, so template expressions such as instantiating freemarker.template.utility.Execute are compiled and executed with full server privileges via collection summaries, dashboard portlets, MIME display templates, or advanced-script wizard controls. Exploitation requires a valid openEQUELLA account (CVSS 3.1 PR:L, not anonymous) and access to at least one template-editing feature; no public exploit code has been identified at time of analysis, but vendor patches are available and the vulnerability is high priority (vendor-rated 8.7, assessed 8.8 under CVSS 3.1).
RemediationAI
Upgrade to openEQUELLA 2026.1.0, which contains the vendor-released fix for this issue; the hardening lands in commit d6e165afc986f8a3ed912cdb367d5ad8c1eeab5c and the tagged release https://github.com/openequella/openEQUELLA/releases/tag/2026.1.0, and it works by setting FreeMarker's TemplateClassResolver to SAFER_RESOLVER (blocking Execute, ObjectConstructor and JythonRuntime by name while still allowing openEQUELLA's own TemplateModel directive classes) and by explicitly disabling the ?api built-in, so legitimate built-in templates continue to render. Because this is a stored template-injection flaw, patching the engine does not remove payloads already persisted in the database, so alongside the upgrade you should audit existing collection summary sections, advanced-script wizard controls, dashboard portlets, MIME display templates and entity templates for ?new( and ?api usage and delete or rewrite anything suspicious, noting that cleaning stored content may break customized dashboards or summaries that legitimately used those built-ins. If upgrading cannot be done immediately, compensating controls include restricting the roles/permissions that can author or edit the affected template surfaces so that only fully trusted administrators can supply template text (trade-off: it does not help where untrusted content already exists and reduces delegated authoring flexibility), and removing or disabling dashboard portlet and MIME-template customization on high-value instances; HTTP-layer filtering for strings such as "?new(" or "freemarker.template.utility.Execute" offers only partial protection because the malicious content is typically stored and rendered server-side rather than resubmitted per request, and it risks false positives against benign template text. Vendor and third-party advisory references: https://www.vulncheck.com/advisories/openequella-before-2026.1.0-remote-code-execution-via-freemarker-template-injection, https://vuldb.com/vuln/408040, and https://nvd.nist.gov/vuln/detail/CVE-2026-94109.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
openEQUELLA is a Java-based open-source digital repository / content management platform widely deployed in education and government, and it uses Apache FreeMarker to render dynamic content. The flaw is a server-side template injection (SSTI) of the CWE-1336 class: user-supplied template text is compiled and evaluated by FreeMarker without adequate neutralization of the template expression language. In the vulnerable code path (Source/Plugins/Core/com.equella.core/src/com/tle/web/freemarker/BasicConfiguration.java), TemplateClassResolver was left at FreeMarker's default UNRESTRICTED_RESOLVER, and the ?api built-in - which exposes an object's raw Java API via reflection - was not explicitly disabled. This makes the ?new() built-in fully dangerous: ?new() instantiates a Java class by name, and freemarker.template.utility.Execute is a FreeMarker gadget whose call operation invokes Runtime.exec, yielding command execution. Alternative gadgets blocked by the same hardening include ObjectConstructor (reflective instantiation of any class) and JythonRuntime. Practical input surfaces confirmed by the code and advisory references include dashboard portlets handled by FreemarkerPortletRenderer (lines ~141-170), entity-level templates in AbstractEntityServiceImpl (lines ~230-250), plus collection summary sections, advanced-script wizard controls, and MIME display templates as described by the vendor. The fix commit d6e165afc986f8a3ed912cdb367d5ad8c1eeab5c hardens this by calling setNewBuiltinClassResolver(TemplateClassResolver.SAFER_RESOLVER) - which blocks Execute, ObjectConstructor and JythonRuntime by name while still permitting the product's own TemplateModel directive classes - and setAPIBuiltinEnabled(false) to close the reflection bypass; accompanying Scala tests assert that dangerous ?new() payloads and ?api access now throw TemplateException. Affected CPE: cpe:2.3:a:openequella:openequella:*:*:*:*:*:*:*:* with affected versions "0 < 2026.1.0" (EUVD-2026-83731).
Know when Openequella gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable template input needs only a low-privilege account (PR:L) and low complexity (AC:L); stored payload renders on interaction (UI:R), and command execution yields full C:H/I:H/A:H within the app's process (S:U).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
openEQUELLA versions before 2026.1.0 contain a remote code execution vulnerability in FreeMarker template compilation due to an unsandboxed TemplateClassResolver configuration. Authenticated attackers can inject malicious template expressions through collection summaries, dashboard portlets, or MIME templates to instantiate dangerous classes like freemarker.template.utility.Execute and invoke Runtime.exec for arbitrary command execution.
Articles & Coverage 1
Executive ViewAI
A high-severity remote code execution flaw in openEQUELLA (versions before 2026.1.0) allows any holder of a low-privilege account to run arbitrary operating-system commands on the server by placing malicious template expressions into content they are permitted to author, such as collection summaries, dashboard portlets, and MIME display templates. Because the payload executes when another user simply views the affected content, compromise can spread through normal day-to-day use of the platform without further attacker action. Any organization running an unpatched openEQUELLA instance for content, course, or digital-asset management should treat its server infrastructure and any data or credentials it holds as at risk, and should prioritize remediation accordingly.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Openequella
View allAuthenticated users with script create or edit rights in openEQUELLA deployments before 2026.1 can achieve arbitrary OS
Authenticated remote code execution in openEQUELLA releases before 2026.1.0 lets any logged-in non-guest user execute ar
XML external entity injection in openEQUELLA before 2026.1 allows an authenticated user who holds the CREATE_ITEM permis
Unauthenticated information disclosure in openEQUELLA before 2026.1 allows any remote party who can reach the API to rea
XML external entity processing in openEQUELLA's SOAP API (stopEdit operation) lets an authenticated low-privilege user c
Stored cross-site scripting in openEQUELLA's pre-login notice lets a user who holds the EDIT_SYSTEM_SETTINGS permission
Stored cross-site scripting in openEQUELLA 2019.1 through before 2026.1 allows a user with EDIT_SYSTEM_SETTINGS to uploa
EUVD-2026-83731
GHSA-w599-5qgp-f3cf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB