handleUpload
src/gql/resolvers/mutations/Asset.php
Last patched
Overview
handleUpload in src/gql/resolvers/mutations/Asset.php (craftcms/cms) was changed by 5 published CVE fixes in 2026, in 5 distinct patches that added or removed 30 lines in total.
craftcms/cms has 103 CVEs with a located fix in total, so 5% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed handleUpload, newest first, with the lines each fix touched.
CVE-2026-41129 · lines 254–257 · +4 −0
Medium · CVSS 5.5EPSS 0.3%2026-04-21CVE-2026-27127 · lines 272–276 · +5 −0
High · CVSS 7.0EPSS 0.5%2026-02-24CVE-2026-25493 · lines 263–266 · +4 −1
Medium · CVSS 6.9EPSS 0.4%2026-02-09CVE-2026-25492 · line 245 · +1 −6
Medium · CVSS 5.3EPSS 0.5%2026-02-09CVE-2025-68437 · lines 245–253 · +9 −0
Medium · CVSS 5.0EPSS 0.5%2026-01-05
Get an alert when the next CVE fix lands in craftcms/cms, with the patched functions.
Monitor these CVEsOther functions in these files
Functions in the same file that CVE fixes also changed.
Other hotspots in the repository
Functions in craftcms/cms changed by the most distinct patches.
Frequently asked questions
Common questions about CVE fixes to handleUpload.
- How many CVEs have patched handleUpload?
- 5 published CVEs changed handleUpload in craftcms/cms, in 5 distinct patches totalling 30 changed lines, between 2026 and 2026.
- What is the latest CVE that changed handleUpload?
- CVE-2026-41129 (Craft CMS has Server-Side Request Forgery (SSRF) with Asset Uploads Mutations), published 2026-04-21, changed lines 254 to 257 of src/gql/resolvers/mutations/Asset.php.
- How does handleUpload compare to the rest of craftcms/cms?
- craftcms/cms has 103 CVEs with a located fix in total; 5 of them changed handleUpload.
- What do the line numbers refer to?
- Line numbers are in the fixed version of the file, as the upstream patch left it. A CVE whose fix was backported to several branches is listed once, with the lines from the upstream commit.
References
- src/gql/resolvers/mutations/Asset.php on GitHub (opens in a new tab)
- All patched functions in craftcms/cms
- Patched functions directory
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track craftcms/cms CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.