Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker crafts OIDC login URL with protocol-relative redirectUrl
-
DeliveryDelivers link to victim via phishing or social engineering
-
ExploitVictim clicks link and authenticates via OIDC on legitimate Nextcloud
-
ExecutionLoginController processes unvalidated redirectUrl
-
ImpactBrowser follows protocol-relative URL to attacker-controlled site
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The Nextcloud user_oidc plugin must be installed and enabled, and OIDC login must be configured and reachable by end users - Nextcloud instances using only local accounts or LDAP authentication are not affected. The attacker requires no account or privileges on the Nextcloud server (PR:N per CVSS). The victim must click the attacker-crafted link and complete the OIDC authentication flow (UI:R per CVSS confirms required user interaction). Exploitation is bounded to user_oidc plugin versions 6.1.0 through 8.2.1; instances running 8.2.2 or later are patched. Note: the CVSS AV:L (Local) vector is inconsistent with the network-deliverable attack model described - the actual prerequisite is the ability to deliver a URL to a victim, not local system access. Defenders should not treat AV:L as limiting the realistic exposure of this vulnerability. |
| Impact | CVSS rates this 3.3 (Low), driven by Integrity:Low impact with no Confidentiality or Availability impact, and a Local attack vector (AV:L). However, the AV:L designation is inconsistent with the attack description - an open redirect exploited via a crafted URL delivered to a victim over the network is canonically AV:N. This discrepancy should be flagged and verified with the vendor or NVD; the real-world attack surface is broader than the vector implies. No EPSS data was provided in source intelligence. The vulnerability is not listed in CISA KEV, and no public exploit code has been identified, though the HackerOne report (https://hackerone.com/reports/3464925) confirms independent researcher discovery. Practical risk centers on phishing: attackers can weaponize the trusted Nextcloud domain name and OIDC flow to establish false legitimacy before redirecting victims. For organizations using Nextcloud for sensitive collaboration with federated OIDC identity providers, the phishing risk exceeds what the low CVSS score suggests, particularly against non-technical end users. |
| Exploit ScenarioDerived | An attacker crafts a Nextcloud OIDC login URL embedding a protocol-relative redirect target such as '//attacker.com/fake-login' in the redirect parameter. The victim receives this link via a phishing email that appears legitimate because the domain is the trusted Nextcloud instance; upon clicking and completing OIDC authentication, Nextcloud's LoginController processes the unvalidated redirectUrl and issues a redirect to the attacker's site. No exploit code has been publicly released, but the technique requires only basic URL crafting skills and no access to the Nextcloud server itself. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 01, 2026
Open redirect in Nextcloud's user_oidc plugin (versions 6.1.0 through 8.2.1) allows attackers to craft OIDC login links that silently redirect victims to arbitrary external websites upon successful authentication. The root cause is insufficient redirect URL sanitization in LoginController.php - a single regex stripping the protocol and domain could be bypassed using protocol-relative URLs (e.g., //attacker.com), which browsers resolve as full external URLs. No public exploit has been identified at time of analysis, and this CVE is not listed in CISA KEV; however, the phishing potential via trusted login flows warrants prompt patching in user-facing Nextcloud deployments.
RemediationAI
Vendor-released patch: user_oidc version 8.2.2, which enforces strict post-sanitization validation ensuring redirect URLs resolve to same-origin paths only. Administrators should upgrade the user_oidc plugin to 8.2.2 or later using the Nextcloud app store or by applying the fix from PR #1273 (https://github.com/nextcloud/user_oidc/pull/1273); the advisory is at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-8wjr-5cg8-4w73. If an immediate upgrade is not feasible, the most effective compensating control is to disable the user_oidc plugin entirely - this eliminates the attack surface at the cost of blocking all OIDC-based authentication, requiring users to authenticate via other configured providers. No partial configuration-level workaround (e.g., allowlisting redirect targets) has been documented by the vendor for the pre-patch versions.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the Nextcloud user_oidc plugin's LoginController.php, which handles the post-authentication redirect after OpenID Connect login completion. The pre-patch code sanitized the redirectUrl parameter using a single preg_replace() call - '/^https?:\/\/[^\/]+/' - intended to strip the protocol and domain, leaving only the path. This regex fails to handle protocol-relative URLs beginning with '//' (e.g., '//attacker.com/steal'), which do not match the pattern and are passed through unmodified; browsers interpret these as absolute URLs inheriting the current protocol, routing the victim to an attacker-controlled site. The fix in PR #1273 adds a secondary regex check requiring the sanitized result to start with exactly one forward slash followed by a non-slash character ('/[^/]'), closing the bypass. CWE-601 (URL Redirection to Untrusted Site / Open Redirect) precisely describes this root cause: improper allowlist-based validation of redirect targets. The CPE provided (cpe:2.3:a:nextcloud:security-advisories:*:*:*:*:*:*:*:*) references the advisory repository rather than the specific plugin package; the actual affected artifact is the user_oidc Nextcloud app.
Know when Nextcloud gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
Nextcloud is an open source content collaboration platform. From version 6.1.0 to before version 8.2.2, an attacker can craft links that would redirect users to another website, when the victim uses the attackers link to log in via user OIDC. This issue has been patched in version 8.2.2.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Nextcloud server is an open source home cloud implementation. Rated high severity (CVSS 8.8), this vulnerability is remo
A too lax check in Nextcloud Talk 6.0.4, 7.0.2 and 8.0.7 allowed a code injection when a not correctly sanitized talk co
Nextcloud Server provides data storage for Nextcloud, an open source cloud platform. Rated critical severity (CVSS 9.8),
Unauthenticated OS command injection in the Collabora Online Built-in CODE Server Nextcloud app (richdocumentscode) befo
Unauthenticated vector-store tampering in Nextcloud MCP Server before 0.117.2 lets any network attacker who can reach th
Nextcloud Server before 9.0.54 and 10.0.1 & ownCloud Server before 9.1.2, 9.0.6, and 8.2.9 suffer from SMB User Authenti
NextCloud Cookbook is a recipe library app. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable,
Nextcloud server is an open source home cloud implementation. Rated high severity (CVSS 8.8), this vulnerability is remo
Nextcloud Desktop Client prior to 3.1.3 is vulnerable to resource injection by way of missing validation of URLs, allowi
lib/Controller/ExtractionController.php in the Extract add-on before 1.2.0 for Nextcloud allows Remote Code Execution vi
Authorization bypass in Windmill 1.56.0-1.614.0 enables Operator role users to escalate privileges to remote code execut
Insufficient protection of the server-side encryption keys in Nextcloud Server 19.0.1 allowed an attacker to replace the
EUVD-2026-33704
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB