# CVE-2026-142258: Monica 5.0.0-beta.1 through 5.0.0-beta.5 IDOR Uploadcare File Deletion via UploadFile

Source: https://aplosec.si/cve/CVE-2026-142258/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-142258

Low 2.3 · Reported · No fix listed · CWE-639 · Server

# 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](https://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](https://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](https://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](https://www.cve.org/CVERecord?id=CVE-2026-142258)

**Severity:** Low 2.3 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-142258)

**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
