oss-sec mailing list archives

CVE-2026-82385: Apache Roller: Weblog template include escapes the Velocity sandbox and reads classpath files


From: "David M. Johnson" <snoopdave () apache org>
Date: Fri, 25 Sep 2026 20:13:00 +0000

Severity: Important 
    CVSS 3.1: 6.5 (medium) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected versions:

- Apache Roller 6.1.5

Description:

Exposure of Sensitive Information to an Unauthorized Actor in Apache Roller 6.1.5 allows a weblog administrator to read 
files on the application classpath, including Roller configuration files containing secrets, by authoring a Velocity 
template that uses an include directive to load a classpath resource outside the theme namespace. Roller treats weblog 
administrators as untrusted and enables a Velocity sandbox, but the include and parse directives are not confined by 
it. No non-default configuration is required; this affects any weblog whose administrator can author templates. Users 
are recommended to upgrade to Apache Roller 6.1.6 or later, which confines includes to the active theme and removes 
classpath resource loading from weblog rendering.

Credit:

n0mi1k (finder)

References:

https://github.com/apache/roller/pull/172
https://roller.apache.org/
https://www.cve.org/CVERecord?id=CVE-2026-82385


Current thread: