Read the docs
TI-2026-58379 Aliases CVE-2026-84939GHSA-27j2-h3m2-8237

Apache FreeMarker, Apache FreeMarker: A malformed locale may be exploitable for path traversal attacks

Priority MEDIUM 49CWE-23Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · None
Fix status
Partial Red Hat: 2 fixed, 2 without a fix

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00854 58th percentileScored 2026-11-07
Fix Partial Apache FreeMarker (Apache Software Foundation): 2.3.35org.freemarker:freemarker (Maven): 2.3.35Red Hat: 2 advisoriesRed Hat: 2 fixed, 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache FreeMarker2.2.0 – 2.3.342.3.35Patch availableCNA
ApacheApache FreeMarker2.2.0 – 2.3.342.3.35Patch availableCNA
—org.freemarker:freemarker (Maven)2.2.0 to before 2.3.352.3.35Patch availableGHSA-27j2-h3m2-8237
  • Apache FreeMarker VendorApache Affected 2.2.0 – 2.3.34 Fixed in 2.3.35 Patch available CNA
  • Apache FreeMarker VendorApache Affected 2.2.0 – 2.3.34 Fixed in 2.3.35 Patch available CNA
  • org.freemarker:freemarker (Maven) Vendor— Affected 2.2.0 to before 2.3.35 Fixed in 2.3.35 Patch available GHSA-27j2-h3m2-8237

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:freemarker:*:*:*:*:*:*:*:*2.2 to before 2.3.35VulnerableApache
  • cpe:2.3:a:apache:freemarker:*:*:*:*:*:*:*:* Versions 2.2 to before 2.3.35 Vulnerable ·Apache

Remediation

  • Fix · CNA Apache FreeMarker (Apache Software Foundation) Fixed in 2.3.35
  • Fix · CNA Apache FreeMarker (Apache Software Foundation) Fixed in 2.3.35
  • Fix · GHSA-27j2-h3m2-8237 org.freemarker:freemarker (Maven) Fixed in 2.3.35 Advisory →

Red Hat 2 advisories

  • RHSA-2026:83520 Released 2026-10-15 · Red Hat rating Important
    Red Hat build of Quarkus 3.33.4 release and security update
    • Red Hat build of Quarkus 3.33.4.redhat at.yawk.lz4.lz4-java-1.11.1.rhel8-redhat-00001.jar, com.fasterxml.jackson.core.jackson-core-2.21.7.redhat-00001.jar, com.fasterxml.jackson.core.jackson-databind-2.21.7.redhat-00001.jar +10
  • RHSA-2026:83082 Released 2026-10-15 · Red Hat rating Important
    Red Hat build of Quarkus 3.27.6 release and security update
    • Red Hat build of Quarkus 3.27.6.redhat at.yawk.lz4.lz4-java-1.11.1.rhel8-redhat-00001.jar, com.fasterxml.jackson.core.jackson-core-2.21.7.redhat-00001.jar, com.fasterxml.jackson.core.jackson-databind-2.21.7.redhat-00001.jar +11

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Exploit IntelligenceAffected—
Red Hat Single Sign-On 7AffectedNo fix planned: Will not fix
Red Hat build of Quarkus 3.27.6.redhatFixed RHSA-2026:83082
Red Hat build of Quarkus 3.33.4.redhatFixed RHSA-2026:83520
Not affected: 6 products
  • Red Hat Build of Keycloak
  • Red Hat Fuse 7
  • Red Hat build of Apache Camel 4 for Quarkus 3
  • Red Hat build of Apicurio Registry 3
  • Red Hat build of Quarkus 3.27.6.redhat
  • Red Hat build of Quarkus 3.33.4.redhat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-84939
  2. 2026-10-03 Alias added: GHSA-27j2-h3m2-8237
  3. 2026-10-16 Fix available: RHSA-2026:83520 · Red Hat
  4. 2026-10-16 Fix available: RHSA-2026:83082 · Red Hat
  5. 2026-10-16 Fix available: Red Hat build of Quarkus 3.27.6.redhat, Red Hat build of Quarkus 3.33.4.redhat · Red Hat

References

Sources