Skip to main content

Nextcloud user_oidc CVE-2026-45278

| EUVDEUVD-2026-33704 MEDIUM
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2026-06-01 GitHub_M
6.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker crafts OIDC login URL with protocol-relative redirectUrl
  2. Delivery
    Delivers link to victim via phishing or social engineering
  3. Exploit
    Victim clicks link and authenticates via OIDC on legitimate Nextcloud
  4. Execution
    LoginController processes unvalidated redirectUrl
  5. Impact
    Browser 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

security-advisories 6.1.0, < 8.2.2

Affected Packages

euvd security_advisories_6_1_0 fix: 8.2.2

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

NVD PRIMARY 6.1 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

3
Severity Changed
Jul 20, 2026 - 20:22 NVD
LOW MEDIUM
CVSS changed
Jul 20, 2026 - 20:22 NVD
3.3 (LOW) 6.1 (MEDIUM)
Patch available
Jun 01, 2026 - 20:02 EUVD

DescriptionNVD

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

EPSS Score
0.0%
Top 99% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2023-26482 HIGH POC
8.8 Mar 30

Nextcloud server is an open source home cloud implementation. Rated high severity (CVSS 8.8), this vulnerability is remo

CVE-2020-8180 CRITICAL POC
9.9 Jun 08

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

CVE-2023-48306 CRITICAL POC
9.8 Nov 21

Nextcloud Server provides data storage for Nextcloud, an open source cloud platform. Rated critical severity (CVSS 9.8),

CVE-2026-110447 CRITICAL POC
9.2 Oct 14

Unauthenticated OS command injection in the Collabora Online Built-in CODE Server Nextcloud app (richdocumentscode) befo

CVE-2026-55640 CRITICAL POC
9.1 Aug 25

Unauthenticated vector-store tampering in Nextcloud MCP Server before 0.117.2 lets any network attacker who can reach th

CVE-2016-9463 HIGH POC
8.1 Mar 28

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

CVE-2023-31128 HIGH POC
8.8 May 26

NextCloud Cookbook is a recipe library app. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable,

CVE-2023-28643 HIGH POC
8.8 Mar 30

Nextcloud server is an open source home cloud implementation. Rated high severity (CVSS 8.8), this vulnerability is remo

CVE-2021-22879 HIGH POC
8.8 Apr 14

Nextcloud Desktop Client prior to 3.1.3 is vulnerable to resource injection by way of missing validation of URLs, allowi

CVE-2019-12739 HIGH POC
8.8 Jun 05

lib/Controller/ExtractionController.php in the Extract add-on before 1.2.0 for Nextcloud allows Remote Code Execution vi

CVE-2026-22683 HIGH POC
8.7 Apr 07

Authorization bypass in Windmill 1.56.0-1.614.0 enables Operator role users to escalate privileges to remote code execut

CVE-2020-8259 HIGH POC
8.1 Nov 16

Insufficient protection of the server-side encryption keys in Nextcloud Server 19.0.1 allowed an attacker to replace the

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy