CVE-2026-40498: Php Laravel Md5 App Key Auth Token

Authentication or access token derived from `config('app.key')` using MD5 (e.g. `md5(config('app.key') . 'suffix')`). MD5 is cryptographically weak and the construction is an unkeyed hash (not a true HMAC), producing a static, deterministic token that can be brute-forced or leaked via query strings, server logs, browser history and proxy logs. Use `hash_hmac

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0PHP
greprules fetch cve-2026-40498-php-laravel-md5-app-key-auth-token --engine opengrep

Description

Authentication or access token derived from `config('app.key')` using MD5 (e.g. `md5(config('app.key') . 'suffix')`). MD5 is cryptographically weak and the construction is an unkeyed hash (not a true HMAC), producing a static, deterministic token that can be brute-forced or leaked via query strings, server logs, browser history and proxy logs. Use `hash_hmac