Is nesbot/carbon 3.8 vulnerable?

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

No known advisories in the last release

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

Update within 3.8:composer require nesbot/carbon:^3.8.6

Is your project affected?

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

Fixed within 3.8.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 3.8?

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.