WSA-2026-006: Processing continues after rewrite rules with the flags F, G or R (CVE-2026-118028) in Apache Tomcat
| Advisory | WSA-2026-006 |
|---|---|
| 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-118028 |
| Also known as | GHSA-hjgg-fgrg-v37h (GitHub Advisory Database) EUVD-2026-130770 (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.0.3361 to 9.0.7 | Affected | No fix available yet; workaround available (see Remediation) |
| 9.0.0.2898 to 9.0.0.3264 | Not affected | The vulnerable code is not included |
| 9.0 to 9.0.0.2843 | Affected | No fix available yet; workaround available (see Remediation) |
| 8.0.0.3362 to 8.0.0.3658 | Affected | No fix planned; workaround available (see Remediation) |
| 8.0 to 8.0.0.3266 | Not affected | The vulnerable code is not included |
Summary
CVE-2026-118028 is a vulnerability in Apache Tomcat that the Apache Tomcat project published on November 19, 2026. When
a rule of the RewriteValve with the flag [F] (forbidden), [G] (gone) or [R] (redirect) matches, Tomcat sends the
response of the rule but still passes the request on to the application. It concerns the Tomcat versions 10.1.20 to
10.1.61, 11.0.0-M18 to 11.0.27 and 9.0.87 to 9.0.123. Apache rates the vulnerability as important and publishes no CVSS
score; the CVE record carries a CVSS 3.1 base score of 9.1 that CISA added.
webPDF contains affected Tomcat versions, but is affected only when a RewriteValve is added to its server configuration. webPDF itself adds no RewriteValve. A webPDF release with a corrected Tomcat version is not available yet; until then, the workaround is not to use a RewriteValve 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 a RewriteValve |
| 9.0.0.3361 to 9.0.7 | 10.1.20 to 10.1.61 | Yes, only with a RewriteValve |
| 9.0.0.2898 to 9.0.0.3264 | 10.1.8 to 10.1.18 | No |
| 9.0 to 9.0.0.2843 | 10.0.23 to 10.0.27 | Yes, only with a RewriteValve |
| 8.0.0.3362 to 8.0.0.3658 | 9.0.88 to 9.0.98 | Yes, only with a RewriteValve |
| 8.0 to 8.0.0.3266 | 9.0, up to 9.0.85 | No |
- The server configuration of webPDF accepts additional Tomcat valves. webPDF adds no RewriteValve, neither in the configuration it installs nor in the Admin Portal.
- webPDF 9.0.0.2898 to 9.0.0.3264 and 8.0 to 8.0.0.3266 contain Tomcat versions that are not affected according to the Apache Tomcat project.
- webPDF 9.0, 9.0.0.2732 and 9.0.0.2843 contain Apache Tomcat 10.0, which the Apache Tomcat project no longer assesses. As a precaution, these releases are listed as affected.
- 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 a RewriteValve is configured or not.
Conditions for exploitation
- The webPDF version is affected (see above), and
- a RewriteValve is added to the server configuration, and
- one of its rules uses the flag
[F],[G]or[R]to block or redirect requests.
Check your installation
A RewriteValve is configured when the server configuration server.xml contains a valve element with the class
org.apache.catalina.valves.rewrite.RewriteValve. The commands print the line of every such entry; no output means
that the server configuration contains no RewriteValve.
- Windows, in PowerShell:
Select-String -Path "$env:ProgramData\webPDF\conf\server.xml" -Pattern 'RewriteValve' -SimpleMatch - Linux:
grep -n 'RewriteValve' /opt/webpdf/conf/server.xml - Docker:
docker exec <container> grep -n 'RewriteValve' /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. webPDF 8.0 receives no fix.
Workaround
Remove the RewriteValve from server.xml and restart webPDF. With Docker, change the server.xml that the container
uses and recreate the container. Where requests must be blocked or redirected, do so in a reverse proxy or load balancer
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-118028 in the CVE List
- CVE-2026-118028 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. |