VDB

CVE-2026-84939

CVE-2026-84939 PUBLISHED CVSS 9.300000190734863 CRITICAL

Reported by apache · Published September 10, 2026

freemarker is fixed in 2.3.35 and 2.3.34 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.freemarker:freemarkerMaven Central2.3.35, 2.3.34
org.freemarker:freemarker-gaeMaven Central2.3.35, 2.3.34
keycloak-26.7Chainguard26.7.4-r4
keycloak-fips-26.6Chainguard26.6.7-r5
keycloak-26.6Chainguard26.6.7-r3
keycloak-26.6Wolfi26.6.7-r3
keycloak-fips-26.7Chainguard26.7.4-r3
freemarkerapache2.3.35

Risk scores

CVSS 4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
Apache Software FoundationApache FreeMarker2.2.0, 2.3.35
Apache Software FoundationApache FreeMarker2.2.0, 2.3.35
chainguardkeycloak-26.70
chainguardkeycloak-fips-26.60
chainguardkeycloak-26.60
Mavenorg.freemarker:freemarker2.2.0
Apache Software FoundationApache FreeMarker2.3.35, 2.2.0
Apache Software FoundationApache FreeMarker2.2.0, 2.3.35
wolfikeycloak-26.60
chainguardkeycloak-fips-26.70

Timeline

  • Sep 10, 2026 CVE Published
  • Sep 10, 2026 EPSS Score (21 in total, the first dated here)
  • Sep 10, 2026 CVE Updated
  • Oct 16, 2026 Distribution Patch (2 in total, the first dated here)
  • Oct 16, 2026 Security Advisory (3 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-84939
vulnetix vdb fixes CVE-2026-84939

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-84939/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›