PatchClock

PHP security digest · 13 Nov 2026

Laravel: Task Output Injection - Concurrency Process

Low CVE-2026-128083

Package
laravel/framework
Fixed in
12.71.0, 13.40.0
Published
Fri 13 Nov 2026, 18:54 LisbonUpdated Thu 19 Nov 2026, 00:45 Lisbon
Installs on Packagist
623M

In plain words

An attacker may be able to run code remotely if a concurrency task prints user-controlled text that can be mistaken for Laravel's internal result message. This requires an application route that reaches Concurrency::run() and a specific pattern of handling untrusted task output. It is not exposed by default.

Affected versions

PackageAffectedFixed in
laravel/framework< 12.71.012.71.0
laravel/framework>= 13.0.0, < 13.40.013.40.0

How serious is it?

Low is a CVSS score of 0.1 to 3.9: limited impact, or hard to reach. Take the fix at your next routine dependency update, unless the description matches something your users rely on.

laravel/framework has 623M installs on Packagist, so the advisory reaches a large number of projects: expect scanners to look for it soon.

Am I affected?

Look for laravel/framework in composer.lock: affected versions are below 12.71.0, or at least 13.0.0 but below 13.40.0. Then check whether any application route reaches Concurrency::run() and whether its tasks write user-controlled data to standard output, for example through echo, print, dd, hand-built JSON or tool output. The vulnerable pattern requires attacker-controlled content at the start of that output that can be mistaken for a complete internal result message. Fixed versions are 12.71.0 and 13.40.0.

Did you install laravel/framework, or did a dependency?

Composer says why a package is in your project:

composer why laravel/framework

If the output names your own project, you required laravel/framework directly and the update is yours to make. If it names another package, laravel/framework came in through it, and that package's version constraint decides which release you can install. To see what stands between you and the fix, ask Composer directly:

composer why-not laravel/framework 12.71.0

Every line it prints is a constraint that blocks 12.71.0. Update the package it names, or raise your own constraint, and run it again until it prints nothing. If you stay on an older branch, ask about its fix instead: 13.40.0.

What to do

Check which version you have, then update to a fixed release for your branch (12.71.0, 13.40.0):

composer show laravel/framework | grep versions
composer update laravel/framework

If your version constraint in composer.json keeps you below a fixed release, raise it first. Whether your configuration is affected, and the exact version ranges, are in the advisory itself.

Check the whole project at once

Composer 2.4 and later can list every installed package with a known advisory, this one included once Packagist has it:

composer audit --locked

--locked reads composer.lock instead of the vendor folder, so you can run it on a release tag or in CI without installing anything. It exits with a non-zero code when it finds an advisory, which is enough to fail a build. Run it on every branch you still support, not only the newest: an older release your customers run is affected in the same way.

Under the Cyber Resilience Act

CRA Article 14 timeline: aware of exploitation at hour 0, early warning within 24 hours, notification within 72 hours, final report within 14 days after the fix.

No exploitation of this vulnerability is known, so on its own it does not start the Article 14 reporting clock, which covers actively exploited vulnerabilities. That changes if you learn it is being exploited through your product: then the 24-hour early warning applies.

Either way, if laravel/framework ships inside a product you sell, the CRA treats its vulnerabilities as yours. Article 13(5) asks for due diligence on the components you include, and from 11 December 2027 Annex I asks you to ship security fixes without delay and free of charge for the support period you declared. A short note in your changelog saying which release updated laravel/framework, and why, is the evidence you will want later.

What goes in each Article 14 report · Does the CRA apply to your product?

laravel/framework's record

This is one of 5 advisories for laravel/framework in the digest, the first published on 29 September 2026. A package with several advisories is not worse than one with none, which often just means nobody looked; it does tell you to keep it on your update list and to run composer audit after each update.

Other advisories for laravel/framework

  • CVE-2026-142612 · 3 Dec 2026 · High · fixed in 13.38.0, 12.74.0 Laravel: Denial of service via crafted JSON request body
  • CVE-2026-114509 · 23 Oct 2026 · Critical · fixed in 13.27.0, 12.68.0, 11.56.1, 10.50.4 Laravel TokenGuard authentication bypass through non-string API credentials
  • CVE-2026-114508 · 23 Oct 2026 · Medium · fixed in 12.68.0, 13.27.0 Laravel relationship inclusion can trigger unauthorized data destruction
  • CVE-2026-102279 · 29 Sep 2026 · Low · fixed in 12.69.0, 13.30.0 Laravel: XSS in Debug Page Information

The advisory's description

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 provided input (devs trust user-provided input) :

  1. App has a route that reaches Concurrency::run() (Not by default, it requires app code)

  2. The task writes user-controlled data to stdout (echo/print/dd of input, hand-built JSON via string concat, passthrough of tool output), and the user-controlled bytes can be made to start the child's stdout and form a complete JSON document followed by \x1f\x8b (Not by default, requires the specific coding pattern in the app code)

Patches

  • 13.40.0
  • 12.71.0

Weakness: CWE-502 Deserialization of Untrusted Data. Reported by Arr0way.

CWE-502. Unsafe deserialization: data an attacker controls goes to unserialize(), which can run code through classes already loaded.

The advisory

From OSV.dev, which gathers the GitHub Advisory Database, FriendsOfPHP and Drupal security advisories; the summary is theirs. The description, affected versions, weakness and credits are from the GitHub Advisory Database (CC BY 4.0). "In plain words", "Am I affected?" and "If you cannot update yet" are based on that advisory, and checked to name no version it does not.