Skip to main content

Nextcloud Server CVE-2026-45690

| EUVDEUVD-2026-33716 MEDIUM
Improper Authentication (CWE-287)
2026-06-01 GitHub_M
5.9
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Obtain victim's valid Nextcloud password
  2. Delivery
    Initiate authenticated login to trigger 2FA flow
  3. Exploit
    Capture TEMPORARY_TOKEN issued pre-2FA challenge
  4. Execution
    Replay token via HTTP Basic Auth or Bearer header
  5. Impact
    Access authenticated API endpoints without completing 2FA

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two concrete preconditions: (1) the attacker must possess the target user's valid Nextcloud account password - this is not unauthenticated exploitation, as confirmed by the CVSS PR:L rating; and (2) the target account must have two-factor authentication enabled, since the vulnerability only exists in the transient session state created during the 2FA challenge flow. Accounts without 2FA enabled are not subject to this specific bypass. The CVSS AC:H rating reflects the operational requirement to extract or intercept the temporary session token within the brief window between credential validation and 2FA challenge delivery. Affected versions are Nextcloud Server 32.0.0-32.0.8 and 33.0.0-33.0.2, and Nextcloud Enterprise Server in the 29.x, 30.x, and 31.x branches prior to their respective fixed versions. Exploitation is not automatable at scale because each attack requires individualized, previously obtained credentials per target account.

Impact

The CVSS 5.9 Medium score reflects a nuanced but operationally significant risk profile. AV:N confirms remote exploitability over the network. AC:H indicates high attack complexity - the attacker must capture the transient temporary token within the narrow authentication window and must already hold the victim's valid password (PR:L), making this a targeted rather than opportunistic threat. The integrity impact is rated High (I:H), reflecting that a successful bypass grants full authenticated account access; the Low confidentiality rating (C:L) may be conservative given that account access typically exposes stored files, contacts, and calendar data. No availability impact is present (A:N). EPSS data was not provided and exploitation probability must be treated as unquantified. KEV status is negative - no CISA-confirmed active exploitation at time of analysis. No public POC code has been identified; the HackerOne report (#3639301) indicates responsible disclosure. However, the publicly available PR diff on GitHub documents the exact vulnerable code paths in sufficient detail for a capable researcher to reconstruct an exploit. The primary real-world threat is targeted attacks against accounts where an adversary already holds credentials and 2FA is the sole remaining defense - a scenario common in credential-stuffing victim populations. For those deployments, the vulnerability is functionally critical despite the moderate CVSS score.

Exploit ScenarioDerived

An attacker who has obtained a Nextcloud user's password - through phishing, credential stuffing, or a prior data breach - programmatically initiates a login request with those credentials against the target instance. Before the 2FA challenge is delivered to the legitimate user, the attacker captures the temporary session token returned by the server in the intermediate authentication state. The attacker then presents this TEMPORARY_TOKEN as HTTP Basic Authentication credentials or a Bearer header to Nextcloud API endpoints, gaining full authenticated session access without ever supplying a valid second factor. No public exploit code has been identified, but the fix diff in PR #59758 makes the vulnerable code path and the required token mechanics technically explicit.

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

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

Alert me

AnalysisAIv1 – Jun 01, 2026

Two-factor authentication bypass in Nextcloud Server 32.0.0-32.0.8 and 33.0.0-33.0.2 allows an authenticated attacker who possesses a valid user password to fully circumvent 2FA protections and gain unauthorized account access. During the login sequence, Nextcloud creates a temporary session token after credential validation but before the second factor is enforced; this token was not restricted from use in HTTP Basic Authentication or Bearer-header flows, enabling replay to authenticated API endpoints and effectively nullifying the 2FA control. Vendor-released patches exist as 32.0.9 and 33.0.3; no public exploit identified at time of analysis, though the fix PR makes the exploit mechanism technically transparent.

RemediationAI

Vendor-released patches are available and should be applied immediately. Nextcloud Server should be upgraded to version 32.0.9 or 33.0.3. Nextcloud Enterprise Server customers should upgrade to 33.0.3, 32.0.9, 31.0.14.5, 30.0.17.9, or 29.0.16.16 depending on their deployed branch. The upstream code fix is documented in GitHub PR #59758 (https://github.com/nextcloud/server/pull/59758) and the authoritative security advisory is at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-jgcj-v42r-9922. If immediate patching is not feasible, a targeted compensating control is to block or restrict HTTP Basic Authentication and Bearer-header token requests at the reverse proxy or WAF layer; however, this will break legitimate API clients including DAV sync clients, mobile apps, and third-party integrations that use app tokens, and requires careful testing before deployment. Disabling 2FA entirely is not a mitigation - it simply removes the control being bypassed. There is no rate-limiting or network-layer compensating control that addresses the token-type confusion at the application layer.

Affected VersionsENISA

security-advisories 33.0.0, < 33.0.3
security-advisories 32.0.0, < 32.0.9

Affected Packages

euvd security_advisories_32_0_0 fix: 32.0.9
euvd security_advisories_33_0_0 fix: 33.0.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Nextcloud Server is a self-hosted PHP collaboration platform. The vulnerability resides in lib/private/User/Session.php, specifically within the logClientIn() and tryTokenLogin() methods. CWE-287 (Improper Authentication) accurately captures the root cause: the authentication subsystem failed to enforce a critical distinction between token types. The PublicKeyToken class internally distinguishes TEMPORARY_TOKEN (issued transiently after password validation, before 2FA completion), PERMANENT_TOKEN, and ONETIME_TOKEN (the legitimate token types for API and HTTP Basic Auth access). The flaw allowed a TEMPORARY_TOKEN to authenticate HTTP Basic Auth and Bearer-header requests without ever satisfying the 2FA challenge. The published fix in PR #59758 introduces explicit type-gating in two locations: logClientIn() now rejects any PublicKeyToken that is not PERMANENT_TOKEN or ONETIME_TOKEN, and tryTokenLogin() explicitly blocks TEMPORARY_TOKEN tokens arriving via a non-cookie source (i.e., Basic Auth or Authorization header). The CPE reported is cpe:2.3:a:nextcloud:security-advisories:*:*:*:*:*:*:*:* as catalogued under the GitHub advisory program.

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

Vendor (GitHub_M) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

1
Patch available
Jun 01, 2026 - 20:02 EUVD

DescriptionCVE.org

Nextcloud is an open source content collaboration platform. In Nextcloud Server from versions 32.0.0 to before 32.0.9, and 33.0.0 to before 33.0.3, an authentication bypass vulnerability allowed attackers with knowledge of a user's password to circumvent two-factor authentication (2FA) protections. When a user initiated login with valid credentials on a 2FA-enabled account, the system created a temporary session token before enforcing the second factor challenge. This token could be extracted and replayed via HTTP Basic Authentication to gain unauthorized access to authenticated endpoints. It is recommended that the Nextcloud Server is upgraded to 33.0.3 or 32.0.9. It is recommended that the Nextcloud Enterprise Server is upgraded to 33.0.3, 32.0.9, 31.0.14.5, 30.0.17.9 or 29.0.16.16

Threat Intelligence Overview

EPSS Score
0.1%
Top 80% exploitable
Data Quality
6 sources
Confidence: High

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.1%
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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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