Home / laravel / framework / CVE-2026-142649
CVE-2026-142649: is it exploited, and which versions of laravel framework are affected and fixed?
CVE-2026-142649 is an incorrect comparison vulnerability in laravel framework. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: laravel/framework before 12.67.0 and laravel/framework from 13.0.0 before 13.26.0 (GitHub advisory GHSA-h2hg-mfj4-rg7q). Fixed in 12.67.0 and 13.26.0 (GitHub advisory GHSA-h2hg-mfj4-rg7q). Severity: Medium (5.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record December 3, 2026, 16:23 UTC and NVD December 3, 2026, 18:13 UTC.
What is CVE-2026-142649?
Laravel: `in` / `Rule::in` validation rule bypass via loose comparison
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.
From the CVE record by GitHub_M, last updated December 3, 2026, 16:09 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| laravel | framework | < 12.67.0 >= 13.0.0, < 13.26.0 |
As the CVE record by GitHub_M states it, last updated December 3, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | laravel/framework | < 12.67.0 | 12.67.0 | GHSA-h2hg-mfj4-rg7q |
| Packagist | laravel/framework | >= 13.0.0, < 13.26.0 | 13.26.0 | GHSA-h2hg-mfj4-rg7q |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 3, 2026. Summary: Laravel: `in` / `Rule::in` validation rule bypass via loose comparison.
How severe is CVE-2026-142649?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-142649 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, December 3, 2026)
- EPSS
- 0.46% probability of exploitation activity in the next 30 days, percentile 41.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-697 Incorrect Comparison
Where are the vendor advisories and references?
- https://github.com/laravel/framework/security/advisories/GHSA-h2hg-mfj4-rg7q x_refsource_CONFIRM
- https://github.com/laravel/framework/pull/61146 x_refsource_MISC
- https://github.com/laravel/framework/commit/0db83d4177675d9290bee91f33f90b2b5828e56e x_refsource_MISC
- https://github.com/laravel/framework/releases/tag/v12.67.0 x_refsource_MISC
- https://github.com/laravel/framework/releases/tag/v13.26.0 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 2, 2026
- Published
- December 2, 2026, 23:05 UTC
- CVE record updated
- December 3, 2026, 16:09 UTC by GitHub_M
- NVD
- Received, last modified December 3, 2026, 17:18 UTC
- Last checked
- CVE list December 3, 2026, 16:23 UTC; NVD December 3, 2026, 18:13 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect framework?
- Dec 2, 2026CVE-2026-142650 laravel framework: SQL injection
- Dec 2, 2026CVE-2026-142648 laravel framework: incorrect authorization
- Dec 2, 2026CVE-2026-142647 laravel framework: session does not expire
- Dec 2, 2026CVE-2026-142645 laravel framework: session does not expire
- Dec 2, 2026CVE-2026-142644 laravel framework: regular expression denial of service (ReDoS)
- Dec 2, 2026CVE-2026-142643 laravel framework: type confusion
- Dec 2, 2026CVE-2026-142642 laravel framework: improper Neutralization of Script in Attributes in a Web Page
- Dec 2, 2026CVE-2026-142641 laravel framework: improper Handling of Extra Parameters
Questions about CVE-2026-142649
Is CVE-2026-142649 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.46% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of laravel framework are affected by CVE-2026-142649?
laravel/framework before 12.67.0 and laravel/framework from 13.0.0 before 13.26.0, per the GitHub advisory GHSA-h2hg-mfj4-rg7q. The tables above give every range the sources list.
Which version fixes CVE-2026-142649?
12.67.0 and 13.26.0, per the GitHub advisory GHSA-h2hg-mfj4-rg7q. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-142649?
Medium (5.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-142649?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.