Path Traversal Vulnerability in Apache FreeMarker Template Engine
Key Information:
- Vendor
Apache
- Status
- CVE ID
- CVE ID:
- CVE-2026-84939
- Vendor
- CVE Published:
- 10 September 2026
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Patch this week
Exploitation is likely. Prioritise the fix.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory β2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Apache Freemarker. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Patch this week"
- It can be exploited remotely without credentials.
- Its CVSS severity is critical (9.1).
What is CVE-2026-84939?
A path traversal vulnerability exists in the Apache FreeMarker template loading mechanism. This occurs if an attacker can supply a malformed locale identifier while the localized lookup setting is enabled, which is the default configuration. Affected versions include FreeMarker from 2.2.0 through 2.3.34. It is recommended to upgrade to version 2.3.35 or disable the localized lookup setting in previous versions to mitigate this risk. While the files loaded are generally restricted by the TemplateLoader configuration, some loaders may permit access outside of their specified base directory, emphasizing the need for prompt action.
Affected Version(s)
Apache FreeMarker 2.2.0 <= 2.3.34
Apache FreeMarker 2.2.0 <= 2.3.34
Apache FreeMarker 2.3.35
References
More Apache Vulnerabilities
Key Exchange Vulnerability in Apache Tomcat
Improper Exception Management in Apache Tomcat Affects Multiple Versions
Deserialization Vulnerability in Apache Roller Affects Multiple Versions
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction