Skip to main content
CVE-2026-84939VulnerabilityPublished Updated

Libfreemarker java: Path traversal vulnerability

Affects libfreemarker-javaSource GCVE Database

0
Compare
Authoritative record:CVE-2026-84939· Critical 9.1

Not known to be exploited · CVSS 9.1 Critical · fixed in 2.3.35 : patch libfreemarker-java as a priority.

Data as of 24 Nov 2026, 21:25 UTC

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.3.35
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libfreemarker-javapkg:deb/ubuntu/libfreemarker-java?arch=source&distro=stonkingOther threatsAffected
  • =2.3.32-2.1
Fixed in–
Ubuntu 26.04 LTSlibfreemarker-javapkg:deb/ubuntu/libfreemarker-java?arch=source&distro=resoluteOther threatsAffected
  • =2.3.32-2.1
Fixed in–
Ubuntu 24.04 LTSlibfreemarker-javapkg:deb/ubuntu/libfreemarker-java?arch=source&distro=nobleOther threatsAffected
  • =2.3.31-2
  • =2.3.32-1
  • =2.3.32-2
Fixed in–
Ubuntu 22.04 LTSlibfreemarker-javapkg:deb/ubuntu/libfreemarker-java?arch=source&distro=jammyOther threatsAffected
  • =2.3.23-11
Fixed in–
Ubuntu 20.04 LTSlibfreemarker-javapkg:deb/ubuntu/libfreemarker-java?arch=source&distro=focalOther threatsAffected
  • =2.3.23-9
Fixed in–
Ubuntu 18.04 LTSlibfreemarker-javapkg:deb/ubuntu/libfreemarker-java?arch=source&distro=bionicOther threatsAffected
  • =2.3.23-6
  • =2.3.23-7
  • =2.3.23-8
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…