Vulnerability Description
Carbon is an international PHP extension for DateTime. Application passing unsanitized user input to Carbon::setLocale are at risk of arbitrary file include, if the application allows users to upload files with .php extension in an folder that allows include or require to read it, then they are at risk of arbitrary code ran on their servers. This vulnerability is fixed in 3.8.4 and 2.72.6.
Related Weaknesses (CWE)
References
- https://github.com/CarbonPHP/carbon/security/advisories/GHSA-j3f9-p6hm-5w6q
- https://github.com/briannesbitt/Carbon/commit/129700ed449b1f02d70272d2ac802357c8
- https://lists.debian.org/debian-lts-announce/2025/02/msg00032.html
FAQ
What is CVE-2025-22145?
CVE-2025-22145 is a documented vulnerability. Carbon is an international PHP extension for DateTime. Application passing unsanitized user input to Carbon::setLocale are at risk of arbitrary file include, if the application allows users to upload ...
How severe is CVE-2025-22145?
CVSS scoring is not yet available for CVE-2025-22145. Check NVD for updates.
Is there a patch for CVE-2025-22145?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.