CVE-2025-22145 - CVE House
Back to Database
Status published Medium CVE-2025-22145

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

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-22145

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

carbon
Vulnerable Versions:
< 2.72.6, >= 3.0.0, < 3.8.4

Timeline

Official Publish: January 8th, 2025
Last Modified: February 25th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)