Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-85491 Overview
CVE-2026-85491 affects Catalyst::Seal versions before 0.03 for Perl. The module replaces the Catalyst dispatcher's prepare_action with a memoizing variant that caches path resolution using the request path as the sole key. Because the memo ignores HTTP method, content type, scheme, and query string, one request can poison the cache for subsequent requests to the same path. An attacker can disable routes entirely or redirect a later request past an authorization check guarded by an auto() method on a deeper controller. The flaw is classified under [CWE-706: Use of Incorrectly-Resolved Name or Reference].
Critical Impact
A single unauthenticated or low-privileged request can disable application routes for the lifetime of the process or cause later requests to bypass authorization checks on deeper controllers.
Affected Products
- Catalyst::Seal for Perl, versions prior to 0.03
- Perl Catalyst applications that load Catalyst::Seal::Dispatch
- Deployments relying on action roles matching on method, content type, scheme, or query parameters
Discovery Timeline
- 2026-09-24 - CVE-2026-85491 published to NVD
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-85491
Vulnerability Analysis
Catalyst::Seal overrides the dispatcher's prepare_action to memoize how a path resolves, storing which dispatch type matched, at which level, and what arguments remained. The cache key is the request path and nothing else. When action roles depend on HTTP method, content type, scheme, or query parameters, the memoized answer no longer reflects the current request's state. The cached resolution replays for requests the memo was never built from.
A path that resolves to no action is memoized too. Replaying such an entry returns without consulting any dispatch type, so no action is dispatched and the request fails. The memo is cleared only when an action is registered, which happens at application setup, so entries persist for the life of the process. A cap of 2048 entries bounds how many distinct paths one caller can poison.
Root Cause
The root cause is an incorrectly scoped cache key in Catalyst::Seal::Dispatch. The memoization layer treats the path as a stable identifier for resolution output, but Catalyst's resolution is a function of the full request context. The design conflates path-level routing with method-level and header-level dispatch decisions.
Attack Vector
An attacker issues a GET to a path whose action is declared POST-only. The dispatcher resolves to no action and the request fails, but the empty resolution is cached. Every subsequent request to that path, including the legitimate POST, replays the cached non-resolution and is denied. In a second scenario, a POST-only action sits beneath a shallower action on the same path. A GET memoizes the shallow route. A later POST is dispatched to the shallow route, and the auto() guard protecting the deeper controller never runs. The misroute lands on a less privileged action, so the impact is an authorization check that does not execute rather than a direct privilege gain.
The vulnerability mechanism is described in prose because no public proof-of-concept code is published. See the MetaCPAN Catalyst-Seal Source Code for the vulnerable prepare_action override.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-85491
Indicators of Compromise
- Repeated 404 or 405 responses on routes known to accept POST, following an earlier GET to the same path from the same or a different client.
- Access log patterns where a GET to a POST-only endpoint precedes a sudden drop in successful POST dispatches to that endpoint.
- Audit log gaps where an expected auto() authorization callback did not execute for a request that reached a controller action.
- Presence of Catalyst::Seal version 0.02 or earlier in the application's cpanfile, Makefile.PL, or installed module inventory.
Detection Strategies
- Inventory running Perl Catalyst applications and enumerate installed Catalyst::Seal versions through cpan -l or package manifests.
- Correlate web server access logs with application-level authorization logs to identify requests that bypassed expected auto() checks.
- Instrument the dispatcher to log cache hits versus misses and flag paths where cached resolution differs from a fresh resolution.
Monitoring Recommendations
- Alert on sustained increases in client errors for endpoints that previously had stable success rates.
- Monitor process uptime for Catalyst workers, because the cache persists until the process restarts and poisoned entries clear only on recycle.
- Track distinct path counts per worker and alert as they approach the 2048-entry cap, which signals cache-flooding behavior.
How to Mitigate CVE-2026-85491
Immediate Actions Required
- Upgrade Catalyst::Seal to version 0.03 or later across all production and staging environments.
- Restart all Catalyst worker processes after the upgrade to clear any poisoned memo entries from memory.
- Audit application code for action roles that match on method, content type, scheme, or query string, as these are the surfaces exposed by the bug.
- Review authorization controllers that rely on auto() guards to confirm no requests reached protected actions without the guard executing.
Patch Information
The maintainer released Catalyst::Seal version 0.03 to address the issue. Review the MetaCPAN Catalyst-Seal Change Log for the specific fix. Additional discussion is available in the OpenWall OSS-Security Update 2026-09-24 #8 and OpenWall OSS-Security Update 2026-09-24 #9 threads.
Workarounds
- Remove Catalyst::Seal from the application plugin list if an upgrade cannot be scheduled immediately, accepting the loss of its intended optimization.
- Schedule frequent worker process recycling to limit the lifetime of any poisoned cache entries.
- Place authorization checks at the action level rather than relying solely on auto() guards on parent controllers, so a misroute does not bypass the check.
# Upgrade Catalyst::Seal using cpanm
cpanm Catalyst::Seal@0.03
# Verify installed version
perl -MCatalyst::Seal -e 'print $Catalyst::Seal::VERSION, "\n"'
# Restart Catalyst workers (example for a systemd-managed app)
systemctl restart my-catalyst-app.service
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

