CVE-2026-69695
Handesk through 1.5 contains an unrestricted file upload vulnerability in Attachment::storeAttachmentFromRequest() that allows authenticated agents to upload f…
Impact
Handesk through 1.5 contains an unrestricted file upload vulnerability in Attachment::storeAttachmentFromRequest() that allows authenticated agents to upload files with arbitrary extensions by attaching them to ticket comments without extension, MIME type, or size validation. Attackers can upload a PHP file via POST /tickets/{ticket}/comments, which is stored under storage/app/public/attachments and served from /storage/attachments/, to achieve remote code execution as the web server user or serve malicious HTML/SVG content from the application origin.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products (BadChoice)
| Product | Affected versions |
|---|---|
| Handesk | through 1.5 through 49814852fe97f524e513e1ca9d78f4c1f4a64dc3 Versions 0 ≤49814852fe97f524e513e1ca9d78f4c1f4a64dc3, 0 ≤1.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/BadChoice/handesk/issues/830
- https://github.com/BadChoice/handesk/blob/49814852fe97f524e513e1ca9d78f4c1f4a64dc3/app/Attachment.php#L15-L20
- https://www.vulncheck.com/advisories/handesk-through-1.5-unrestricted-file-upload-via-ticket-comments
- https://github.com/advisories/GHSA-3hrm-89j5-cvc4
- https://nvd.nist.gov/vuln/detail/CVE-2026-69695