Update dependency nesbot/carbon to v2.72.6 [SECURITY] #597
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.72.5→2.72.6GitHub Vulnerability Alerts
CVE-2025-22145
Impact
Application passing unsanitized user input to
Carbon::setLocaleare at risk of arbitrary file include, if the application allows users to upload files with.phpextension in an folder that allowsincludeorrequireto read it, then they are at risk of arbitrary code ran on their servers.Patches
Workarounds
Any of the below actions can be taken to prevent the issue:
setLocale(), for instance by forbidding or removing/and\setLocale()only with a locale from a whitelist of supported locales.phpextension (this is recommended even if you're not affected by this issue)References
https://en.wikipedia.org/wiki/File_inclusion_vulnerability
Credits
Thanks to Szczepan Hołyszewski who reported the issue and to Tidelift to coordinate the resolution
Release Notes
CarbonPHP/carbon (nesbot/carbon)
v2.72.6Compare Source
Complete commits list: CarbonPHP/carbon@2.72.5...2.72.6
Summary:
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.