CVE-2025-22145: Carbon has an arbitrary file include via unvalidated input passed to Carbon::setLocale
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.
References
Detect and mitigate CVE-2025-22145 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →