CVSS 3.1
9.1 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NCritical (9.1) in apache freemarker. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in org.freemarker:freemarker 2.3.35.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Norg.freemarker:freemarker (Maven): fixed in 2.3.35Explain CVE-2026-84939 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-84939?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-84939?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-84939 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Apache Software Foundation Apache FreeMarker | from 2.2.0 through 2.3.34 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-27j2-h3m2-8237 | Maven | org.freemarker:freemarker | >=2.2.0 <2.3.35 | 2.3.35 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | libfreemarker-java | no fix listed | DEBIAN-CVE-2026-84939 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 4 more | libfreemarker-java | no fix listed | UBUNTU-CVE-2026-84939 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Important.
This is an Important path traversal vulnerability in Apache FreeMarker, affecting Red Hat JBoss Fuse, Red Hat Build of Keycloak, and Red Hat Single Sign-On. An attacker can exploit this flaw by providing a malformed locale identifier when localized lookup is enabled by default, potentially accessing restricted files. While FileTemplateLoader limits traversal to its base directory, other TemplateLoader implementations may allow broader access, justifying the Important impact.
To 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 documentation for specific instructions on how to configure FreeMarker to disable localized lookup. A restart of the affected application or service will be required for the changes to take effect. Disabling localized lookup may impact applications that rely on this feature for internationalization.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat build of Quarkus 3.27.6.redhat | org.freemarker/freemarker:2.3.35 | Fixed 2026-10-15 | RHSA-2026:83082 |
| Red Hat build of Quarkus 3.33.4.redhat | org.freemarker/freemarker:2.3.35 | Fixed 2026-10-15 | RHSA-2026:83520 |
| Exploit Intelligence | exploit-intelligence/agent-client-rhel9 | Under investigation | |
| Red Hat build of Apache Camel 4 for Quarkus 3 | freemarker | Not affected | |
| Red Hat build of Apicurio Registry 3 | freemarker | Not affected | |
| Red Hat Build of Keycloak | freemarker | Not affected | |
| Red Hat Build of Keycloak | rhbk/keycloak-rhel9 | Not affected | |
| Red Hat Fuse 7 | freemarker | Not affected | |
| Red Hat Fuse 7 | freemarker-parser | Not affected | |
| Red Hat Single Sign-On 7 | freemarker | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-84939.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.