A vulnerability in the php-nesbot-carbon library was discovered where locale names were not properly validated. This flaw could allow a remote attacker to include arbitrary files and execute arbitrary code if the application passes unsanitized user input as a locale and permits uploading files with a .php extension. The issue affects certain versions of the package used in Ubuntu 20.04 LTS. A patch is available to address this vulnerability.