# CVE-2023-28643: Potential share collision for recipients when caching is enabled in nextcloud server

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.79%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-03-30T18:31:31.609Z
- Modified: 2026-06-17T05:48:27.280Z
- Weaknesses: CWE-706
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Nextcloud server is an open source home cloud implementation. In affected versions when a recipient receives 2 shares with the same name, while a memory cache is configured, the second share will replace the first one instead of being renamed to `{name} (2)`. It is recommended that the Nextcloud Server is upgraded to 25.0.3 or 24.0.9. Users unable to upgrade should avoid sharing 2 folders with the same name to the same user.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: < 24.0.9; >= 25.0.0, < 25.0.3
- nextcloud nextcloud_server: from 24.0.0 before 24.0.9; from 25.0.0 before 25.0.3

## Every score

- GitHub_M: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/nextcloud/server/issues/34015> (exploit, issue-tracking)
- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-hhq4-4pr8-wm27> (vendor-advisory)
- <https://github.com/nextcloud/server/pull/36047> (issue-tracking, patch)

## Sources

- CVE List: [CVE-2023-28643](https://www.cve.org/CVERecord?id=CVE-2023-28643), CVE Terms of Use, modified 2025-02-11
- NVD: [CVE-2023-28643](https://nvd.nist.gov/vuln/detail/CVE-2023-28643), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-28643 · Whole record: https://cve.day/CVE-2023-28643.json · Rebuilt by cve.day 2026-11-25T22:58:22.871Z
