CVE-2026-121649: Apache Tomcat ExpiresFilter drops the Cache-Control: private header the authenticator set

ByLinuxtastic

December 1, 2026 #Apache Tomcat, #CVE

Tomcat’s authenticators mark responses to authenticated requests with Cache-Control: private so that a shared cache between the server and the user will not store one person’s page and serve it to the next. The ExpiresFilter, which adds Expires and max-age headers by content type, kept its own idea of the Cache-Control value and wrote that out, and the Apache record says the result: a “use of cache containing sensitive information vulnerability in Apache Tomcat’s ExpiresFilter caused by the filter removing cache-control header fields set by the authentication layer”. Tomcat’s security pages rate it Important, Red Hat scores it 7.5 with high confidentiality impact, the CISA ADP 5.3 with low. It affects every supported line, 11.0.0-M1 to 11.0.27, 10.1.0-M1 to 10.1.61 and 9.0.0.M1 to 9.0.123, and the EOL 8.5 and 7.0 lines are known affected too. If any application on your Tomcat maps org.apache.catalina.filters.ExpiresFilter, upgrade to 11.0.29, 10.1.62 or 9.0.124; if you cannot yet, remove the filter mapping.

CVE-2026-121649 at a glance.

ComponentApache Tomcat, the optional ExpiresFilter in java/org/apache/catalina/filters/ExpiresFilter.java: the response wrapper that tracks the Cache-Control header
Affected versionsTomcat 11.0.0-M1 to 11.0.27, 10.1.0-M1 to 10.1.61 and 9.0.0.M1 to 9.0.123, per the Apache record and the three security pages. The EOL lines 8.5.0 to 8.5.100 and 7.0.1 to 7.0.109 “are known to be affected”; the record notes “Tomcat 11.0.28 was not released”
Fixed inTomcat 11.0.29, 10.1.62 and 9.0.124 (security pages dated 13 November for 11.0.29 and 9.0.124, 16 November for 10.1.62; the issue was made public on 19 November). Fix commits 069d34ee (11.0.x), 2435b5a0 (10.1.x) and e9fb42c8 (9.0.x), “Take account of headers set in a previous filter”. Debian forky and sid carry tomcat10 10.1.62-1 and tomcat11 11.0.29-1; Red Hat lists Hardened Images builds of 10.1.62 and 11.0.29
SeverityTomcat: Important; Red Hat Important, CVSS 3.1 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N); SUSE Important, 7.5 and 8.7 under CVSS 4.0; CISA ADP 5.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N); Ubuntu Medium. CWE-524 (use of cache containing sensitive information). No CNA score; NVD Awaiting Analysis with no metric of its own
Exploited in the wildNot on the CISA KEV catalogue (2026.11.30). EPSS 0.00228 (8th percentile) on 30 November 2026
Who is exposedTomcat instances where an application, or conf/web.xml, declares and maps the ExpiresFilter, and where a shared cache (a CDN, a reverse proxy with caching on, a corporate proxy) sits between Tomcat and the browser. Red Hat notes the filter “is not enabled by default” in typical deployments; a Tomcat without the filter mapped is not affected whatever its version
PublishedCVE record 19 November 2026 (Apache CNA; the ADP score added 20 November, SSVC re-touched 1 December); this page built 1 December 2026, last updated 1 December 2026

What it is

The ExpiresFilter wraps the response so that it can see the content type when the first byte is written and then add Expires and a Cache-Control: max-age matching the configured policy. The wrapper tracked only the Cache-Control values that had passed through the wrapper itself; a header already on the wrapped response, which is exactly where an authenticator or an earlier filter puts private or no-store, was not seen, and when the filter wrote its own Cache-Control it replaced the real one. The fix commit’s message is one line, “Take account of headers set in a previous filter”, and the diff adds a synchroniseCacheControlHeader() step that reads the existing header from the wrapped response once, before the filter’s own values are merged in, with a flag so that it happens only once per response and is reset with the response.

The consequence is the CWE the record names: a page that the application meant to be private reaches a shared cache without the marker that would have kept it out, and the next client to ask for the same URL may be served it. Nothing on the Tomcat host is read or written; the exposure is in whatever caches sit in front of it, which is why Red Hat’s vector carries high confidentiality impact and the ADP’s low, and why Tomcat’s own Important sits between them. The issue was reported to the Tomcat security team on 3 November 2026 by Charlie Eriksen of Aikido Security and made public on 19 November; the three fix commits touch ExpiresFilter.java and the changelog only.

The releases carrying the fix went out before the disclosure (the security pages are headed 13 November for 11.0.29 and 9.0.124 and 16 November for 10.1.62), so a Tomcat updated in the second half of November is already closed. The lists.apache.org announcement renders only as a JavaScript shell to automated readers, so the facts here are from the CVE record, the three security pages, the 11.0.x commit on GitHub, NVD, EPSS and the Debian, Ubuntu, Red Hat and SUSE trackers; Alpine’s tracker returned a client error on 1 December.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 1 December 2026; the link in the row is the tracker page, which will be newer than this one. Most production Tomcats are upstream tarballs rather than distribution packages, and are covered by the upstream row.

DistributionStatusFixed package
AlpineTracker unreachable on 1 December 2026 (client error on two attempts); nothing inferred—
Debiantomcat10 vulnerable in bookworm (10.1.55-1~deb12u1, security 10.1.60-1~deb12u1) and trixie (10.1.60-1~deb13u1), fixed in forky and sid; tomcat11 vulnerable in trixie (11.0.22-1~deb13u1), fixed in forky and sid; tomcat9 marked fixed from 9.0.70-2 because the source package “no longer ships the server stack”; bugs 1154583 and 1154584; no DSAforky/sid tomcat10 10.1.62-1, tomcat11 11.0.29-1; nothing for bookworm or trixie on 1 December 2026
UbuntuMedium; tomcat9, tomcat10 and tomcat11 needs evaluation in every release that ships them (26.10, 26.04 LTS, 24.04 LTS, 22.04 LTS, 20.04 LTS, 18.04 LTS); no USN; notes say the xenial tomcat6 and bionic tomcat7 packages build only the servlet librariesnothing on 1 December 2026
RHEL, Rocky, Alma, CentOS StreamImportant, 7.5, CWE-524 (bug 2577461); the hydra JSON lists Hardened Images builds tomcat10-main-10.1.62-1.hum1 and tomcat11-main-11.0.29-0.2.hum1 under RHSA-2026:101665 and RHSA-2026:103379; the per-product table did not render; Red Hat’s mitigation is to remove the filter’s <filter> and <filter-mapping> entriesHardened Images 10.1.62 and 11.0.29; JBoss Web Server and RHEL rows not readable on 1 December 2026
SUSE · Fedora · ArchSUSE Important, 7.5 (8.7 under 4.0), state Pending, bug 1291054; affected on SLES 15 SP7 and the Web and Scripting module, SLES 16.0 and 16.1, Leap 16.0 and 16.1 (tomcat, tomcat10, tomcat11), the LTSS lines and the apache-tomcat container images; no announcement. Fedora and Arch not consultednothing on 1 December 2026
Upstream Apache Tomcat (tomcat.apache.org), bundled TomcatsThe upstream fix appliesTomcat 11.0.29 / 10.1.62 / 9.0.124

How to check

Three questions, in order: which Tomcat each instance runs, whether any deployed application or the global web.xml maps the ExpiresFilter, and whether a shared cache sits in front. Only an instance that answers yes to the second is in range.

# 1. the Tomcat version of each instance (11.0.29 / 10.1.62 / 9.0.124 or later is fixed)
for c in /opt/tomcat* /usr/share/tomcat* /var/lib/tomcat* /usr/local/tomcat*; do
  [ -x "$c/bin/version.sh" ] && "$c/bin/version.sh" 2>/dev/null | grep 'Server number'
done
dpkg -l 'tomcat*' 2>/dev/null | awk '/^ii/ {print $2, $3}'; rpm -qa 'tomcat*' 2>/dev/null

# 2. is the ExpiresFilter declared anywhere? (global conf/web.xml, every webapp's WEB-INF/web.xml, and jars)
grep -rl 'org.apache.catalina.filters.ExpiresFilter' /opt/tomcat*/conf /opt/tomcat*/webapps /var/lib/tomcat*/conf /var/lib/tomcat*/webapps /usr/share/tomcat*/conf /usr/local/tomcat/conf /usr/local/tomcat/webapps 2>/dev/null
grep -rn -A3 '<filter-name>ExpiresFilter' --include=web.xml /opt/tomcat* /var/lib/tomcat* /usr/local/tomcat 2>/dev/null | grep -E 'url-pattern|filter-class'

# 3. what sits in front: a caching proxy or CDN that honours Cache-Control is the exposure
grep -rEn 'proxy_cache|cache_peer|CacheEnable' /etc/nginx /etc/apache2 /etc/httpd /etc/squid 2>/dev/null | head

A fixed Tomcat is done regardless of the filter. An unfixed one with no match in step 2 is not affected; the filter is off unless declared. A match in step 2 on an unfixed Tomcat means every authenticated response on the mapped URL patterns has been leaving without private for as long as the filter has been there, and step 3 says whether anything between the server and the user would have stored them; a CDN or a caching reverse proxy is a yes, a plain load balancer is not.

How to fix it

Upgrade the Tomcat and restart it; the filter class is loaded from the server’s own jar, so a running instance keeps the old code until it restarts. Upstream tarballs are the usual case; distribution packages were pending everywhere except Debian forky and sid on 1 December.

# upstream tarball: unpack the fixed release beside the old one and switch the symlink
curl -O https://dlcdn.apache.org/tomcat/tomcat-10/v10.1.62/bin/apache-tomcat-10.1.62.tar.gz      # or tomcat-11/v11.0.29, tomcat-9/v9.0.124
tar -C /opt -xzf apache-tomcat-10.1.62.tar.gz && ln -sfn /opt/apache-tomcat-10.1.62 /opt/tomcat
systemctl restart tomcat
# distributions, when the package lands
sudo apt update && sudo apt install --only-upgrade tomcat10 tomcat11 tomcat9     # Debian / Ubuntu
sudo zypper patch                                                                # SUSE
# verify
/opt/tomcat/bin/version.sh | grep 'Server number'

Red Hat’s interim mitigation is to take the filter out: remove or comment the <filter> and <filter-mapping> for ExpiresFilter in the application’s WEB-INF/web.xml or in conf/web.xml and reload the application, at the cost of the automated cache headers the filter was there to add. What not to do: do not fix this by setting Cache-Control in the application and assuming the filter now respects it, because on an unfixed version it will not, whichever layer set it; and do not purge the caches in front of Tomcat only after the upgrade and consider the matter closed, since what they already hold is the exposure, so purge them as part of the change.

# interim: unmap the filter in every web.xml that declares it, then reload the application
grep -rl '<filter-name>ExpiresFilter' --include=web.xml /opt/tomcat/conf /opt/tomcat/webapps 2>/dev/null
# (edit each file: remove the <filter> and <filter-mapping> blocks named ExpiresFilter)
systemctl restart tomcat
# and purge any shared cache in front of authenticated paths, e.g. a local nginx cache
rm -rf /var/cache/nginx/* && systemctl reload nginx

Purging a CDN is the provider’s own operation; do it for the authenticated paths, not only the static ones.

Sources

  • CVE-2026-121649 at CVE.org — the Apache CNA record (19 November 2026): the description, the three affected ranges and the EOL lines, the fixed versions, “Tomcat 11.0.28 was not released”, CWE-524, the credit to Charlie Eriksen; the CISA ADP CVSS 3.1 5.3 added 20 November
  • Tomcat 11 security page (and Tomcat 10, Tomcat 9) — “Important: Use of cache containing sensitive information”, fixed in 11.0.29 (13 November), 10.1.62 (16 November) and 9.0.124 (13 November); reported 3 November, made public 19 November; commits 069d34ee, 2435b5a0, e9fb42c8
  • Commit 069d34ee — “Take account of headers set in a previous filter”: java/org/apache/catalina/filters/ExpiresFilter.java (+27, −2) and the changelog; the synchroniseCacheControlHeader() step and its once-per-response flag
  • Announcement on the Tomcat lists — the record’s advisory reference; served as a JavaScript shell to automated readers on 1 December, not read
  • NVD entry — Awaiting Analysis; published 19 November; CWE-524; no NVD score, no CPEs
  • Distribution trackers: Debian (forky/sid fixed, bookworm and trixie vulnerable) · Ubuntu (Medium, needs evaluation) · Red Hat (Important 7.5, filter not enabled by default, the unmap mitigation; bug 2577461) · SUSE (Important, pending; bug 1291054) · Alpine (client error) on 1 December 2026
  • CISA KEV catalogue 2026.11.30, not listed · EPSS 0.00228 (percentile 0.081) on 30 November 2026

Related reading

This advisory page was assembled from the primary sources listed above on 1 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.