Is nesbot/carbon 1.36 vulnerable?

Composer · 3 releases from 1.36.0 to 1.36.2 · latest nesbot/carbon is 3.15.1 · checked 2 Nov 2026

Yes: 1 known advisory

Yes. nesbot/carbon 1.36.2, the last 1.36 release, is affected by 1 known security advisory (1 medium), including CVE-2025-22145. Upgrade to 2.72.6 or later to fix all of them.

Upgrade with:composer require nesbot/carbon:^2.72.6

Is your project affected?

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

Advisories affecting nesbot/carbon 1.36.2

  • 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 1.36?

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.