Laravel 13.43.0: unlabelled security fixes and validation changes
A routine-looking Laravel release carries several security-relevant fixes and validation behaviour changes that need both patching and regression testing.
Automated engineering analysis by the Khalid Aboubakr Engineering Desk, from the primary sources listed below. Not reviewed by a person before publication. About the desk
Bottom line
Laravel 13.43.0 is a fixed release for several security-relevant bugs, including a signed-URL expiry bypass, an Eloquent mass-assignment guard bypass, a file-validation bypass and XSS. The notes carry no advisory label, CVE or affected version ranges. Laravel 13.x teams should upgrade promptly with Horizon at 5.47.0 or later, and regression-test validation first because exists/unique comparison and Predis retry behaviour also change.
What happened
The Laravel project published framework v13.43.0 on 17 November. The notes do not label it as a security release, but the change list includes:
- A fix for a temporary signed URL expiration bypass via numeric query-fragment parameter smuggling.
- A fix for an Eloquent mass-assignment guard bypass caused by a mutator attribute-name normalisation mismatch.
- A fix for a file validation bypass involving empty input field collisions.
- A fix for the
not_regexrule passing when the pattern match fails. - A fix for XSS in component attributes.
- A denial-of-service fix that bounds
$refchain depth inIlluminate\JsonSchema\Deserializer.
The release also marks laravel/horizon below 5.47.0 as conflicting, changes the database presence verifier to compare integers and booleans as strings, retries idempotent Predis commands after a lost connection, and ignores extension-owned tables when dropping all tables on PostgreSQL. The 13.x branch merged the v12.72.0 tag, so the release combines 12.x backports with 13.x changes.
Why it matters
The affected code paths are authorisation and input-validation primitives that applications tend to rely on without revisiting:
- Signed URLs are commonly used for verification links, unsubscribe links and temporary downloads. An expiry bypass turns a time-limited link into a longer-lived one. The same notes include a separate fix preventing array
expiresparameters from bypassing signed URL expiration. - Mass-assignment guards are the main barrier between request payloads and sensitive model attributes such as roles or ownership columns. The bypass is tied to how mutator attribute names are normalised.
- File validation and
not_regexare rules teams use to reject unwanted uploads and disallowed input. A rule that passes when it should fail is a silent failure: nothing errors, and bad data gets through. - XSS in component attributes affects Blade rendering. The notes also list a fix for XSS in the debug page's "copy request URL" and new validation of dynamic component, slot and attribute names.
What is easy to miss is the other direction: several fixes deliberately change behaviour. Fluent database rule where() values are now compared literally, the presence verifier compares integers and booleans as strings, and exists/unique rules now keep every where on the same column. Validation that passed before the upgrade may fail after it, and vice versa.
Engineering assessment
Our assessment: this should be treated as a security release even though it is not labelled as one. An expiry bypass, a mass-assignment guard bypass and a validation bypass in one release is significant for any internet-facing Laravel 13.x application, and the evidence shows these fixes only as part of 13.43.0.
Real exposure depends on usage, and the notes are too brief to rank the issues precisely. The mass-assignment fix deserves the most attention, but the notes do not describe which guard configuration is affected. Any model that defines mutators and receives request input through mass assignment should be treated as potentially in scope, whether it uses $fillable or $guarded. The signed-URL fixes matter most where signed links grant access to data or trigger state changes. The not_regex fix matters wherever that rule is a security control rather than a formatting check.
The compatibility risk is real and the notes understate it. Comparing integers and booleans as strings in exists/unique checks, and comparing where() values literally, can change results where code passed booleans, integers or numeric strings and relied on loose matching. Validation suites that only test the happy path will not catch this. The Predis change is lower risk but still a behaviour change: idempotent commands are now retried after a lost connection, and the notes also add del to the retryable commands. Retries can mask flaky Redis connectivity and lengthen requests under failure. On PostgreSQL, dropping all tables now skips extension-owned tables, which is a correction but may change how test databases are reset.
The Horizon conflict is an operational trap: Composer will not resolve this framework version alongside Horizon below 5.47.0, so Horizon must move in the same change.
For 12.x users the picture is unclear. Many fixes are tagged [12.x], and v12.72.0 was merged into 13.x, but the evidence does not show what v12.72.0 contains. Several [12.x] fixes, including the mass-assignment and component-attribute XSS fixes, appear after that merge in the list, so it should not be assumed that v12.72.0 carries them.
Is this you?
- You run
laravel/framework13.x below 13.43.0. Affected ranges per fix are not stated, so treat earlier 13.x releases as potentially affected (composer show laravel/framework). - You use temporary signed URLs for access to data or state-changing actions.
- You have Eloquent models with mutators that receive request input through mass assignment, with either
$fillableor$guarded. - You rely on file,
not_regexor exists/unique validation rules for security decisions. - You render Blade components with attributes derived from user input.
- You deserialise untrusted JSON Schema with
Illuminate\JsonSchema\Deserializer. - You run
laravel/horizonbelow 5.47.0, or use Predis as your Redis client. - You are on Laravel 12.x and need to know whether these fixes reach your branch.
What to do
- Inventory now. Run
composer show laravel/framework laravel/horizonacross every service, including queue workers and scheduler hosts. - Upgrade 13.x applications to 13.43.0 this cycle, with Horizon at 5.47.0 or later:
composer update laravel/framework laravel/horizon --with-dependencies. - Regression-test validation before deploying. Focus on exists and unique rules that receive booleans or integers, fluent rules with
where()constraints, multiplewhereclauses on the same column,not_regex, file-upload validation, and wildcard or nestedsometimesrules. - Test signed-URL flows end to end: confirm expired links are rejected and legitimate links still verify behind your proxy or load balancer.
- Exercise Redis failure paths if you use Predis, and confirm retries do not hide connection problems from monitoring.
- Check PostgreSQL test-database resets if you use extensions that own tables.
- Laravel 12.x teams: check the 12.x release notes for the specific
[12.x]fixes; do not treatv12.72.0as the fixed version without confirming. - Not vendor guidance: review every model with mutators that accepts request input through mass assignment, and audit for
$guarded = []or other broad guards as general hygiene. Review where signed URLs grant access to sensitive data and keep their lifetimes short.
What we don't know yet
- Which earlier versions are affected by each fix; the notes give no affected ranges.
- Which mass-assignment guard configurations are affected by the mutator normalisation bypass.
- Whether CVE or GitHub advisory identifiers and severity ratings exist for these fixes; none appear in the evidence.
- Whether any of these issues have been exploited; the evidence says nothing.
- Which 12.x release carries the
[12.x]fixes. - The full migration impact of the stricter exists/unique and
where()comparisons; the notes do not describe it. - The feed version of the notes is truncated, so it cannot be used to confirm the full list.
The desk will check for published advisories and the corresponding 12.x release notes, and will update this analysis if they change the recommendation. More analysis is on the Engineering Desk news page.
Sources
Latest engineering analysis
6 min read
zod-msg-tools 0.1.4: npm malware hides an auth-bypassing SQL backdoor
A fake Zod helper on npm patches Node's HTTP server at runtime and adds a hidden endpoint that sits in front of your router and auth, runs queries on your database pools and, where the psql client is present, can reach OS command execution on Postgres deployments.
7 min read
Filament Curator picker search leaked media metadata across tenants
Filament Curator's picker search skipped the tenant scope, and an ungrouped orWhere chain also escaped the directory limit; upgrading is the only fix.
7 min read
array-flatten-utils on npm: malware loader that fires only in CI builds
A lookalike of array-flatten runs a native-addon loader at require() time, only in CI and build environments, where deploy tokens are stored.