MEDIUM · CVSS 5.3 Published: 2026-12-03

CVE-2026-142649 — Technical Security Advisory & CVSS Profile

Laravel is a web application framework. Prior to 12.67.0 and 13.26.0, The in validation rule (and Rule::in, and not_in via the same code) compares the scalar input to the allowlist with a non-strict in_array(). PHP 8 then compares numeric strings numerically, so many values that are not literally in the list pass validation , including whitespace-padded, leading-zero, signed, and scientific-notation forms, and an embedded newline. The value returned by validated() / valid() is the raw, un-canonicalized input, so the attacker-controlled bytes flow through to the application even though the rule was supposed to constrain them to a fixed set. The array branch of the same method already compares as strings (array_diff), so this is an internal inconsistency, not intended behavior. Any allowlist of numeric values , feature flags (in:0,1), status codes, role/tenant/enum IDs stored as integers may be bypassed with an equivalent-but-not-identical representation. This issue is fixed in versions 12.67.0 and 13.26.0.

Technical Metadata

IdentifierCVE-2026-142649
Base Severity / ScoreMEDIUM (5.3 / 10.0)
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness ClassificationCWE-697
Archive CategoriesMEDIUM Advisories · 2026 Index

Operational Mitigation Guidance

Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.

Upstream References

Related Security Advisories

CVE-2026-142648 MEDIUM 4.9
CVE-2026-142650 MEDIUM 5.9
CVE-2026-142479 MEDIUM 4.7
CVE-2026-142485 MEDIUM 4.3
CVE-2026-142694 MEDIUM 6.1
CVE-2026-142698 MEDIUM 5.8
Recently updated entries: advisory/CVE-2025-3254 · advisory/CVE-2025-32434 · advisory/CVE-2025-32350