Explore

Rule Explorer

Search the public rule index by CVE, GHSA, CWE, language, framework, author, or rule slug. Filter by language, framework, severity, confidence, license, and validation status.

Public rules
2917
Downloads
3.2M
Verified
2917
Authors
2
Search the rule indexUse CVE, GHSA, CWE, language, framework, package, or rule slug.
9 rules matched. Showing 9 loaded rules.
Publish rule
CVE-2026-55617: Custom Session Recreate Without Deletecve-2026-55617-custom-session-recreate-without-delete

Recreating a session token without explicitly deleting the previous session from the token store can result in insufficient session expiration. Orphaned session identifiers may remain fully privileged, allowing session hijacking. Ensure the old session is deleted (e.g., typically via `$TOKEN.del()`) before generating and assigning a new one.

by Provallyupdated 2026-06-23Apache-2.0
7420 direct742 via packs
downloads
70quality
CVE-2026-44394: Missing Token Expiry Propagationcve-2026-44394-missing-token-expiry-propagation

When rescoping or mapping a new session context from an existing token, the original token's expiration time is not explicitly preserved. Failing to propagate the `expires_at` property can allow an attacker to indefinitely extend session lifetimes by repeatedly rescoping tokens before their explicit expiration.

by Provallyupdated 2026-06-12Apache-2.0
1K0 direct1K via packs
downloads
74quality
CVE-2026-40939: Jetty Oidc Missing Logout On Expirycve-2026-40939-jetty-oidc-missing-logout-on-expiry

OIDC configurations do not enforce session invalidation on token expiration. This allows an authenticated session to persist indefinitely. Configure `logoutWhenIdTokenIsExpired(true)` on the `OpenIdConfiguration.Builder`.

by Provallyupdated 2026-06-23Apache-2.0
7390 direct739 via packs
downloads
70quality
CVE-2026-21622: Password Reset Token Without Expirationcve-2026-21622-password-reset-token-without-expiration

This function validates a password-reset / token record by comparing `$RESET.key` for plain equality without verifying the record's age or using a constant-time comparison. Reset tokens that never expire allow account takeover when an attacker obtains a previously issued (unused) reset email — e.g., from a leaked mailbox archive (CWE-613). Enforce an expirat

by Provallyupdated 2026-06-12Apache-2.0
1.2K0 direct1.2K via packs
downloads
80quality
CVE-2025-54592: Php Logout Missing Session Invalidationcve-2025-54592-php-logout-missing-session-invalidation

Logout handler does not regenerate or destroy the PHP session ID. Clearing application-level authentication state without rotating the session identifier leaves the session cookie valid after logout, enabling session hijacking and session-fixation attacks (CWE-613). Add a call to session_regenerate_id(true), session_destroy(), or an equivalent session-ID rot

by Provallyupdated 2026-06-12Apache-2.0
1.2K0 direct1.2K via packs
downloads
73quality
CVE-2025-25202: Ash Authentication Revoked Token Bypasscve-2025-25202-ash-authentication-revoked-token-bypass

The configured token revocation action for AshAuthentication lacks a `:boolean` return type or explicitly disallows missing inputs with `allow_nil?: false`. This flawed action configuration fails to process token input gracefully, allowing revoked tokens to evade revocation checks and continue authenticating users. To fix this, specify `:boolean` as the retu

by Provallyupdated 2026-06-12Apache-2.0
1K0 direct1K via packs
downloads
65quality
CVE-2025-24896: Client Side Logout Missing Cookie Clearingcve-2025-24896-client-side-logout-missing-cookie-clearing

A client-side logout/signout function was found that clears local storage or session storage but does not clear `document.cookie`. If the application relies on cookies for certain features or authentication (such as a separate dashboard token), failing to clear them during logout can allow subsequent users on shared devices to reuse the hijacked session. Ver

by Provallyupdated 2026-06-12Apache-2.0
1.2K0 direct1.2K via packs
downloads
81quality
CVE-2024-55603: Custom Session Handler Missing Expiration Checkcve-2024-55603-custom-session-handler-missing-expiration-check

A custom session handler implements the `read` method using database queries without checking the session's expiration time. PHP's internal garbage collection (`gc`) is only called probabilistically based on `session.gc_probability` and `session.gc_divisor`. Consequently, expired sessions remain in the data store for an unpredictable amount of time, allowing

by Provallyupdated 2026-06-12Apache-2.0
1K0 direct1K via packs
downloads
74quality
Headers Cookie Session No Maxagegitlab-sast-rules-lgpl-javascript-headers-rule-cookie-session-no-maxage

'Session middleware settings: `maxAge` not set. Use it to set expiration date for cookies.'

by GitLab Security Productsupdated 2026-06-03LGPL-3.0-only
1.2K0 direct1.2K via packs
downloads
86quality
All matching rules loaded.