PHP package security
Is nesbot/carbon vulnerable?
1 known security advisory for nesbot/carbon. The latest was reported on 2025-01-08 and is fixed in 2.72.6 and 3.8.4. The newest release, 3.15.1, is not affected by any of them.
1 medium
- Known advisories
- 1
- Newest release
- 3.15.1
- Released
- 2026-10-25
- Affecting newest release
- 0
- Last synced
- 2026-11-03
Check your version
Security advisories for nesbot/carbon
| Reported | Advisory | Severity | Affected | Fixed in |
|---|---|---|---|---|
| 2025-01-08 | Carbon has an arbitrary file include via unvalidated input passed to Carbon::setLocale GHSA-j3f9-p6hm-5w6q · CVE-2025-22145 · GitHub | medium | <2.72.6 | >=3.0.0,<3.8.4 | 2.72.6, 3.8.4 |
Need help patching or upgrading? Laskyr does PHP and Laravel security fixes and upgrades. Tell us what you run and we reply with a plan and a price.
Ask about a fixCheck your whole project. Paste your composer.lock and see every installed package with a known advisory. Nothing is stored.
Check composer.lockQuestions about nesbot/carbon
Does nesbot/carbon have known vulnerabilities?
Yes. Packagist lists 1 security advisory for nesbot/carbon (1 medium severity). The most recent, reported 2025-01-08, is "Carbon has an arbitrary file include via unvalidated input passed to Carbon::setLocale". The newest release, 3.15.1, is outside every affected range.
Which version of nesbot/carbon should I run?
The newest stable release is 3.15.1 (published 2026-10-25). The most recent advisory is fixed in 2.72.6 and 3.8.4, so stay on or above the fixed version for your major version. Run composer update nesbot/carbon, then composer audit to confirm nothing else is flagged.
How do I check if my nesbot/carbon version is affected?
Run composer show nesbot/carbon in your project to see the installed version, then enter it in the version check on this page. You can also run composer audit, which reads the same Packagist advisory data for every package in your composer.lock.