# CVE-2023-25821: Nextcloud download permissions can be changed by resharer

- Severity: Medium 5.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- 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.95%, higher than 62% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-02-24T23:39:51.684Z
- Modified: 2026-06-17T05:42:03.577Z
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Nextcloud is an Open Source private cloud software. Versions 24.0.4 and above, prior to 24.0.7, and 25.0.0 and above, prior to 25.0.1, contain Improper Access Control. Secure view for internal shares can be circumvented if reshare permissions are also given. This issue is patched in versions 24.0.7 and 25.0.1. No workaround  is available.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: >= 24.0.4, < 24.0.7; >= 25.0.0, < 25.0.1
- nextcloud nextcloud_server: from 24.0.4 before 24.0.7; 25.0.0

## Every score

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

## References

- <https://hackerone.com/reports/1724016> (exploit, third-party-advisory)
- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-7w6h-5qgw-4j94> (vendor-advisory)
- <https://github.com/nextcloud/server/pull/34502> (patch)

## Sources

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

---

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