CVE-2026-84939
CRITICALDescription
Path traversal vulnerability in Apache FreeMarker template loading mechanism, if the attacker can specify an arbitrary malformed locale identifier to FreeMarker, and the localized lookup configuration setting is enabled (it's by default enabled). This issue affects Apache FreeMarker from 2.2.0 through 2.3.34. Users are recommended to upgrade to version 2.3.35. Disabling localized lookup in previous versions also mitigates this. Note that even in versions affected by this vulnerability, the files that can be loaded remain restricted by the TemplateLoader that FreeMarker is configured to use. In particular, FileTemplateLoader prevents attempts to traverse outside the baseDir specified in its constructor. Other TemplateLoader implementations may allow access outside their designated base directory, but they are still constrained by the underlying storage mechanism—for example, a loader wrapping a Java class loader can only access resources that the class loader can load, while one wrapping a web application context can only access resources available through that context.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Exploit Intelligence
Moderate risk: more likely to be exploited than 56% of all known CVEs.
References
Related Vulnerabilities
Other CWE-23 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2024-27199 | High | 7.3 | 100% | KEV + Ransom | Fix |
| CVE-2020-5410 | High | 7.5 | 96% | KEV | Fix |
| CVE-2021-40870 | Critical | 9.8 | 93% | KEV | Fix |
| CVE-2025-64446 | Critical | 9.8 | 92% | KEV | Fix |
| CVE-2020-5405 | Medium | 6.5 | 69% | - | Fix |
| CVE-2025-55752 | High | 7.5 | 67% | - | Fix |
Common questions
How do I fix CVE-2026-84939?
Upgrade freemarker to 2.3.35 or later.
Is CVE-2026-84939 being actively exploited?
Not that we know of. CVE-2026-84939 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.83% is the estimated probability that it will be exploited in the next 30 days. That is higher than 56% of all scored CVEs.
How severe is CVE-2026-84939?
CVE-2026-84939 has a CVSS v3 base score of 9.1, rated critical. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2026-84939 affect?
Published advisories record a fix for freemarker (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2026-84939
Markdown
[](https://tridentstack.com/cve/CVE-2026-84939)HTML
<a href="https://tridentstack.com/cve/CVE-2026-84939"><img src="https://tridentstack.com/cve/badge/CVE-2026-84939.svg" alt="CVE-2026-84939"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-09-11.