WSA-2026-007: ExpiresFilter removes Cache-Control values set before it (CVE-2026-121649) in Apache Tomcat
| Advisory | WSA-2026-007 |
|---|---|
| Version | 1, interim. This advisory will be updated when the situation changes. |
| Status | Workaround available |
| Severity | Vendor rating: Important (the vendor publishes no CVSS score) Source: Apache Tomcat security team, security pages of Apache Tomcat 9, 10.1 and 11 |
| CVE | CVE-2026-121649 |
| Also known as | GHSA-c9x9-5fwm-g9r7 (GitHub Advisory Database) EUVD-2026-130778 (European Vulnerability Database of ENISA) |
| Related advisories | WID-SEC-2026-4696 (German Federal Office for Information Security (BSI)) |
| Component | Apache Tomcat (tomcat-embed-core) |
| Published | 2026-11-26 |
| webPDF version | Status | Remediation or reason |
|---|---|---|
| 10.0 to 10.0.7.1 | Affected | No fix available yet; workaround available (see Remediation) |
| 9.0, all releases | Not affected | The vulnerable code is never run |
| 8.0, all releases | Not affected | The vulnerable code is never run |
Summary
CVE-2026-121649 is a vulnerability in Apache Tomcat that the Apache Tomcat project published on November 19, 2026. The
ExpiresFilter, an optional filter that sets caching headers, removes Cache-Control values that were set before it, for
example by the authentication of the server. A cache between client and server can then store responses that must not
be stored. It concerns the Tomcat versions 10.1.0-M1 to 10.1.61, 11.0.0-M1 to 11.0.27 and 9.0.0.M1 to 9.0.123. Apache
rates the vulnerability as important and publishes no CVSS score.
webPDF 10.0 contains an affected Tomcat version, but is affected only when an ExpiresFilter is added to its server configuration. webPDF itself adds no ExpiresFilter. webPDF 9.0 and 8.0 are not affected. A webPDF release with a corrected Tomcat version is not available yet; until then, the workaround is not to use an ExpiresFilter in webPDF.
Affected and not affected versions
| webPDF version | Bundled Apache Tomcat | Affected |
|---|---|---|
| 10.0 to 10.0.7.1 | 10.1.34 to 10.1.61 | Yes, only with an ExpiresFilter |
| 9.0, all releases | 10.0.23 to 10.1.61 | No |
| 8.0, all releases | 9.0, up to 9.0.98 | No |
- The server configuration of webPDF 10.0 accepts additional Tomcat filters. webPDF adds no ExpiresFilter, neither in the configuration it installs nor in the Admin Portal.
- webPDF 9.0 and 8.0 contain affected Tomcat versions, but their server configuration accepts no additional filters, so the affected code is not used. webPDF 8.0 no longer receives updates; see supported versions.
The Apache Tomcat version of each webPDF release is named in the "List of used components" of its changelog entry, for example for webPDF 10.0.7.1. Security scanners report the affected versions because of the Tomcat version alone, whether an ExpiresFilter is configured or not.
Conditions for exploitation
- The webPDF version is affected (see above), and
- an ExpiresFilter is added to the server configuration, and
- responses of webPDF pass a cache that is shared between users, for example a proxy.
Check your installation
An ExpiresFilter is configured when the server configuration server.xml contains a filter element with the class
org.apache.catalina.filters.ExpiresFilter. The commands print the line of every such entry; no output means that the
server configuration contains no ExpiresFilter.
- Windows, in PowerShell:
Select-String -Path "$env:ProgramData\webPDF\conf\server.xml" -Pattern 'ExpiresFilter' -SimpleMatch - Linux:
grep -n 'ExpiresFilter' /opt/webpdf/conf/server.xml - Docker:
docker exec <container> grep -n 'ExpiresFilter' /opt/webpdf/conf/server.xml
Remediation
Fix
A webPDF release with a corrected Apache Tomcat is not available yet. This advisory will be updated when it is.
Workaround
Remove the ExpiresFilter from server.xml and restart webPDF. With Docker, change the server.xml that the container
uses and recreate the container. Where caching headers are needed, set them in a reverse proxy in front of webPDF. The
workaround does not replace the update to a webPDF release with a corrected Tomcat version.
Verify the workaround
Run the check above again; it must print nothing. webPDF reads server.xml at startup, so the change is active once
webPDF has been restarted after it.
References
- Apache Tomcat security pages for Tomcat 10.1, Tomcat 11 and Tomcat 9
- CVE-2026-121649 in the CVE List
- CVE-2026-121649 in the National Vulnerability Database
Contact
For questions about this advisory, contact support@softvision.de. To report a vulnerability in webPDF, write to security@softvision.de; see our vulnerability disclosure policy.
Revision history
| Version | Date | Change |
|---|---|---|
| 1 | 2026-11-26 | Initial publication. |