Cross-Origin Auth Token Leakage Through Broadcasting JSONP Callback
### Summary
The Pusher and Reverb broadcasters answered the `/broadcasting/auth` endpoint with a JSONP response when a `callback` parameter was present. The endpoint also accepts GET requests without CSRF protection. A...
Fluent Rule::exists() and Rule::unique() where() values can be interpreted as reserved predicates instead of literal values
### Impact
When `Rule::exists()` or `Rule::unique()` is scoped with the fluent `where()` method, the condition is serialized into the string rule format and parsed...
Quadratic regex backtracking in the decimal validation rule can cause denial of service
### Impact
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 (for example, a...
`in` / `Rule::in` validation rule bypass via loose comparison
## 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...
Validation exists rule can be bypassed with integer or boolean input on MySQL/MariaDB
### Impact
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...
Nested sometimes validation rules skipped when value is __missing__
### Impact
When an attribute is nested or uses a wildcard (for example `profile.age` or `items.*.quantity`) and is validated with the `sometimes` rule, submitting the literal string `__missing__` as its value causes the...
Unbounded $ref chain resolution in Illuminate\JsonSchema\Deserializer allows denial of service
### Impact
`Illuminate\JsonSchema\Deserializer` resolved chained local `$ref` pointers recursively without limiting the depth of the chain. Applications that pass attacker-influenced JSON Schema...
XSS via unescaped Stringable values in Blade component attribute bag
### Impact
Blade component attribute bags did not HTML-escape non-`Htmlable` object values, such as `Illuminate\Support\Stringable`, passed to `ComponentAttributeBag::merge()` or `prepends()`. Applications that place...
File validation bypass via empty input field colliding with an upload in Request::all()
### Impact
In Laravel 13.x, `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, request...
Unescaped bound attributes on Blade dynamic components that resolve to class-based components
### Impact
Blade's `
` 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...
Storage Signed URL Mode Confusion
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.
###...
Denial of service in email validation via oversized Unicode domains
### Impact
Applications using the default Laravel 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...
SQL Injection in Laravel PostgreSQL Query Grammar
Laravel's 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 single-quoted SQL string...
IP Spoofing via Host Header in TrustProxies Middleware Forge/Vapor Auto-Detection
### Summary
On applications with no trusted proxies configured, Laravel could treat a request as coming through a trusted Forge or Vapor proxy based on a header the visitor controls. An attacker could use this...
Markdown secured encoding bypassed when Blade views are cached
### Impact
Applications that enable `Markdown::withSecuredEncoding()` to escape user-controlled data in Markdown mail and mail notifications may not get that protection when views have been precompiled with `php artisan...
Eloquent mass-assignment guard bypass via attribute-name normalization mismatch
### Impact
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,...
Sanctum guard can resolve the lowest-ID user when evaluated inside an eager-loaded Eloquent relation definition
### Impact
When an authenticated user is first resolved while Eloquent is initializing an eager-loaded relation, Eloquent's relation constraints are temporarily disabled. A lazy...
Temporary signed URL expiration bypass
### Impact
When PHP's `max_input_vars` limit causes the `expires` query parameter to be dropped from the parsed query, Laravel's signed URL validation can still verify the signature against the raw query string. `signatureHasNotExpired()` then treats...
Temporary signed URL expiration bypass via unencoded numeric-keyed route parameters
### Impact
When an application passes attacker-influenced, numeric-keyed parameters (for example a request's query array) to `temporarySignedRoute()` or `signedRoute()`, and those parameters do not fill a route...
Fixes advisories: GHSA-f3ph-5p6j-34xr, GHSA-cvfq-f547-rv2g, GHSA-v5ch-g375-82r6, GHSA-6rv8-qj5v-p8ch
[12.x] Fallback retrieving
expires
query string from
QUERY_STRING
header by
@crynobone
in
#62349
[12.x] Return each event's own expression and timezone from
schedule:list...
Task Output Injection - Concurrency Process
### Summary
If a concurrency task prints user-controlled text, an attacker can forge the framework's internal result message and achieve remote code execution in certain conditions
### Pre-reqs
Insecure code and insecure handling of user...
Fixes advisories: GHSA-63hm-g96r-2m2q
* [13.x] Fix Paginator::links() return type by @dhrupo in https://github.com/laravel/framework/pull/62226
* [13.x] Fix updating JSON paths with arrays and collections on MySQL and MariaDB by @xurshudyan in https://github.com/laravel/framework/pull/62225
*...
* [12.x] Cloud exceptions by @timacdonald in https://github.com/laravel/framework/pull/61934
* [12.x] Cloud exceptions improvements by @timacdonald in https://github.com/laravel/framework/pull/62186
* [13.x] Rebuild the phpredis client when a broken pipe surfaces as a warning by @aleedhillon in https://github.com/laravel/framework/pull/62111
* [13.x] Resolve view namespace hints like view locations by @fgilio in https://github.com/laravel/framework/pull/62005
* [13.x] feat(database): allow...
* [13.x] Allow float values in Unique `where` rule by @sertxudev in https://github.com/laravel/framework/pull/62059
* [13.x] Remove dead `until` higher order collection proxy by @xurshudyan in https://github.com/laravel/framework/pull/62057
* [13.x] Fix ofMany() alias inside closures by...
Unauthorized Data Destruction
A vulnerability in how relationship inclusion is processed on certain read endpoints. Under specific conditions, a request to a read-only endpoint can be crafted to trigger a destructive database operation on a related table, rather than simply retrieving...
Token-based API guard Auth Bypass
Laravel's built-in TokenGuard, **when configured with a standard token-based API guard**, may be bypassed to authenticate as an arbitrary existing user without knowledge of their valid API token.
**Under certain database configurations (MySQL/MariaDB)** an...
* [13.x] Fix race condition with jobs using both `onOneServer()` and `withoutOverlapping()` by @tanerkay in https://github.com/laravel/framework/pull/62007
* [13.x] Respect faked Sleep in limiter block() timeout by @grzegorczykp in https://github.com/laravel/framework/pull/62017
* [13.x] Improve...
* [12.x] Address query issues by @taylorotwell in https://github.com/laravel/framework/pull/61838
* [12.x] Backport EncodedParameter from #61610 by @mahdyaralipor in https://github.com/laravel/framework/pull/61871
* [12.x] Generate different cache file based on configured `$echoFormat` by...
* [12.x] Make the worker timed out exit code reachable by @kieranbrown in https://github.com/laravel/framework/pull/61623
* [12.x] Support named S3 credential providers and Cloud IAM disks by @kieranbrown in https://github.com/laravel/framework/pull/61757
* [12.x] Address query issues by...
* [13.x] Allow fake assertions to accept an array of properties by @jackbayliss in https://github.com/laravel/framework/pull/61770
* [13.x] Support percentages for queue:work --memory by @jackbayliss in https://github.com/laravel/framework/pull/61753
* [13.x] Let long-running scheduled commands...
* [12.x] Make the worker timed out exit code reachable by @kieranbrown in https://github.com/laravel/framework/pull/61623
* [12.x] Support named S3 credential providers and Cloud IAM disks by @kieranbrown in https://github.com/laravel/framework/pull/61757
* [13.x] Include duration in JobProcessed event by @jackbayliss in https://github.com/laravel/framework/pull/61672
* [13.x] Notify job when a timeout is going to occur by @jackbayliss in https://github.com/laravel/framework/pull/61651
* [13.x] Add --queue option to queue:flush by @jackbayliss in...
* [13.x] Drop restart_syscalls from pcntl_signal in Worker by @jackbayliss in https://github.com/laravel/framework/pull/61590
* Adjust when password hash is stored for authenticated sessions by @taylorotwell in https://github.com/laravel/framework/pull/61594
* [13.x] Ability to opt out of...
* [12.x] Default memoryExceededExitCode for Cloud by @jackbayliss in https://github.com/laravel/framework/pull/61432
* Wrap the closure return type in `withFreshQueryLog()` by @SanderMuller in https://github.com/laravel/framework/pull/61458
* Wrap the autocompleter callback return type in...
XSS in Debug Page Information
### Impact
When `APP_DEBUG=true`, attacker-controlled input is passed to a Tippy.js tooltip configured with `allowHTML: true`, enabling DOM-based XSS during mouse hover.
### Patches
[#61381](https://github.com/laravel/framework/pull/61381)
Affected packages:...
* [12.x] Default memoryExceededExitCode for Cloud by @jackbayliss in https://github.com/laravel/framework/pull/61432
* Wrap the closure return type in `withFreshQueryLog()` by @SanderMuller in https://github.com/laravel/framework/pull/61458
* Wrap the autocompleter callback return type in...
* [12.x] Ensure password hash matches stored cookie before authenticating the user by @crynobone in https://github.com/laravel/framework/pull/61386
* [12.x] Fix TypeError in userFromRecaller() when the recaller matches no user by @lazerg in https://github.com/laravel/framework/pull/61397
*...
* [13.x] Add connection and queue to WorkerStopping by @jackbayliss in https://github.com/laravel/framework/pull/61387
* [13.x] Add `insertOrIgnoreReturning()` to the Eloquent builder passthru by @xurshudyan in https://github.com/laravel/framework/pull/61393
* [13.x] Add `dropVectorIndex()` to...
Fixes advisories: GHSA-jh5r-qr3c-85q8
* [12.x] Disable html by default on Laravel exception page tooltip by @crynobone in https://github.com/laravel/framework/pull/61381
* [12.x] Ensure password hash matches stored cookie before authenticating the user by @crynobone in...