ADVISORIES

Vulnerability

CVE-2026-84939

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.

19 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • CGA-3crv-4j3f-pcx6
    CVE-2026-84939 Chainguard Updated 5 November 2026
  • CGA-8q93-2f95-vpmm
    CVE-2026-84939 ChainguardWolfi Updated 5 November 2026
  • CGA-9rm2-r5xf-wh67
    CVE-2026-84939 Chainguard Updated 5 November 2026
  • CGA-c2cx-45mh-37j2
    CVE-2026-84939 Chainguard Updated 5 November 2026
  • CGA-c9gp-pq39-jhqm
    CVE-2026-84939 Chainguard Updated 5 November 2026
  • CGA-ffg4-v92v-cww9
    CVE-2026-84939 ChainguardWolfi Updated 5 November 2026
  • CGA-h34h-wxxj-6cch
    CVE-2026-84939 ChainguardWolfi Updated 5 November 2026
  • CGA-j24r-xq29-5fgx
    CVE-2026-84939 Chainguard Updated 5 November 2026
  • CGA-j4g8-5x2h-g85p
    CVE-2026-84939 Chainguard Updated 5 November 2026
  • CGA-jxcr-qj5h-8jxr
    CVE-2026-84939 Chainguard Updated 5 November 2026
  • CGA-p92h-5mcc-h6f8
    CVE-2026-84939 ChainguardWolfi Updated 5 November 2026
  • CGA-p9jj-pmpr-wfgm
    CVE-2026-84939 Chainguard Updated 5 November 2026
  • CGA-r54q-vxww-q4hm
    CVE-2026-84939 Chainguard Updated 5 November 2026
  • CGA-rj4v-jrhm-358j
    CVE-2026-84939 Chainguard Updated 5 November 2026
  • CGA-vh77-4wx7-pvvg
    CVE-2026-84939 Chainguard Updated 5 November 2026
  • CGA-w888-w5mq-3r7f
    CVE-2026-84939 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2026-84939

    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…

    CVE-2026-84939 Debian Updated 1 October 2026
  • GHSA-27j2-h3m2-8237

    Apache FreeMarker template loading mechanism vulnerable to path traversal

    Critical CVE-2026-84939 Maven Updated 24 September 2026
  • UBUNTU-CVE-2026-84939

    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…

    CVE-2026-84939 Ubuntu Updated 24 November 2026

References