What’s Vulnerable › Vulnerabilities
CVE-2024-22402: Improper handling of request URLs in Nextcloud Guests app allows guest users to bypass app allowlist
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-01-18 · updated 2026-06-17
- Weakness: CWE-281
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.
Affected products
- nextcloud Guests: before 2.4.1; 2.5.0, 3.0.0 — fixed in 2.4.1
How to fix
Upgrade to a fixed version: nextcloud Guests 2.4.1. Check the vendor advisory for mitigations.
References
- https://github.com/nextcloud/guests/pull/1082
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-v3qw-7vgv-2fxj
- https://hackerone.com/reports/2251074
- https://github.com/nextcloud/guests/pull/1082
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-v3qw-7vgv-2fxj
- https://hackerone.com/reports/2251074
Get alerted when CVE-2024-22402 or the next vulnerability affects your stack