Laravel 12.74 / 13.44.1: what I would change after the JSON DoS

Laravel 12.74 / 13.44.1: what I would change after the JSON DoS

composer audit on laravel/framework 13.44.0 still prints CVE-2026-142610. 12.73.0 prints that and CVE-2026-142612. I would bump 12.x to 12.74.0+ and 13.x to 13.44.1+, not 13.44.0. This site lib/ does not require the package.

· 6 min read #php #security #laravel #composer

 Laravel 12.74 / 13.44.1 is a lock bump, not a JSON payload

Caption: composer show laravel/framework first. If the package is missing, stop. The JSON DoS floor is 12.74.0 / 13.38.0. The audit floor this week is 12.74.0 / 13.44.1. I did not paste a request body.

I did not send a JSON body at a live app tonight. I wanted the version in the lock, the row composer audit prints, and whether this website even pulls Illuminate. I opened Ubuntu 24.04.5 and installed archive php8.3-cli plus archive composer. php -v printed PHP 8.3.6, built 18 Nov 2026 23:42:07. PHP_VERSION_ID is 80306. Package 8.3.6-0ubuntu0.24.04.14. Distro Composer is still 2.7.1-2. /usr/bin/composer is a PHP wrapper, not a phar. Command "self-update" is not defined. No php-fpm on this box. disable_functions is empty.

This site’s lib/composer.json does not require laravel/framework. composer show laravel/framework in that directory printed Package "laravel/framework" not found. That is the honest miss, same shape as a static brochure box that never ran Artisan.

Then I made throwaway Composer trees with --no-install and pinned tags. composer audit --locked on 12.73.0 printed two High rows and exited 1. Pin 12.74.0 and it prints No security vulnerability advisories found. Pin 13.44.0 and it still prints one High row: CVE-2026-142610. Pin 13.44.1 and audit is clean. That is the wall this week: last Tuesday’s 13.44.0 tag is not Friday’s floor, and the CVE ids that Sunday’s queue said did not exist now show up in the audit table.

Lab note only. I did not write a remote exploit. I did not paste a long JSON key. I did not paste scientific notation at a validator.

What changed

andrei-laravel published GHSA-8h64-cpq2-9h2g on 23 Nov 2026 (published_at 2026-11-23T10:48:14Z). GitHub tagged v12.74.0 at 2026-11-24T16:22:37Z. Packagist time is 2026-11-24T16:20:46+00:00. The GitHub Advisory Database row is later: published_at 2026-12-03T00:09:18Z. That is the timestamp composer audit printed as Reported at. CVE.org lists CVE-2026-142612, updated 2 Dec 2026.

Two days after the repo note, GHSA-c25c-x5r7-2v5m published 25 Nov 2026 (2026-11-25T09:13:14Z). GitHub tagged v13.44.1 at 2026-11-24T16:11:28Z (Packagist 2026-11-24T16:10:06+00:00). The GitHub Advisory Database row is published_at 2026-12-04T00:07:19Z, nvd_published_at 2026-12-02T23:18:40Z. That is CVE-2026-142610. Packagist PKSA-7567-ypy7-f3yn.

What I will treat as locked:

  • CVE-2026-142612 / GHSA-8h64-cpq2-9h2g. Package: laravel/framework. Severity High. CVSS 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H). CWE-770. Packagist PKSA-273f-gxck-7gpy. Affected: < 12.74.0, and >= 13.0.0, < 13.38.0. Patched in 12.74.0 and 13.38.0. TrimStrings and ConvertEmptyStringsToNull run as global middleware before routing and auth. PR #62582 merged 23 Nov 2026 14:38:41Z onto 12.x: a 20 MiB running total of key bytes, then PostTooLargeException (413). I opened v12.73.0 TransformsRequest::cleanArray() — it still writes $data[$key] = $this->cleanValue($keyPrefix.$key, $value) with no cap. v12.74.0 has $maxKeyBytes = 20 * 1024 * 1024. Same tag also moves TrimStrings::transform() so is_string($value) returns before array_merge($this->except, static::$neverTrim) and shouldSkip(). Integers in a nested array no longer pay the skip-list cost. I am not claiming a stopwatch proof. I am claiming the files match the advisory. A default client_max_body_size on Nginx is not this cap. The PR’s example body was under one megabyte.
  • CVE-2026-142610 / GHSA-c25c-x5r7-2v5m. Same package. High 7.5. Same CVSS vector. CWE-770. Packagist PKSA-7567-ypy7-f3yn. Affected: < 12.74.0, and >= 13.0.0, < 13.44.1. Patched in 12.74.0 and 13.44.1. multiple_of, and field-to-field gt / gte / lt / lte, expanded exponents without the existing range guard. Literal comparisons and min / max / between / size are not that path. Workaround in the advisory: bail|numeric|min:0|max:100|multiple_of:2. PR #62589 (12.x) and PR #62590 (13.x, merged 23 Nov 2026 14:28:54Z). On v12.74.0 I read ensureExponentWithinAllowedRange(): scale outside −1000…1000 throws MathException with Scientific notation exponent outside of allowed range. I did not feed that path a number.
  • 13.44.0 is not 13.44.1. Packagist has v13.44.0 at 2026-11-24T15:48:17+00:00. The git tag v13.44.0 exists (9d3d8e77…). GitHub’s release HTML for that tag 404’d for me on 4 Dec. Audit on a lock pinned to 13.44.0 still prints CVE-2026-142610 and exits 1.
  • Latest tags on 4 Dec 2026 are v13.45.0 (2026-12-01T17:12:18Z, Packagist 17:10:21Z) and v12.75.0 (Packagist 2026-12-01T17:11:55+00:00). Changelog is validation/TypeError/Cloud logging. Not a third 142612 patch. I will not invent 13.46.0.

What I will treat as rumor: that Sunday’s “no CVE id” note is still true; that 13.38.0 greens composer audit this week; that 13.44.0 is the numeric floor; that a GitHub v13.44.0 release page exists because Packagist has the version; that this website’s lib/ is in range.

Sibling, already in last week’s tags, only if you are still below them: GHSA-cq3g-fj94-c8p3 / CVE-2026-142611, Medium 5.4, empty-string array keys skip items.* rules, patched 12.73.0 / 13.43.0. Packagist PKSA-nbbk-znnv-3y2b, reportedAt 2026-12-03 00:16:13. 12.73.0 still fails the two High rows. 13.38.0 printed 17 advisories in this lab because it also misses the 13.43 dump. I am not rewriting that dump here.

What I would change in a real Laravel/PHP app this week

Three edits. None of them is a JSON fuzzer. None of them is “jump 12.x to 13.x tonight.”

1. Prove the package is in the lock. Then see the version. Then see audit.

php -v
composer --version
composer show laravel/framework
composer why laravel/framework
composer audit --locked
# the pool in the vhost, after the lock bump — this lab has no FPM
php-fpm8.3 -v   # or php-fpm8.5

This lab printed:

PHP 8.3.6 (cli) (built: Nov 18 2026 23:42:07)
Composer version 2.7.1 2024-02-09 15:26:28
# this site lib/: Package "laravel/framework" not found
# throwaway 12.73.0: Found 2 security vulnerability advisories (CVE-2026-142610, CVE-2026-142612)  exit 1
# throwaway 12.74.0 / 12.75.0: No security vulnerability advisories found  exit 0
# throwaway 13.38.0: Found 17 security vulnerability advisories (includes 142610, not 142612)  exit 1
# throwaway 13.44.0: Found 1 security vulnerability advisory (CVE-2026-142610 / PKSA-7567-ypy7-f3yn)  exit 1
# throwaway 13.44.1 / 13.45.0: No security vulnerability advisories found  exit 0

If show says the package is not found, I stop. These CVEs do not apply. Most of the PHP boxes I touch for this site never boot Laravel at all, so the first honest result is often an empty why. That empty result is useful. It keeps me from writing a panic note about every High row Packagist printed this week. The second honest result is a lock that already moved last Tuesday and still fails tonight because the numeric floor on thirteen is the patch after the JSON floor. I would rather have that argument in a ticket than a screenshot of a hanging worker I caused myself.

2. Stop treating 13.38.0 or 13.44.0 as a green composer audit.

function laravelDec2026DosFloorMet(string $version): bool
{
    $version = ltrim($version, 'v');
    if (str_starts_with($version, '13.')) {
        return version_compare($version, '13.44.1', '>=');
    }
    if (str_starts_with($version, '12.')) {
        return version_compare($version, '12.74.0', '>=');
    }
    // Packagist prints <12.74.0 for 142612. I did not audit 11.x.
    return false;
}

// Before — JSON tag is not the audit floor on 13.x.
// laravelDec2026DosFloorMet('12.73.0'); // false
// laravelDec2026DosFloorMet('13.38.0'); // false
// laravelDec2026DosFloorMet('13.44.0'); // false

I ran that helper here. 12.73.0 / 13.38.0 / 13.44.0 / 11.57.2 → false. 12.74.0 / 12.75.0 / 13.44.1 / 13.45.0 → true. A JSON-only check returns true for 13.38.0, because that tag is the 142612 floor. That is not a pass. The deploy brake is the audit dump.

$out = [];
exec('composer show laravel/framework --no-ansi 2>/dev/null', $out);
$version = '';
foreach ($out as $line) {
    if (preg_match('/^versions\s*:\s*\*\s*v?([0-9]+\.[0-9]+\.[0-9]+)/', $line, $m)) {
        $version = $m[1];
        break;
    }
}
if ($version === '') {
    fwrite(STDERR, "laravel/framework is not in this lock.\n");
    exit(0);
}
if (! laravelDec2026DosFloorMet($version)) {
    fwrite(STDERR, "laravel/framework {$version} is below the 4 Dec 2026 Laravel DoS floor.\n");
    exit(1);
}

That exit 1 is a deploy brake. --locked reads composer.lock, not leftover vendor/.

3. Bump the one package. Stay on the major you already locked.

composer update laravel/framework --with-dependencies
composer show laravel/framework
composer audit --locked

I want versions : * v12.74.0 or newer on a 12.x lock, or v13.44.1 or newer on 13.x. Tip this week is 12.75.0 / 13.45.0. I would not jump 12.x to 13.x for these two rows. I would not stop at 13.44.0. On twelve, one tag carries both fixes: the JSON key-byte cap and the exponent guard shipped together in 12.74.0. On thirteen they did not. 13.38.0 has the JSON cap from October. 13.44.1 has the exponent guard. That split is why a thirteen box that “already patched JSON” still fails audit this Friday. If a public FormRequest still has unbounded multiple_of or field-to-field gt without bail|min|max, I would add the advisory’s bound as well as the bump. I would not paste an exponent to “see if it still hangs.”

What would bite on a self-hosted VPS

 Version check, then lock bump past 13.44.0

Caption: composer show first. Missing package is not these CVEs. 13.38.0 still fails audit. 13.44.0 still flags CVE-2026-142610. I did not paste a JSON key.

First bite: the package is not there. This website’s lib/ never required Illuminate. composer why empty means walk away. Writing “Laravel has an unauthenticated JSON DoS” into Slack from a PHPMailer contact form is the failure mode.

Second bite: 13.38.0 feels patched. It is, for CVE-2026-142612. composer audit --locked still exits 1 — 17 rows in this lab, and the first one is still CVE-2026-142610. CI that gates on audit stays red. I would bump to 13.44.1 (or 13.45.0) and not argue with the October tag.

Third bite: 13.44.0 looks like this week’s number. It landed 22 minutes before 13.44.1 on Packagist. Audit still prints PKSA-7567-ypy7-f3yn. A lock frozen at 15:48 UTC on 24 Nov is still 13.44.0 on 4 Dec. composer update laravel/framework on ^13.44 should float. A pin of 13.44.0 will not.

Fourth bite: CLI Composer, FPM still on the old vendor. composer update does not reload php-fpm. This lab has no FPM. On a real box I would systemctl reload the pool Nginx uses. Distro Composer 2.7.1-2 still audits Packagist rows; self-update is not a command on the apt wrapper. I would not invent that Ubuntu already shipped Composer 2.11. php artisan about on SSH is not the FPM opcode cache. After the lock bump I would still reload, not assume OPcache noticed vendor/.

Fifth bite: a public FormRequest with unbounded multiple_of. The bump is the floor. The advisory still says bound first and bail. I grepped for multiple_of and for gt: / gte: / lt: / lte: that name another field. Literal gt:10 is not the path. I would add bail|numeric|min:0|max:… in front of those rules on any form that is reachable without a login. I would not paste an exponent to prove it.

Laravel 11 and older: I did not audit 11.57.2. Packagist’s 142612 range is <12.74.0, which matches 11.x on paper. There is no 11.x patch in these GHSAs. If you are still on 11, the advisory workaround plus a planned 12/13 upgrade is the ticket. I will not invent an 11.74.0. Shared hosting that froze the lock in cPanel and will not run Composer is the same camp as last week’s phpseclib note: the patch is the lock, and you do not have a lock you can change.

Ten days after the tag

 Advisory timeline from 23 Nov GHSA-8h64 to this 4 Dec lab note

Caption: GHSA-8h64 on 23 Nov. 12.74.0 and 13.44.1 on 24 Nov. GHSA-c25c on 25 Nov. Tip 12.75.0 / 13.45.0 on 1 Dec. CVE ids in composer audit 2–4 Dec. I did not invent 13.46.0.

Honest target this week: laravel/framework 12.74.0+ or 13.44.1+ in the lock, composer audit --locked exit 0, php-fpm reloaded. I would not invent that the CVE ids were always there. Sunday’s queue said they were missing. GitHub assigned them 2–4 Dec. The bump did not change. The audit table did. That is the operator surprise: a lock you bumped on 24 Nov can still look new, and a CI job that was green last Friday can go red this Friday because Packagist’s Reported at is the Advisory Database date, not the repo GHSA date. I would treat a newly red audit as “go read the row,” not as a brand-new remote hole that appeared overnight.

What is running on this lab now: archive PHP 8.3.6 (.14), Composer 2.7.1-2, throwaway trees at 12.74.0 / 12.75.0 / 13.44.1 / 13.45.0 that audit clean, 13.44.0 that still prints CVE-2026-142610, and this website’s own lib/ still without the package. Next I would grep a real Laravel lock. If why is empty I would close the ticket. If why is Illuminate on 12.73.0 or 13.44.0 I would bump and reload FPM.

I would also say this out loud on a call, because the changelog dump is easy to misread. Two High rows. Same package. Same week on the calendar. Different floors on thirteen. One tag on twelve. No request I send from this box is part of the check. The check is the lock, the audit exit, and the worker that Nginx actually talks to. If a client wants a PoC, the answer is no. If they want a green audit and a reloaded pool, that is the job.

Are you on this in production?

If the lock already has 12.74.0+ (or 13.44.1+) and composer audit --locked is clean, you are on the Packagist floor. If you stopped at 13.38.0 after the JSON note, you are on 142612 and not on 142610. If you locked 13.44.0 the same afternoon as 13.44.1, you are one patch short. If composer why laravel/framework is empty, you are not in these CVEs at all. If CLI vendor is new and the FPM pool still serves the old vendor/, you are not on the bump. If FPM already runs 13.44.1 and a leftover composer.json pin still says 13.44.0, the next composer install on a fresh checkout will put you back. Shared hosting that will not let you composer update is the last camp. I did not flip a client cluster tonight. I want to know which of those you are in.

Did you hit the same wall?

I would get stuck on composer audit still red after 13.44.0, or on composer why empty while a Slack thread claimed every PHP box was one JSON POST from falling over. Did you hit the same thing, or a different one — a pin that Composer will not float, FPM still on old vendor, a twelve lock that looks recent because of last month’s dump, a host that will not run an update? Tell me in the comments. I read them. If your story is a different error shape, I still want it. The comments are where I learn which camp is actually common.

If the blocker is the VPS itself (platform PHP, a lock you cannot bump, php-fpm that still serves yesterday’s vendor), I do this class of bump for a living: Hire for deploy.

References

Share:

Get new posts in your inbox

No spam. One short email per new article — practical PHP, Laravel, devops, and AI-assisted workflows.

Comments

Powered by GitHub Discussions via Giscus. A free GitHub account is required.