Skip to content
Brief Security & Trust ·

Laravel advisory: task output can forge a result and run code

A GitHub advisory says user text printed by a Laravel concurrency task can lead to remote code execution in some apps.

In brief
  • GitHub's advisory database says an attacker can forge Laravel's internal result message if a concurrency task prints user-controlled text. In certain conditions this gives remote code execution.
  • The advisory says the flaw is not present by default. It needs specific app code, and it links to Laravel releases v12.71.0 and v13.40.0.

GitHub's Advisory Database published a Laravel advisory on 13 November 2026. It says that when a concurrency task prints text a user controls, an attacker can forge the framework's internal result message. In certain conditions, the advisory says, this gives the attacker remote code execution. That means they can run their own code on the server.

The advisory says this is not the default setup. An app needs a route that reaches Concurrency::run(). The task must also write user-controlled data to its output, for example through echo, print, or JSON built by hand. The user's bytes must start the child's output and form a complete JSON document, followed by the bytes \x1f\x8b. The advisory links to Laravel releases v12.71.0 and v13.40.0. It gives no severity score, no CVE number and no list of affected versions. It does not say what those releases change.

For teams that run Laravel, exposure depends on their own code, not on the framework alone. The advisory points to one pattern: user input that ends up in the output of a concurrency task. Developers can check whether any such task prints input from users.

A WebPulse Brief: a short report of an important event, written by the WebPulse Newsroom with AI assistance and checked against the reporting below. When there is more to explain, we follow up with a full story. How we use AI.

Reporting: GitHub Advisory Database.