CVE-2026-85491: CWE-1023 Incomplete Comparison with Missing Factors
Catalyst::Seal versions before 0.03 for Perl allow one request to disable a path or route a later one past an authorization check via a dispatch memo keyed on the request path alone. Catalyst::Seal replaces the dispatcher's prepare_action with a version that memoises how a path resolved: which dispatch type matched, at which level, and what was left over as arguments. The key is the request path and nothing else. Action roles that match on the method, content type, scheme or query make that resolution depend on state the key does not carry, so the memo answers for a request it was not built from. A path that resolves to no action is memoised as well, and replaying that entry returns without consulting any dispatch type, so no action is set and the request fails. A GET of a path whose action is declared POST-only therefore disables that path for every later request, the correct POST included. An entry that did resolve replays the level the earlier descent reached. Where a POST-only action sits below a shallower action on the same path, a GET memoises the shallow route, and a later POST is dispatched there with an auto() guarding the deeper controller never running. The memo is cleared only when an action is registered, which happens at setup, so an entry lasts for the life of the process, and its cap of 2048 entries bounds how many paths one caller can disable. In the configuration measured, the misroute lands on the less privileged action, so it is an authorization check not running rather than a privilege gain.
AI Analysis
Technical Summary
Catalyst::Seal versions prior to 0.03 implement a dispatch memo keyed solely on the request path, omitting other request attributes such as HTTP method, content type, scheme, or query parameters. This incomplete comparison leads to memoized dispatch resolutions that do not accurately reflect the current request's context. For example, a GET request to a POST-only path memoizes a no-action result, disabling that path for subsequent requests including legitimate POSTs. Similarly, a GET request may memoize a shallower route, causing a later POST request to be dispatched incorrectly to a less privileged action guarded by an auto() method, preventing the intended deeper controller from running. The memo cache is cleared only when actions are registered at setup, so entries persist for the process lifetime, with a maximum of 2048 entries. This results in authorization checks being skipped rather than privilege escalation, due to requests being routed to less privileged actions.
Potential Impact
The vulnerability allows certain requests to disable or misroute subsequent requests by exploiting the dispatch memoization keyed only on the request path. This causes authorization checks to be bypassed because requests are handled by less privileged actions or no action at all. The impact is an authorization bypass rather than privilege escalation. The memo cache persists for the life of the process, affecting multiple requests and potentially multiple users until the process restarts or actions are re-registered.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider avoiding Catalyst::Seal versions before 0.03 or implement additional request validation and authorization checks outside of the dispatch memoization mechanism. Restarting the application process clears the memo cache but does not prevent the issue from recurring. Monitor vendor channels for an official patch or update.
CVE-2026-85491: CWE-1023 Incomplete Comparison with Missing Factors
Description
Catalyst::Seal versions before 0.03 for Perl allow one request to disable a path or route a later one past an authorization check via a dispatch memo keyed on the request path alone. Catalyst::Seal replaces the dispatcher's prepare_action with a version that memoises how a path resolved: which dispatch type matched, at which level, and what was left over as arguments. The key is the request path and nothing else. Action roles that match on the method, content type, scheme or query make that resolution depend on state the key does not carry, so the memo answers for a request it was not built from. A path that resolves to no action is memoised as well, and replaying that entry returns without consulting any dispatch type, so no action is set and the request fails. A GET of a path whose action is declared POST-only therefore disables that path for every later request, the correct POST included. An entry that did resolve replays the level the earlier descent reached. Where a POST-only action sits below a shallower action on the same path, a GET memoises the shallow route, and a later POST is dispatched there with an auto() guarding the deeper controller never running. The memo is cleared only when an action is registered, which happens at setup, so an entry lasts for the life of the process, and its cap of 2048 entries bounds how many paths one caller can disable. In the configuration measured, the misroute lands on the less privileged action, so it is an authorization check not running rather than a privilege gain.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Catalyst::Seal versions prior to 0.03 implement a dispatch memo keyed solely on the request path, omitting other request attributes such as HTTP method, content type, scheme, or query parameters. This incomplete comparison leads to memoized dispatch resolutions that do not accurately reflect the current request's context. For example, a GET request to a POST-only path memoizes a no-action result, disabling that path for subsequent requests including legitimate POSTs. Similarly, a GET request may memoize a shallower route, causing a later POST request to be dispatched incorrectly to a less privileged action guarded by an auto() method, preventing the intended deeper controller from running. The memo cache is cleared only when actions are registered at setup, so entries persist for the process lifetime, with a maximum of 2048 entries. This results in authorization checks being skipped rather than privilege escalation, due to requests being routed to less privileged actions.
Potential Impact
The vulnerability allows certain requests to disable or misroute subsequent requests by exploiting the dispatch memoization keyed only on the request path. This causes authorization checks to be bypassed because requests are handled by less privileged actions or no action at all. The impact is an authorization bypass rather than privilege escalation. The memo cache persists for the life of the process, affecting multiple requests and potentially multiple users until the process restarts or actions are re-registered.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider avoiding Catalyst::Seal versions before 0.03 or implement additional request validation and authorization checks outside of the dispatch memoization mechanism. Restarting the application process clears the memo cache but does not prevent the issue from recurring. Monitor vendor channels for an official patch or update.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-09-03T21:41:23.076Z
- State
- PUBLISHED
Threat ID: 6ab59e26f7a7c54106e4ad51
Added to database: 09/24/2026, 22:03:18 UTC
Last enriched: 09/24/2026, 22:17:43 UTC
Last updated: 09/25/2026, 04:41:57 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.