CVE-2025-22145
Last modified
CVE-2025-22145 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. 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. EPSS estimates a 0.70% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-22145?
How severe is CVE-2025-22145?
How do I fix CVE-2025-22145?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-2214A vulnerability was found in Microweber 2.0.19. It has been …6.1
- CVE-2025-22140WeGIA is a web manager for charitable institutions. A SQL In…8.8
- CVE-2025-22141WeGIA is a web manager for charitable institutions. A SQL In…8.8
- CVE-2025-22142NamelessMC is a free, easy to use & powerful website softwar…5.4
- CVE-2025-22143WeGIA is a web manager for charitable institutions. A Reflec…6.1
- CVE-2025-22144NamelessMC is a free, easy to use & powerful website softwar…9.8
- CVE-2025-22146Sentry is a developer-first error tracking and performance m…9.1
- CVE-2025-22149JWK Set (JSON Web Key Set) is a JWK and JWK Set Go implement…2.1
- CVE-2025-2215A vulnerability classified as critical was found in Doufox u…5.1
- CVE-2025-22150Undici is an HTTP/1.1 client. Starting in version 4.5.0 and …6.8
- CVE-2025-22151Strawberry GraphQL is a library for creating GraphQL APIs. S…3.7
- CVE-2025-22152Atheos is a self-hosted browser-based cloud IDE. Prior to v6…9.4
Are you affected by CVE-2025-22145?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
