CVE-2026-142637
MediumCVSS 4.8Exploitation Probability (EPSS)
Low risk28th percentile - higher than 28% of all known CVEs
Summary
In Laravel before versions 13.43.0 and 12.73.0, when Rule::exists() or Rule::unique() is scoped with the fluent where() method, the condition is serialized into string format and parsed again. A scalar value of NULL, NOT_NULL, or one starting with ! could be evaluated as an IS NULL, IS NOT NULL, or not-equal predicate instead of a literal comparison.
Risk Assessment
If an attacker can influence a scope value (such as a tenant key), validation can accept records from other scopes, and for unique the scope can be widened.
Recommendation
Upgrade Laravel to version 13.43.0 or 12.73.0 and use independent authorization checks or closure-based where() conditions.
Other vulnerabilities in Laravel
See all- CVE-2026-114509Critical
In Laravel before 12.68.0 and 13.29.0, TokenGuard configured as a standard token-based API guard does not reject a crafted non-string credential. Under affected MySQL or MariaDB configurations, the authentication lookup can match an unintended existing user, allowing an unauthenticated attacker to bypass authentication and take over an account.
- CVE-2025-27515Critical
Laravel is a web application framework. When using wildcard validation to validate a given file or image field (`files.*`), a user-crafted malicious request could potentially bypass the validation rules. This vulnerability is fixed in 11.44.1 and 12.1.1.
- CVE-2026-142650Medium
In Laravel (versions prior to 13.24.0 and 12.67.0), the PostgreSQL Query Grammar does not escape embedded single quotes in JSON path attributes when compiling non-raw Query Builder APIs. A user-influenced JSON path/identifier segment can break out of the SQL string literal context, leading to SQL structure injection and WHERE-condition manipulation. The issue is fixed in versions 13.24.0 and 12.67.0.
- CVE-2026-142649Medium
In Laravel (versions prior to 12.67.0 and 13.26.0), the in validation rule (and Rule::in, and not_in) compares scalar input to the allowlist with a non-strict in_array(). PHP 8 compares numeric strings numerically, so values such as whitespace-padded, leading-zero, signed, scientific-notation forms, and embedded newlines can pass validation without literal matching. This may allow bypassing allowlists of numeric values, feature flags, status codes, or IDs. The issue is fixed in versions 12.67.0 and 13.26.0.
- CVE-2026-142648Medium
In Laravel (versions prior to 13.26.0 and 12.67.0), a temporary signed read URL for a private local-storage object can be replayed as a PUT upload to the same URL path. The route signature authenticates only the URL and query string, while the read/write mode is determined later from request input. This may allow overwriting files using a read-only temporary signed URL. The issue is fixed in versions 13.26.0 and 12.67.0.
- CVE-2026-142647Medium
In Laravel prior to versions 12.72.0 and 13.41.0, when an application passes attacker-influenced numeric-keyed parameters (e.g. a request's query array) to temporarySignedRoute() or signedRoute() and those parameters do not fill a route placeholder, Laravel appends their values to the query string without URL encoding. An attacker can add a second expires field to the signed URL, causing it to be treated as never expiring.
- CVE-2026-142645Medium
In Laravel prior to versions 12.72.0 and 13.41.0, when PHP's max_input_vars limit causes the expires query parameter to be dropped from the parsed query, signed URL validation can still verify the signature against the raw query string. signatureHasNotExpired() then treats the URL as non-expiring, so an expired temporary signed URL may be accepted.
- CVE-2026-142644Medium
In Laravel prior to versions 13.43.0 and 12.73.0, the decimal validation rule counts decimal places with a regular expression that backtracks quadratically on certain input. A very long run of digits followed by an exponent (e.g. ending in e5) passes the is_numeric() check and then forces excessive regex backtracking before the match fails.
- CVE-2026-142643Medium
In Laravel prior to versions 13.43.0 and 12.73.0, the exists and unique validation rules passed integer and boolean values from the request unchanged to the database query. On MySQL and MariaDB, comparing a string column with an integer casts the column to a number, so JSON input such as 0, false or [0] could satisfy a rule like required|exists:invites,code on a non-numeric string column without a valid value.
- CVE-2026-142642Medium
In Laravel before versions 13.43.0 and 12.73.0, Blade component attribute bags did not HTML-escape non-Htmlable object values (such as Stringable) passed to ComponentAttributeBag::merge() or prepends(). If an application places user-controlled Stringable values into component attributes, an attacker can break out of the attribute and inject arbitrary attributes, such as event handlers.
Original NVD description (English source)
Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, When Rule::exists() or Rule::unique() is scoped with the fluent where() method, the condition is serialized into the string rule format and parsed again. A scalar value of NULL, NOT_NULL, or one starting with ! could be evaluated as an IS NULL, IS NOT NULL, or not-equal predicate instead of a literal comparison. If an attacker can influence a scope value, such as a tenant key, and the application relies on the rule to verify ownership of a referenced record, the validation can accept records from other scopes. For unique, the scope can be widened. Applications that use independent authorization checks or closure-based where() conditions are not affected in the same way. This issue is fixed in versions 13.43.0 and 12.73.0.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

