CVE-2026-142624 is a medium-severity (CVSS 6.5) Improper Input Validation vulnerability in laravel/framework. A fix is available for laravel/framework — see the affected versions and patch details below.
Laravel: Nested sometimes validation rules skipped when value is __missing__
Real-World Exposure
laravel/framework🐘laravel/frameworkReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
Laravel is a web application framework. Prior to 13.43.0 and 12.72.0, When an attribute is nested or uses a wildcard (for example profile.age or items.*.quantity) and is validated with the sometimes rule, submitting the literal string missing as its value causes the attribute to be treated as absent. All of its rules are skipped, the request passes validation, and the unvalidated value is returned by validated(). Applications may then store or process input that did not satisfy the declared rules. Top-level attributes and nested attributes without sometimes are not affected. This issue is fixed in versions 13.43.0 and 12.72.0.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | laravel/framework | ≥ 13.0.0&&< 13.43.0 | 13.43.0composer require laravel/framework:^13.43.0 |
| 🐘Packagist | laravel/framework | all versions | 12.72.0composer require laravel/framework:^12.72.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for laravel/framework, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update laravel/framework to 13.43.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-142624 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2026-142624 in your dependencies?
Find it across Packagist, including transitive dependencies.