AploSec / Disclosures / CVE-2026-142258
Monica 5.0.0-beta.1 through 5.0.0-beta.5 IDOR Uploadcare File Deletion via UploadFile
CVE-2026-142258 · published 2026-12-02
In plain words: this type of bug lets a user see or change things that belong to someone else (broken access control). No fixed release is listed yet.
Summary
CVE-2026-142258 affects Monica (Server) >= 5.0.0-beta.1, <= 5.0.0-beta.5: IDOR Uploadcare File Deletion via UploadFile (CWE-639). No fixed release is listed. CVSS 4.0 base score 2.3 (Low), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).
Monica 5.0.0-beta.1 through 5.0.0-beta.5 contains an insecure direct object reference vulnerability that allows vault editors to delete other users' Uploadcare files by supplying their uuid. Attackers can register another account's file uuid in their own vault via UploadFile.php, then delete it so DeleteFileInStorage permanently removes it.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
No fixed release is listed in the advisory. Check the references for upstream status.
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/monica-5.0.0-beta.1-through-5.0.0-beta.5-idor-uploadcare-file-deletion-via-uploadfile
- Vulnerable codehttps://github.com/monicahq/monica/blob/v5.0.0-beta.5/app/Domains/Contact/ManageDocuments/Services/UploadFile.php#L18-L88
- Vulnerable codehttps://github.com/monicahq/monica/blob/v5.0.0-beta.5/app/Domains/Contact/ManageDocuments/Listeners/DeleteFileInStorage.php#L58-L73
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142258
- Severity
- Low 2.3CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- Monica
- Ecosystem
- Server
- Affected
- >= 5.0.0-beta.1, <= 5.0.0-beta.5
- Fixed
- None
- Weakness
- CWE-639
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder