CVE Professor
/
All CVEs
CVE-2026-142649

CVE-2026-142649 — Laravel/framework — CWE-697

MEDIUM CVSS 5.3 ⚡ EPSS 0.6% GitHub

## Summary 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. ## Impact 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. ## Patched Fixed in [#61146](https://github.com/laravel/framework/pull/61146) ## Reported by — Sergey Sannikov, GitHub @semx

## Summary 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. ## Impact 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. ## Patched Fixed in [#61146](https://github.com/laravel/framework/pull/61146) ## Reported by — Sergey Sannikov, GitHub @semx

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality None C:N
Integrity Low I:L
Availability None A:N
EPSS — Exploit Prediction Scoring System
0.6%
30-day probability
In the 51. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-142649
CVSS 5.3/10 · MEDIUM · 03.12.2026
CWE: CWE-697
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: ## Summary

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. Th…
Affected: laravel/framework

⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · no user interaction (UI:N) · low attack complexity (AC:L).

🌍 REAL WORLD IMPACT
Partial confidentiality disclosure (C:L); limited integrity modification (I:L).

🛡️ REMEDIATION
→ Apply vendor security update for laravel/framework.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

header="laravel_session"
CVSS Score
5.3 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-697
Affected Products (1)
laravel/framework
References & Advisories (4)
Related CVEs
5.9
CVE-2026-142650
Laravel's PostgreSQL Query Grammar does not escape embedded single quotes in JSON path attributes when compili
4.9
CVE-2026-142648
Laravel is a web application framework. Prior to 13.26.0 and 12.67.0, A temporary signed read URL for a privat
4.3
CVE-2026-143824
A vulnerability was determined in krayin laravel-crm up to 2.2.8. The affected element is an unknown function
5.6
CVE-2026-77303
go-witness and witness are Go modules for generating attestations. Prior to version 0.12.0, the cross-step art
8.9
CVE-2026-144591
PhpSpreadsheet through 5.12.0 contains a server-side request forgery vulnerability that allows attackers to re
8.5
CVE-2026-120096
Missing authorization in the push publishing endpoints REST API (/api/v1/environments/endpoints) and in the pu
8.2
CVE-2026-144617
Traccar 6.13.0 before 6.18.0 contains a denial of service vulnerability that allows remote attackers knowing a