Skip to content

Apache Tomcat authorization, auth, and parser-boundary batch (2026-08-26)

Source: GitHub Security Advisories published feed, 2026-08-26 hourly scan. Apache Tomcat disclosed a cluster of advisories all fixed by the same patch train (11.0.25, 10.1.58, 9.0.121). These are durable because several are reusable authorization / authentication boundary patterns, exactly the class of bug a red-team or bug-hunter actively looks for in servlet containers, and because two of them are chained "incomplete fix" items that chain a long version saga.

Affected lines are broadly 11.0.0-M1/10.1.0-M1/9.0.0-M1 through the last-but-one release of each line; EOL lines (8.5.x, 7.0.x) are explicitly affected on most items. Upgrade to 11.0.25 / 10.1.58 / 9.0.121 to clear the whole cluster.

What changed

  • GHSA-gcx9-497g-6cp6 / CVE-2026-65182, security-constraint bypass via constraint ordering. An improper access-control / incorrect-authorization flaw lets a security constraint be bypassed when a constraint for a longer path is specified before a more restrictive constraint for a shorter sub-path. Order-dependent constraint resolution is a classic, reusable bypass heuristic.
  • GHSA-5q6q-ffrq-6xfc / CVE-2026-68569, improper authentication against DataSourceRealm. In some circumstances (e.g. CLIENT-CERT, SPNEGO) a user is authenticated even when the user does not exist in the DataSourceRealm. An authentication path that succeeds without a realm principal is a high-signal finding.
  • GHSA-h3x4-894j-xpx5 / CVE-2026-68525, FORM-auth constraint bypass. The FORM authentication process allows bypassing a security constraint that grants a user POST but not GET on a resource. Method-scoped constraint bypass.
  • GHSA-w3xg-786f-g788 / CVE-2026-66422, security-role-ref used as a role alias in the Realm. Improper authorization caused by security-role-ref definitions being incorrectly used as role aliases inside the Realm, in addition to their correct use with Request.isUserInRole(). Role-name aliasing leaking into the Realm is a reusable authorization-testing pattern.
  • GHSA-9xv2-5v5q-p794 / CVE-2026-65905, DIGEST authenticator capture-replay. Authentication bypass by capture-replay in the DIGEST authenticator: before windowSize requests have been made, a client that sends a DIGEST request with a nonceCount on the upper boundary of the replay window makes that request replayable once while the nonceCount remains within the window.
  • GHSA-wrvx-pxxf-g8fg / CVE-2026-73180, WebSocket session outlives the HTTP session. Insufficient session expiration: if the authenticated HTTP session ID is changed after a WebSocket connection has been established under that session, the WebSocket session is not closed as required by the Jakarta WebSocket spec when the HTTP session ends. A durable live channel that escapes session teardown.
  • GHSA-h3mr-2w3q-jcv9 / CVE-2026-65183, TOCTOU on Unix domain socket creation. A time-of-check/time-of-use race when creating Unix domain sockets allows an unauthorised local user to access the socket. Local, not remote.
  • GHSA-g8qj-vp23-742m / CVE-2026-65927, off-by-one in rewrite [N] flag. Off-by-one on the [N] flag of the rewrite valves causes rewrite processing to restart at the second rule rather than the first rule. Rewrite-rule re-entry differential.
  • GHSA-82jr-6mfr-9vq5 / CVE-2026-68763, HTTP/2 backlog allocation leak. Uncontrolled resource consumption via an allocation leak in HTTP/2 backlog tracking when a stream is reset.
  • GHSA-f525-44xv-f2qj / CVE-2026-65637, incomplete fix for CVE-2026-32990. Improper input validation, an incomplete fix for CVE-2026-32990, which itself was an incomplete fix for CVE-2025-66614. This is a chained incomplete-fix saga across three releases.

Operator triage

  1. Version fingerprint first. Tomcat version is trivially fingerprintable (server headers, error pages, / defaults, and JSESSIONID/cookie shape). Anything below 11.0.25 / 10.1.58 / 9.0.121 is in range for the whole cluster; EOL lines are in range for most items.
  2. Prioritize by blast radius and reach.
  3. Remote, unauthenticated / low-auth, high-impact: the security-constraint ordering bypass (65182), the DataSourceRealm improper authentication (68569), the FORM POST/GET method bypass (68525), and the security-role-ref Realm aliasing (66422). These are the ones that can be reached over the network against a running web app.
  4. Stateful / channel: the DIGEST capture-replay (65905) and the WebSocket-escapes-session (73180) require understanding the deployed auth scheme and whether WebSockets are in use.
  5. Local / availability: the Unix-socket TOCTOU (65183) is a local, post-adjacency primitive; the HTTP/2 backlog leak (68763) and the rewrite off-by-one (65927) are availability/behaviour differentials.
  6. The incomplete-fix saga is the reporting hook. 65637 -> 32990 -> 2025-66614 is a three-deep incomplete-fix chain; when you confirm one, the others on the same line are likely co-present and belong in the same report.

Replayable validation boundaries

Validate on an authorized lab Tomcat (a disposable catalina with a minimal webapp, a Realm you control, and a security-role-ref-annotated EJB/servlet), never against production. Use synthetic users and canary routes only; do not read real session data, real realm principals, or exfiltrate live credentials.

Constraint-ordering bypass (65182)

  • Define two constraints where the longer path is declared before the more restrictive shorter sub-path, and a route protected only by the shorter, more restrictive constraint.
  • Request the shorter, protected sub-path. The vulnerable result is 200 where the shorter constraint should have forced 401/403. Record the exact web.xml constraint order, the request URI, and the status on both the affected and the patched build.

DataSourceRealm improper authentication (68569)

  • Configure CLIENT-CERT or SPNEGO with a DataSourceRealm and a principal that does not exist in the realm table.
  • Present a synthetic certificate / SPNEGO token mapping to that absent principal. The vulnerable result is successful authentication for a user that has no realm row. Record the authentication decision and the realm lookup on both builds. Use a self-signed test cert / fake Kerberos ticket; never capture a live token.

FORM POST/GET method bypass (68525)

  • Set a security constraint that grants a role POST but not GET on a resource.
  • As that role, issue a GET for the resource. The vulnerable result is 200 on GET; the secure result is 403. Record the constraint, the role, the method, and the status.

security-role-ref Realm aliasing (66422)

  • Give two logical roles the same name surface via security-role-ref and confirm via Request.isUserInRole() on a probe servlet whether the Realm honours the alias. The vulnerable result is a positive isUserInRole for a role the principal was not granted. Record the probe request and the boolean on both builds.

DIGEST capture-replay (65905)

  • Against a lab DIGEST-authenticated endpoint, drive the nonce counter to the upper boundary of the replay window and capture one valid request. Replay it once within the window. The vulnerable result is acceptance of the replayed request. Keep the nonce/windowSize values, the capture, and the replay status in the report; do not replay against production endpoints or harvest real nonces.

WebSocket-escapes-session (73180)

  • Open a WebSocket under an authenticated HTTP session, then change/invalidate the HTTP session ID. Check whether the WebSocket stays connected after the HTTP session ends. The vulnerable result is a still-open channel after session teardown. Use a synthetic session; do not read or retain real session state.

September 23 follow-up: the next patch train, WebSocket alternate-name bypass, HTTP/2 fix regression, realm first-wins, CRL-skip (9 GHSAs, fixed 11.0.26 / 10.1.60 / 9.0.122)

The same publication window shipped a second Tomcat train. Same audit doctrine applies; new shapes worth the hunt list:

  • GHSA-q4fc-3vv4-fh24 / CVE-2026-76183, WebSocket security-constraint bypass by alternate name. Security constraints for any WebSocket endpoint can be bypassed by reaching the endpoint under an alternate name/URL mapping. This is the canonical "guard covers one address shape of a resource" axis (Sling ContentDispositionFilter 94251 same day, Keycloak versioned account-route families, Dancer2 AutoPage lexical-vs-canonical) in the servlet container: enumerate every alias of a protected endpoint, the @ServerEndpoint path vs its deployment context vs case/normalization variants, and diff the auth verdict per spelling.
  • GHSA-6ff5-mwrj-376m / CVE-2026-86350, HTTP/2 request smuggling as a regression in the fix for CVE-2026-41293 (header mix-up, affected range is exactly the fixed range of the earlier CVE: 11.0.22-11.0.25, 10.1.55-10.1.59, 9.0.118-9.0.121). The fix-history rule (Directorist same week, Tomcat's own 65637→32990→2025-66614 chain above): when a parser CVE is patched, re-test the smuggling battery against the just-released build, the patched range is the vulnerable range of the regression.
  • GHSA-28v4-2v86-58cc / CVE-2026-77762, HTTP/2 trailer-field injection into another request (race). Cross-stream trailer bleed: trailers from one stream land in a concurrent request's header set. For any H2 front-end/back-end pair, test concurrent-stream trailer timing (TE-shaped and auth-relevant trailers) with canary headers; the diff is per-request header sets on the backend.
  • GHSA-xwrc-v28h-528j / CVE-2026-87022, WebSocket message smuggling under permessage-deflate via length-parameter inconsistency: the compressed-length vs uncompressed-length pair decides framing. If a proxy fronts the WebSocket and doesn't re-implement the extension's length accounting, the two views diverge, test with permessage-deflate enabled and a lab backend that echoes reassembled frames.
  • GHSA-gpfr-7w77-mp48 / CVE-2026-77756, HTTP/1.0 requests processed for Transfer-Encoding behind a reverse proxy (desync whose visible effect is another user's request failing: classic desync collateral).
  • GHSA-q9fp-9gfr-vj9g / CVE-2026-75973, Jakarta Authentication realm first-wins. With SimpleAuthConfigProvider as default across multiple webapps, the realm of the first webapp to authenticate serves all webapps: cross-app credential acceptance. Multi-context hosts: prove with two lab contexts + two realms and a credential from B accepted under A.
  • GHSA-c47j-g3rg-hrfq / CVE-2026-86248, CLIENT_CERT does not fail when soft-fail is disabled (cert auth succeeds in scenarios it must reject, sibling of the Aug DataSourceRealm item: negative certificate tests are the finding). GHSA-cf68-55f3-8gfw / CVE-2026-73581, OpenSSL/OpenSSL-FFM TLS implementations ignore CRLs when the cert uses a keystore: a revoked client cert still authenticates; test revocation against keystore-backed TLS, not just truststore paths.

Validation boundary unchanged: disposable catalina, lab proxies, synthetic certs/users; raw-byte canaries on lab backends only.

Same-window Tomcat Native triplet (fixed 2.0.16 / 1.3.9)

The train also carried three Tomcat Native (tcnative/OpenSSL shim) items: insecure TLS options on by default (ALLOW_CLIENT_RENEGOTIATION, NO_EXTENDED_MASTER_SECRET, IGNORE_UNEXPECTED_EOF, ALLOW_NO_DHE_KEX, GHSA-9p2m-jvmj-wh8q), a TLS-handshake buffer over-read crashing the JVM (GHSA-w68h-fc49-cmrg), and a race condition that downgrades client-certificate verification requirements in some configurations (GHSA-jhrw-x5gg-jjqw). Operator angles: (1) tcnative version fingerprinting (APR/OpenSSL banner, ALPN behavior) tells you a host may run renegotiation-allowed / EMS-disabled TLS even when the config looks hardened, probe the handshake itself, not the conf; (2) mTLS-dependent targets on affected tcnative: attempt client-auth flows without a client cert repeatedly under concurrency, a soft accept is the negative-cert test paying off, same doctrine as the CLIENT_CERT soft-fail item above.

October 20 follow-up: the next patch train, JNDI-realm no-password auth, HTTP/2 async object re-use mix-up, trailer/response bleed between keep-alive requests, APR UDS incomplete fix (fixed 11.0.27 / 10.1.61 / 9.0.123)

The October 20 train continues this page's doctrine, auth-decision completeness, cross-request bleed, and incomplete fixes:

  • GHSA-5q2g-877c-9cwh / CVE-2026-101296, JNDI realm authenticates without the correct password when configured with a non-GSSAPI SASL mechanism (11.0.0-M1-11.0.26, 10.1.0-M1-10.1.60, 9.0.0.M1-9.0.122, plus EOL 8.5/7.0 lines). A missing critical verification step in the SASL bind flow means any password (or none) passes for a valid username. Operator value: Tomcat JNDIRealm-backed admin apps on LDAP are common on appliances/internal consoles; the probe is a username-presence oracle, if Manager-style realms exist, a SASL-mechanism realm accepts blank/wrong credentials. Negative-credential testing (wrong password must 401) is the whole method, same doctrine as the CLIENT_CERT soft-fail family on this page. Fingerprint: JNDIRealm with saslProtocols/saslMechanism configured, check which mechanism from the outside via failed-bind timing/error deltas.
  • GHSA-w9r8-5j45-v8mg / CVE-2026-101356, HTTP/2 request/response mix-up between users via incorrect object recycling in async servlet processing (affected range 11.0.22-11.0.26 / 10.1.55-10.1.60 / 9.0.118-9.0.122, again exactly the recent-hardening band, the fix-history regression shape this page keeps logging). Async servlets + H2 = one user's response bytes land in another's stream. Cross-user bleed family with the Sept 77762 trailer race and 86350 H2 smuggling: concurrent canary battery over a single H2 connection against async-heavy routes, diff per-stream bodies.
  • GHSA-f6r2-3pj4-jmqq / CVE-2026-88041, trailer information from a previous request leaks into the subsequent request on the same keep-alive connection (incomplete cleanup, 11/10.1/9.0 wide bands). HTTP/1.1 sibling of the H2 trailer bleed: send Trailer:-shaped auth-relevant headers on request 1, request 2 on the same socket and diff backend-visible headers. Standing keep-alive bleed probe for any front-proxy→Tomcat pair.
  • GHSA-64hx-4gc9-f6v4 / CVE-2026-103119, buffer under-read on large non-blocking writes splits the response body across the connection boundary into the next request's response (11.0.0-M25-11.0.26). First-response content leaking into a second response = response-in-boundary bleed via async write; test with large bodies + slow-read client on lab.
  • GHSA-wv4g-r8pf-3wmw / CVE-2026-80353, Unix-domain-socket TOCTOU on the APR/Native connector: the fix for CVE-2026-65183 only covered the NIO connector (9.0.47-9.0.122, 9.x only). Fourth leg of this page's incomplete-fix saga: connector-family enumeration after any connector fix, NIO vs APR/Native vs virtual all implement the same primitive separately. Local shared-hosting recon: if a host runs Tomcat with APR, the UDS socket perms race applies.
  • GHSA-38jj-69cp-9wgc / CVE-2026-74048, OpenSSLLifecycleListener FIPS mode: activation failure logs an error but continues in non-FIPS JSSE mode. Fails-open-with-log class (ImageMagick zero-policy, CMCAuth EST, Stormshield on other pages): when a deployment claims FIPS, probe the handshake (cipher suites, curves) rather than trusting the posture; the security-relevant question is which provider actually served the listener.
  • GHSA-2hg3-hfj5-cq2f / CVE-2026-74049 (EAR) and GHSA-2w6h-6wr9-m5r8 / CVE-2026-93446 (TLS 1.3 incomplete cleanup, intermittent failures) tracked as low-signal on this train; EAR remains a code-pattern audit finding, not a remote probe.

Updated bands for the standing Tomcat fingerprint: target builds ≤ 11.0.26 / ≤ 10.1.60 / ≤ 9.0.122 are in one or more bleed/auth legs; the async-H2 leg's band (11.0.22+/10.1.55+/9.0.118+) means latest-but-one is often the vulnerable one.

November 20 train: TLS-PSK cluster join without peer identity, integrity-free EncryptInterceptor, dispatch-time role-ref bypass, and a fail-open auth status (7 GHSAs, fixed 11.0.29 / 10.1.62 / 9.0.124, note: 11.0.28 was never released)

Source: GitHub advisories published 2026-11-20T00:31Z. The same patch train doctrine (auth-decision completeness, cleanup on exception, incomplete fixes) continues, plus the first Tomcat cluster-transport legs this page has logged.

  • GHSA-j322-r8cv-7j54 / CVE-2026-133325, unauthenticated node joins a TLS 1.3 TLS-PSK-secured cluster. Key exchange without entity authentication: when cluster membership traffic is protected with TLS 1.3 and TLS-PSK, the PSK proves only "someone who knows the key negotiated a session," never which node, so any attacker holding or reaching the PSK ciphersuite path can join the cluster and send/receive cluster messages (session replication, member add/expire). The affected list is the newest band only: 11.0.29 / 10.1.62 / 9.0.124. Older builds are not in range, the vulnerability shipped in the release that was meant to be the hardening train, the same non-monotonic patch-band shape as the simplesamlphp v6.2.2/6.2.3 regression on the identity-provider authority page. Vendor interim guidance: switch the cluster channel to TLS 1.2 with the static/ephemeral-DH PSK variant named in the advisory (advisory text reads "PLDS-PSK", treat the exact ciphersuite string from the release note as authoritative). Operator rules: (1) cluster listeners are a distinct recon surface, Tomcat clustering opens membership/replication ports separate from the HTTP connector, enumerate them on any appliance/console where you already found a Tomcat; joining a cluster is a session-poisoning and cross-node disclosure primitive without ever touching an HTTP route. (2) PSK is a shared secret, not an identity: on any PSK-protected channel ask what authenticates the peer, not just the key, then test whether an out-of-band process can complete the handshake with the same PSK.
  • GHSA-mqvp-jwc5-xgv2 / CVE-2026-95517, EncryptInterceptor encrypts without integrity (11/10.1/9.0 wide bands plus EOL lines). The legacy cluster-traffic EncryptInterceptor is documented in the advisory as obfuscation/encryption without an integrity check value, plus cleartext transmission elements: an on-path attacker on the cluster network can tamper with or forge cluster messages that the receiver accepts as valid. The vendor fix pairs the upgrade with "switch to TLS-PSK", the very mechanism CVE-2026-133325 breaks on the newest builds. Read together, the two legs say: whatever Tomcat version you land on, the cluster transport has a broken binding in one direction (older builds: confidentiality theater, no MAC; newest builds with TLS 1.3 PSK: no peer identity). Rule: when a product's own recommended remediation for bug A is the mechanism of bug B, validate the cluster channel against both properties, tamper (flip bytes in a replication frame, expect rejection) and foreign-join (handshake from a host that should not be a member), rather than trusting the vendor's single-axis fix.
  • GHSA-r662-g8pq-xg6q / CVE-2026-106012, authorization depends on the dispatch target's security-role-ref (11/10.1/9.0 wide, plus EOL 8.5/7.0). During a request dispatch, a decision that depends on a security-role-ref provided by the dispatch target is evaluated incorrectly. Direct sibling of the August security-role-ref-as-realm-alias leg (CVE-2026-66422): the role-name resolution layer keeps producing authorization differentials. Probe: in any app using RequestDispatcher.forward()/include() into role-gated resources, run the {caller role, target role-ref, forward vs include} matrix against the expected isUserInRole() answer, the interesting cells are where the dispatch target's mapping changes the verdict.
  • GHSA-c9x9-5fwm-g9r7 / CVE-2026-121649, ExpiresFilter strips the authentication layer's Cache-Control. The filter removes cache-control fields set by the auth layer, so responses the application deliberately marked uncacheable become cacheable. Shared-cache poisoning family (this wiki's max-stale/Vary-wildcard cache matrix rows): with an ExpiresFilter-deployed app, request an authenticated page as user A, then re-request as an anonymous/other user or via the intermediate cache and diff bodies for cross-user material.
  • GHSA-4jfr-f6xv-2r6w / CVE-2026-116561, HTTP 200 instead of 500 when AuthException throws in secureResponse(). Improper cleanup on thrown exception: the auth failure surfaces as a success status code. Status-code fail-open: anything downstream that treats 200 as "authenticated" (probes, dashboards, front caches caching the page) is misled by an auth that actually aborted. Worth an explicit row in any Jakarta Authentication deployment's decision table: force a secureResponse() failure and confirm the status is not 200.
  • GHSA-hjgg-fgrg-v37h / CVE-2026-118028, Execution After Redirect in RedirectValve flags [F],[G],[R] (9.0.87+, 10.1.20+, 11.0.0-M18+). The redirect does not terminate the pipeline, code after the redirect still runs. EAR is a code-pattern audit finding (tracked class on this page), but on hosts using RedirectValve for auth gating, "redirected" does not mean "stopped".
  • GHSA-mp6m-982x-655j / CVE-2026-117517, incomplete fix for CVE-2026-25854 (11.0.19+, 10.1.53+, 9.0.116+, again the recent-hardening band as the vulnerable floor). Fifth leg of this page's incomplete-fix saga: keep the fix-range differential habit, when a CVE lists "the fix for X was incomplete", re-run X's probe on the version where X was patched, not just on current.
  • Tracked without promotion on this train: GHSA-r5qp-9m8q-mjrm/CVE-2026-116830 (HTTP/2 initial-connection resource leak DoS), GHSA-hgq9-76r2-672w/CVE-2026-118436 (CGI servlet allocation DoS), GHSA-v63r-6wjc-6qxc/CVE-2026-118233 (HTTP keep-alive allocation DoS). Availability-only, no new boundary.

Updated fingerprint note: target builds 11.0.29 / 10.1.62 / 9.0.124 exactly are the cluster-PSK join band, and builds in 11.0.19-27 / 10.1.53-61 / 9.0.116-123 are in the incomplete-fix and EncryptInterceptor bands. On any Tomcat with clustering enabled, ask which transport (EncryptInterceptor vs TLS-PSK vs plain) before assuming cluster traffic is trusted.

Reporting heuristics

  • Group the cluster as one version-train finding ("Tomcat < 11.0.25 / 10.1.58 / 9.0.121 cluster") and call out each CVE's distinct boundary (constraint ordering, realm auth, method scoping, role aliasing, replay, channel persistence, socket TOCTOU, rewrite re-entry, HTTP/2 leak).
  • Lead with the remote-reachable, high-impact authorization items (65182, 68569, 68525, 66422) and the incomplete-fix chain (65637 -> 32990 -> 2025-66614), which is the strongest escalation hook.
  • For each: record the exact web.xml/Realm/valve configuration, the request, the expected vs actual status/decision, and the version before/after.
  • Distinguish reachable-remotely from local (65183) and from availability (68763) so severity mapping is honest.

Safety

  • Authorized lab only. Run a disposable catalina with a minimal webapp and a Realm you own; never validate against a production container or a shared staging host.
  • Synthetic principals only. Use synthetic users, self-signed test certs, and fake Kerberos tickets; never capture, replay, or retain real session data, real realm principals, or live credentials.
  • No destructive state changes. Do not mutate a live realm, real users, or production web.xml; all constraint/realm changes happen on the lab copy.
  • Availability items last. The HTTP/2 leak and rewrite off-by-one are availability differentials; confirm them with bounded, low-volume traffic against the lab instance only.