Laravel vulnerabilities
30 known CVE vulnerabilities in Laravel, translated and rated.
- 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.
- CVE-2026-142641Medium
In Laravel 13.x before versions 13.43.0 and 12.73.0, Request::all() let a text input with the same name as an uploaded file take precedence over the file. If an attacker submitted an empty value alongside the file, validation (including FormRequest) saw the empty value instead of the upload, skipping rules such as nullable, image, mimes and max.
- CVE-2026-142638Medium
In Laravel before versions 13.43.0 and 12.73.0, Blade's <x-dynamic-component> did not HTML-escape bound attributes (:attr="$value") when the target resolved to a class-based component. If user-controlled data was bound to an attribute that is not a constructor parameter and the component outputs {{ $attributes }}, the value could break out of the HTML attribute and lead to XSS.
- CVE-2026-142637Medium
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.
- CVE-2026-142636Medium
In Laravel before version 12.73.0, when an authenticated user is first resolved while Eloquent initializes an eager-loaded relation, relation constraints are temporarily disabled. A lazy key-constrained lookup made during that window (such as Sanctum's token owner lookup) runs without its key restriction, so the guard can return the lowest-ID user (often an administrator) instead of the token's owner.
- CVE-2026-142635Medium
In Laravel before versions 13.43.0 and 12.73.0, on applications with no trusted proxies configured, Laravel could treat a request as coming through a trusted Forge or Vapor proxy based on a visitor-controlled header. An attacker could fake their IP address and make an insecure request look like HTTPS.
- CVE-2026-142634Medium
In Laravel before versions 13.43.0 and 12.73.0, Eloquent's $guarded protection can be bypassed with an alternate spelling of a guarded attribute name (such as a hyphen or whitespace variant of is_admin). The guard check compared the raw key, while set-mutator resolution normalized it with Str::studly() or Str::camel().
- CVE-2026-142626Low
In Laravel prior to versions 13.43.0 and 12.73.0, applications using Markdown::withSecuredEncoding() to escape user-controlled data in Markdown mail may not get that protection when views are precompiled with php artisan view:cache or php artisan optimize. The cached view is reused, so the secured encoder never runs, allowing an attacker to inject Markdown links or remote images.
- CVE-2026-142625Medium
In Laravel before versions 12.72.0 and 13.43.0, applications using the default email validation rule on untrusted input can be exposed to excessive CPU and memory consumption when validating oversized email addresses with specially crafted non-ASCII domains. The attack triggers expensive Unicode normalization during native IDN conversion when the PHP intl extension is enabled.
- CVE-2026-142624Medium
In Laravel before versions 13.43.0 and 12.72.0, when an attribute is nested or uses a wildcard (e.g. 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 its rules are skipped, the request passes validation, and the unvalidated value is returned by validated().
- CVE-2026-142623Medium
In Laravel before versions 12.73.0 and 13.43.0, Illuminate\JsonSchema\Deserializer resolved chained local $ref pointers recursively without limiting the depth of the chain. Applications passing attacker-influenced JSON Schema data to JsonSchema::fromArray() or Deserializer::deserialize() could receive a crafted schema containing a long linear chain of $ref references.
- CVE-2026-142622Low
In Laravel prior to version 12.53.0, the Pusher and Reverb broadcasters answer the /broadcasting/auth endpoint with a JSONP response when a callback parameter is present. The endpoint also accepts GET requests without CSRF protection, so a malicious page could load the endpoint as a script and read a logged-in user's channel auth token.
- CVE-2026-142612High
In Laravel prior to versions 13.38.0 and 12.74.0, a specially crafted JSON request of ordinary size can cause excessive CPU and memory usage while being processed. An unauthenticated attacker can send a small number of such requests at once to exhaust all PHP workers and take the application offline.
- CVE-2026-142611Medium
In Laravel prior to versions 13.43.0 and 12.73.0, validation skips array elements whose key is an empty string. Validation rules attached to items.* are never applied to such elements, allowing validation bypass.
- CVE-2026-142610High
In Laravel prior to versions 12.74.0 and 13.44.1, the multiple_of validation rule and the gt, gte, lt and lte rules when comparing against another numeric field expand numeric input using arbitrary-precision arithmetic without bounding the exponent. A request with a very small or very large exponent (e.g. scientific notation) can cause excessive memory and CPU use and may exhaust PHP's memory limit.
- CVE-2026-128083Low
Prior to 12.71.0 and 13.40.0, Laravel's Concurrency::run process driver can treat a forged internal result message in child standard output as framework output. If an application route invokes Concurrency::run and a task writes attacker-controlled bytes at the start of the child's standard output forming a complete JSON document followed by gzip magic bytes, an attacker can forge the internal result message and achieve remote code execution.
- CVE-2026-114508Medium
In Laravel from 12.45.0 until 12.68.0 and 13.27.0, crafted relationship inclusion on a read-only endpoint can trigger a destructive database operation on a related table instead of retrieving data. A user with read access but no write permission can empty related-table data, causing irreversible data loss, denial of service, and loss of data integrity.
- CVE-2026-102279Low
In Laravel prior to versions 12.69.0 and 13.30.0, exception debug pages with APP_DEBUG=true pass attacker-controlled input to a Tippy.js tooltip configured with allowHTML=true, enabling DOM-based cross-site scripting when a user hovers over the tooltip.
- CVE-2026-48019High
Laravel before versions 12.60.0 and 13.10.0 has a CRLF injection vulnerability in email validation, which combined with Symfony Mailer and Symfony Mime handling of certain character sequences, may allow an unauthenticated attacker to interfere with outbound email processing. Patched in 12.60.0 and 13.10.0.
- CVE-2024-13919High
Laravel framework versions between 11.9.0 and 11.35.1 are susceptible to reflected cross-site scripting due to improper encoding of route parameters in the debug-mode error page. The vulnerability occurs when debug mode is enabled.
- CVE-2024-13918High
The Laravel framework versions between 11.9.0 and 11.35.1 are susceptible to reflected cross-site scripting due to improper encoding of request parameters in the debug-mode error page.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

