Is nesbot/carbon 2.72 vulnerable?

Composer · 7 releases from 2.72.0 to 2.72.6 · latest nesbot/carbon is 3.15.1 · checked 1 Nov 2026

No known advisories in the last release

nesbot/carbon 2.72.6, the last 2.72 release, has no known advisories. 1 advisory affects earlier 2.72.x releases, so update to 2.72.6.

Update within 2.72:composer require nesbot/carbon:^2.72.6

Is your project affected?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Fixed within 2.72.x, affecting earlier releases

  • MediumCVE-2025-22145GHSA-j3f9-p6hm-5w6q8 Jan 2025

    Carbon has an arbitrary file include via unvalidated input passed to Carbon::setLocale

    Affected
    >=3.0.0 <3.8.4 · <2.72.6
    Fixed in
    2.72.6, 3.8.4

Which of your client projects are still on nesbot/carbon 2.72?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact nesbot/carbon version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other nesbot/carbon versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Composer registry. Refreshed daily.