# GHSA-F3PH-5P6J-34XR: Nested sometimes validation rules skipped when value is missing

- Database: GitHub
- Severity: CVSS 6.5 (Medium)
- Published: 2026-11-18
- Modified: 2026-12-02

## Tracked as

- [CVE-2026-142624](https://cve.now/CVE-2026-142624.md): Laravel: Nested sometimes validation rules skipped when value is missing

## Affected versions

- laravel/framework (Packagist): fixed in 13.43.0
- laravel/framework (Packagist): fixed in 12.72.0

## Description

### Impact

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.

### Patches

The issue is fixed in the 12.x branch & 13.x branch, released in v12.72.0 and v13.43.0.

## References

- https://github.com/laravel/framework/security/advisories/GHSA-f3ph-5p6j-34xr

Page: https://cve.now/GHSA-F3PH-5P6J-34XR

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
