CVE-2026-84939
No exploitation reported by the sources we read.
- Published2026-09-10
- Fixed in2.3.35
- WeaknessCWE-23
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-09-1006:17CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.x | ≥ 2.2, < 2.3.35 | 2.3.35 | NVD |
| 2.x | ≥ 2.2.0, < 2.3.35 | 2.3.35 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA2 products
As apache, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Apache Software Foundation Apache FreeMarkerother versions: not affected
package org.freemarker:freemarkerhttps://repo.maven.apache.org/maven2
Affected- ≥ 2.2.0, ≤ 2.3.34no fix statedsemver
Not affected = 2.3.35
- Apache Software Foundation Apache FreeMarkerother versions: not affected
package org.freemarker:freemarker-gaehttps://repo.maven.apache.org/maven2
Affected- ≥ 2.2.0, ≤ 2.3.34no fix statedsemver
Not affected = 2.3.35
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-09-10
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- io.root.org.freemarker:freemarkerRoot:Mavenall versions · fixed in 2.3.32-root.io.1
- io.root.org.freemarker:freemarkerRoot:Mavenall versions · fixed in 2.3.34-root.io.1
- keycloak-26.6Wolfiall versions · fixed in 26.6.7-r3and 1 other package
- keycloak-26.6Chainguardall versions · fixed in 26.6.7-r3and 1 other package
- keycloak-26.7Chainguardall versions · fixed in 26.7.4-r4and 1 other package
- keycloak-fips-26.6Chainguardall versions · fixed in 26.6.7-r5and 1 other package
- keycloak-fips-26.7Chainguardall versions · fixed in 26.7.4-r3and 1 other package
- libfreemarker-javaUbuntu:26.10all versions · no fixed version listed
19 more package ranges on OSV.dev
Vendor advisories
org.apache.freemarker/freemarker: Apache FreeMarker: Path traversal via malformed locale identifier
freemarker as a component of Red Hat Single Sign-On 7
Red Hat Security Advisory: Red Hat build of Quarkus 3.33.4 release and security update
Red Hat Security Advisory: Red Hat build of Quarkus 3.27.6 release and security update
Fix
- Update Apache freemarker to 2.3.35
- Vendor fix Red Hat Product Security RHSA-2026:83520 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2026:83082 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For information about how to apply this update, see https://access.redhat.com/articles/11258.
- Workaround from the vendor Red Hat Product Security RHSA-2026:83520 · 1,040 productsTo mitigate this vulnerability, disable the localized lookup configuration setting within your Apache FreeMarker deployment. This setting is enabled by default and its deactivation prevents the processing of malformed locale identifiers that could lead to path traversal. Consult your application's …
- No fix planned, says the vendor Red Hat Product Security CVE-2026-84939 · 1 productWill not fix
Advisories and patches
- lists.apache.orgVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-19
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionnone2026-09-10
- CISA-ADPCVSS 3.19.12026-09-10
- CNAweakness (CWE)CWE-23known since 2026-10-23
- FIRST EPSSEPSS score0.9 %2026-11-18
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCRITICAL2026-09-24
Identifiers
- CGA-3crv-4j3f-pcx6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8q93-2f95-vpmmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9rm2-r5xf-wh67same flawChainguard · CC-BY-NC-ND-4.0
- CGA-c2cx-45mh-37j2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-c9gp-pq39-jhqmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-ffg4-v92v-cww9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-h34h-wxxj-6cchsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-j24r-xq29-5fgxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-j4g8-5x2h-g85psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-jxcr-qj5h-8jxrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-p92h-5mcc-h6f8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-p9jj-pmpr-wfgmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-r54q-vxww-q4hmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-rj4v-jrhm-358jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-vh77-4wx7-pvvgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-w888-w5mq-3r7fsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2026-75251same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-27j2-h3m2-8237same flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Published
- 2026-09-10
- Last Modified
- 2026-09-11
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-27j2-h3m2-8237
Frequently asked questions
What is CVE-2026-84939?
Is CVE-2026-84939 actively exploited?
What is the CVSS score for CVE-2026-84939?
Running freemarker? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-27j2-h3m2-8237
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0