CVE-2025-27515: Laravel Validator Static Asterisk Placeholder Cve 2025 27515

Laravel Validator uses the static, predictable wildcard placeholder literal '__asterisk__' inside a str_replace() call. This is the vulnerable form patched by CVE-2025-27515: an attacker-supplied request key named literally "__asterisk__" collides with the internal placeholder after parseData() encodes real "*" keys, allowing wildcard validation rules (files

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0PHP
greprules fetch cve-2025-27515-laravel-validator-static-asterisk-placeholder-cve-2025-27515 --engine opengrep

Description

Laravel Validator uses the static, predictable wildcard placeholder literal '__asterisk__' inside a str_replace() call. This is the vulnerable form patched by CVE-2025-27515: an attacker-supplied request key named literally "__asterisk__" collides with the internal placeholder after parseData() encodes real "*" keys, allowing wildcard validation rules (files