Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-82385 Overview
CVE-2026-82385 is an information disclosure vulnerability in Apache Roller 6.1.5 that allows a weblog administrator to read files on the application classpath. The flaw lets an administrator author a Velocity template using the #include directive to load classpath resources outside the theme namespace. Because Roller treats weblog administrators as untrusted and enables a Velocity sandbox, the issue stems from the sandbox not confining the include and parse directives. An attacker with weblog administrator privileges can read Roller configuration files containing secrets. No non-default configuration is required to exploit this flaw [CWE-200].
Critical Impact
A weblog administrator can disclose Roller configuration files and other classpath resources, exposing secrets used by the application.
Affected Products
- Apache Roller 6.1.5
- Apache Roller versions prior to 6.1.6
- Deployments where weblog administrators can author Velocity templates
Discovery Timeline
- 2026-09-28 - CVE-2026-82385 published to NVD
- 2026-09-29 - Last updated in NVD database
Technical Details for CVE-2026-82385
Vulnerability Analysis
Apache Roller renders weblog themes using the Apache Velocity templating engine. Roller treats weblog administrators as untrusted principals and enables a Velocity sandbox to constrain template capabilities. The sandbox, however, does not restrict the #include and #parse directives.
A weblog administrator can author a template that invokes #include against a classpath resource path outside the active theme namespace. The Velocity resource loader resolves the request against the application classpath and returns the file contents in the rendered page. This exposes Roller configuration files that commonly contain database credentials, API keys, and other secrets.
Root Cause
The root cause is an incomplete sandbox policy for weblog template rendering. The include and parse directives bypass the sandbox restrictions that apply to other Velocity constructs. Combined with a resource loader configured to read from the classpath, this enables arbitrary classpath file reads during template evaluation.
Attack Vector
Exploitation requires authenticated access as a weblog administrator. The attacker edits or creates a theme template containing an #include directive referencing a path such as a Roller properties file on the classpath. When the weblog renders, the referenced file contents are embedded in the output and returned to the attacker over the network.
No code execution, user interaction, or non-default configuration is required. The vulnerability affects any weblog whose administrator can author templates.
Detection Methods for CVE-2026-82385
Indicators of Compromise
- Weblog theme templates containing #include or #parse directives referencing paths outside the theme directory, especially paths resembling roller.properties, roller-custom.properties, or WEB-INF/classes/*.
- Rendered weblog pages that contain fragments of Java properties, XML configuration, or key-value pairs resembling application secrets.
- Unexpected template edits by weblog administrator accounts, particularly outside normal theme development workflows.
Detection Strategies
- Audit stored Velocity templates for the regular expression #(include|parse)\s*\( and flag any argument that is not a theme-relative resource.
- Review Roller database tables that persist theme content for additions of classpath-style paths in template bodies.
- Correlate administrator authentication events with subsequent template modifications and GET requests to the affected weblog.
Monitoring Recommendations
- Enable application access logging on Roller and alert on anomalous response sizes or content types for weblog render endpoints.
- Monitor outbound dissemination of strings matching known secret formats (JDBC URLs, OAuth client secrets) in rendered weblog HTML.
- Track creation and privilege changes for weblog administrator accounts and treat new or inactive admin accounts as high risk.
How to Mitigate CVE-2026-82385
Immediate Actions Required
- Upgrade Apache Roller to version 6.1.6 or later, which confines includes to the active theme and removes classpath resource loading from weblog rendering.
- Inventory existing weblog administrator accounts and revoke access for any account that is not strictly required.
- Review all custom theme templates for #include and #parse directives referencing non-theme paths and remove them.
Patch Information
The fix is delivered in Apache Roller 6.1.6. Technical details are available in the Apache Roller Pull Request #172, the Apache announcement thread, and the OpenWall oss-security discussion. The patch restricts the Velocity resource loader so include and parse directives resolve only within the active theme namespace.
Workarounds
- Restrict the weblog administrator role to trusted personnel until the upgrade is applied.
- Rotate any secrets stored in Roller configuration files that may have been exposed, including database passwords and API keys.
- Where feasible, remove sensitive values from classpath configuration and inject them at runtime through environment variables or an external secrets store.
# Configuration example
# Verify installed Roller version before and after upgrade
grep -r 'Implementation-Version' $CATALINA_HOME/webapps/roller/META-INF/MANIFEST.MF
# Audit stored templates for suspicious include/parse directives
mysql -u roller -p roller_db -e \
"SELECT handle, name FROM weblogtemplate WHERE template LIKE '%#include%' OR template LIKE '%#parse%';"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

