Skip to content

Update laravel/framework and Symfony packages with security advisories - #395

Closed
A-Baer wants to merge 3 commits into
ploi:mainfrom
A-Baer:chore/security-dependency-updates
Closed

A-Baer wants to merge 3 commits into
ploi:mainfrom
A-Baer:chore/security-dependency-updates

Conversation

@A-Baer

@A-Baer A-Baer commented Nov 16, 2026

Copy link
Copy Markdown

I ran LaraBeacon on this repository. It is a free, LGPL-licensed pre-production check for Laravel 12 and 13 that looks for performance, security and reliability issues and runs locally as a dev dependency, next to the composer audit checks you already do. No account, license key or paid tier is needed, and your code never leaves the project. The fixes below came from that run.

If you'd rather not add a new dev dependency, I'm happy to drop the first commit. The fixes don't depend on it.

Summary

  • Security updates (patch releases within the existing constraints, composer.lock only), clearing all 17 advisories that composer audit reports on main:
    • laravel/framework v12.70.2 → v12.72.0 (task output injection in the Concurrency process driver, low)
    • symfony/http-foundation, http-kernel, routing v7.4.22 → v7.4.23 (trusted proxy private_ranges bypass, client-chosen host in generated URLs, path-rule bypass, HEAD requests bypassing methods access rules)
    • symfony/serializer v8.1.10 → v8.1.11 (data URI / UploadedFile handling that can point at local server files)
    • symfony/html-sanitizer v8.1.10 → v8.1.11 (link/media host allow-list and srcset bypasses)
    • symfony/http-client v6.4.49 → v6.4.50, symfony/filesystem v8.1.9 → v8.1.11, symfony/yaml v8.1.10 → v8.1.11
  • Authenticate::redirectTo() now returns null explicitly for JSON requests instead of falling off the end of the method. Behaviour is unchanged; it just matches the documented string|null return type. No risk.
  • LaraBeacon added to require-dev (baer-software/larabeacon ^3.4) in its own first commit, so it can be run with php artisan larabeacon.

Validation

  • composer audit: 17 advisories in 9 packages on main, none on this branch. composer validate passes (only the existing warning about the unbound laravel/fortify constraint).
  • LaraBeacon re-run: the vulnerable-dependency and missing-return checks now pass.
  • ./vendor/bin/pest (PHP 8.5, without npm run build): 1032 passed on this branch. The 119 failures are the same on unchanged main and come from the missing Vite manifest, since I didn't build the frontend locally. CI builds it before running the tests.
  • The fix commits also apply cleanly to main without the LaraBeacon commit.

Things LaraBeacon reported that I deliberately left alone:

  • Filament\Forms\Components\Placeholder is deprecated in Filament 5 (used in Widget, ItemResource and a few other places). Moving to TextEntry changes the admin UI, so it's better done by someone who can check those screens.
  • The final return redirect()->route('home'); in LoginController::handleProviderCallback() is unreachable, because $user is always set by that point. Harmless, and there are no SSO callback tests to cover a refactor.
  • $fillable foreign keys on Changelog, Comment and Item: review signal only, not a confirmed issue.
  • The remaining Larastan-style type findings are mostly untyped relations and Filament's Model|int|string record type rather than bugs.

@Cannonb4ll

Copy link
Copy Markdown
Member

For now, this is something I'm going to hold off on. Thanks for suggesting!

@Cannonb4ll Cannonb4ll closed this Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants