Skip to main content

openEQUELLA CVE-2026-94109

| EUVDEUVD-2026-83731 HIGH
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2026-09-20 VulnCheck GHSA-w599-5qgp-f3cf
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege user
  2. Delivery
    Inject FreeMarker payload into collection summary/portlet/MIME template
  3. Exploit
    Server compiles template with unsandboxed resolver
  4. Execution
    Instantiate Execute via ?new()
  5. Persist
    Runtime.exec runs OS command
  6. Impact
    Arbitrary 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 <#assign ex="freemarker.template.utility.Execute"?new()>${ex("id")}. When the template is compiled and rendered by the server, the unsandboxed resolver instantiates the Execute class and calls Runtime.exec, running arbitrary OS commands as the application service account. No public exploit code is identified in the provided data, but the payload is the canonical FreeMarker SSTI-to-RCE one-liner and is spelled out verbatim in the vendor's fix commit.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.9% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Sep 20, 2026 - 12:21 CVSS 8.7

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

openEQUELLA 0 <2026.1.0

Affected Packages

euvd openequella fix: 2026.1.0

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

Vendor (VulnCheck) PRIMARY 8.6 HIGH
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
vuln.today AI 8.0 HIGH

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).

3.1 AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
Sep 22, 2026 - 21:29 vuln.today
v2 - CVSS changed
CVSS changed
Sep 22, 2026 - 21:22 NVD
8.7 (HIGH) 8.6 (HIGH)
CVE Published
Sep 20, 2026 - 11:33 cve.org
HIGH 8.7

DescriptionCVE.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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.9%
Top 42% exploitable
Prevalence
Low
niche open-source digital repository/LMS for education, limited enterprise footprint
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.9%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy