# CVE-2024-22402: Improper handling of request URLs in Nextcloud Guests app allows guest users to bypass app allowlist

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/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.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2024-01-18T20:23:54.714Z
- Modified: 2026-06-17T07:11:20.420Z
- Weaknesses: CWE-281
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Nextcloud guests app is a utility to create guest users which can only see files shared with them. In affected versions users were able to load the first page of apps they were actually not allowed to access. Depending on the selection of apps installed this may present a permissions bypass. It is recommended that the Guests app is upgraded to 2.4.1, 2.5.1 or 3.0.1. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: >= 2.4.0, < 2.4.1; >= 2.5.0, < 2.5.1; >= 3.0.0, < 3.0.1
- nextcloud guests: before 2.4.1; 2.5.0; 3.0.0

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-v3qw-7vgv-2fxj> (vendor-advisory)
- <https://github.com/nextcloud/guests/pull/1082> (patch, vendor-advisory)
- <https://hackerone.com/reports/2251074> (permissions-required, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2024-22402 · Whole record: https://cve.day/CVE-2024-22402.json · Rebuilt by cve.day 2026-11-25T22:58:36.217Z
