Skip to main content

WSA-2026-006: Processing continues after rewrite rules with the flags F, G or R (CVE-2026-118028) in Apache Tomcat

AdvisoryWSA-2026-006
Version1, interim. This advisory will be updated when the situation changes.
StatusWorkaround available
SeverityVendor rating: Important (the vendor publishes no CVSS score)
Source: Apache Tomcat security team, security pages of Apache Tomcat 9, 10.1 and 11
CVECVE-2026-118028
Also known asGHSA-hjgg-fgrg-v37h (GitHub Advisory Database)
EUVD-2026-130770 (European Vulnerability Database of ENISA)
Related advisoriesWID-SEC-2026-4696 (German Federal Office for Information Security (BSI))
ComponentApache Tomcat (tomcat-embed-core)
Published2026-11-26
webPDF versionStatusRemediation or reason
10.0 to 10.0.7.1AffectedNo fix available yet; workaround available (see Remediation)
9.0.0.3361 to 9.0.7AffectedNo fix available yet; workaround available (see Remediation)
9.0.0.2898 to 9.0.0.3264Not affectedThe vulnerable code is not included
9.0 to 9.0.0.2843AffectedNo fix available yet; workaround available (see Remediation)
8.0.0.3362 to 8.0.0.3658AffectedNo fix planned; workaround available (see Remediation)
8.0 to 8.0.0.3266Not affectedThe 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 versionBundled Apache TomcatAffected
10.0 to 10.0.7.110.1.34 to 10.1.61Yes, only with a RewriteValve
9.0.0.3361 to 9.0.710.1.20 to 10.1.61Yes, only with a RewriteValve
9.0.0.2898 to 9.0.0.326410.1.8 to 10.1.18No
9.0 to 9.0.0.284310.0.23 to 10.0.27Yes, only with a RewriteValve
8.0.0.3362 to 8.0.0.36589.0.88 to 9.0.98Yes, only with a RewriteValve
8.0 to 8.0.0.32669.0, up to 9.0.85No
  • 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​

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​

VersionDateChange
12026-11-26Initial publication.