{"id":"CVE-2026-84939","published":"2026-09-10T05:07:24Z","modified":"2026-09-10T15:58:02Z","title":"Apache FreeMarker, Apache FreeMarker: A malformed locale may be exploitable for path traversal attacks","vendor":"Apache","product":"Apache FreeMarker","tier":"tail","description":{"text":"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).\n\nThis issue affects Apache FreeMarker from 2.2.0 through 2.3.34.\n\nUsers are recommended to upgrade to version 2.3.35. Disabling localized lookup in previous versions also mitigates this.\n\nNote 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00854,"percentile":0.59201,"provenance":"source"},"cwes":[{"id":"CWE-23","name":"Relative Path Traversal"}],"references":[{"url":"https://lists.apache.org/thread/hrd7o2ylwkkswdyhyzllgqt0f80kyd5y","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/09/08/2","tags":[]}],"priority":{"score":18.2,"factors":[{"name":"EPSS percentile","points":11.84},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache FreeMarker","versions":[">= 2.2.0, <= 2.3.34"]},{"vendor":"Apache Software Foundation","product":"Apache FreeMarker","versions":[">= 2.2.0, <= 2.3.34"]}],"fixedVersions":[{"vendor":"Apache Software Foundation","product":"Apache FreeMarker","versions":["2.3.35"]},{"vendor":"Apache Software Foundation","product":"Apache FreeMarker","versions":["2.3.35"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-09-10T15:57:22.150692Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.freemarker:freemarker","vulnerableRanges":[">=2.2.0, <2.3.35"],"patched":["2.3.35"],"from":["GHSA-27j2-h3m2-8237"],"provenance":"source"}],"summary":{"text":"Apache FreeMarker's template loading mechanism contains a relative path traversal flaw affecting versions 2.2.0 through 2.3.34, which can be triggered when localized lookup is enabled (the default). An attacker who can supply an arbitrary malformed locale identifier to FreeMarker can exploit it over the network without authentication or user interaction, though the files reachable remain bounded by the configured TemplateLoader, such as the baseDir for FileTemplateLoader.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:23Z"},"euvd":{"id":"EUVD-2026-75251","exploited":false,"provenance":"source"}}