SecurityContext

CVE-2021-41179: Nextcloud - Authentication Bypass

  • Cve: CVE-2021-41179
  • Name: Nextcloud - Authentication Bypass
  • Description: Nextcloud is an open-source, self-hosted productivity platform. Prior to Nextcloud Server versions 20.0.13, 21.0.5, and 22.2.0, the Two-Factor Authentication wasn't enforced for pages marked as public. Any page marked as `@PublicPage` could thus be accessed with a valid user session that isn't authenticated. This particularly affects the Nextcloud Talk application, as this could be leveraged to gain access to any private chat channel without going through the Two-Factor flow. It is recommended that the Nextcloud Server be upgraded to 20.0.13, 21.0.5 or 22.2.0. There are no known workarounds aside from upgrading.
  • Impact: Attackers can access private chat channels and other protected pages without authentication, potentially leading to information disclosure.
  • Remediation: Upgrade to Nextcloud Server versions 20.0.13, 21.0.5, or 22.2.0.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker needs a valid user session
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.01195
  • Epss percentile: 0.68691
  • Assignee: [email protected]
  • Published at: 2021-10-25T22:15:07Z
  • Age in days: 1856
  • Modified at: 2026-06-17T04:08:02Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-41179
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-304Missing Critical Step in Authentication

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/nextcloud/server/pull/28725Patch, Third Party Advisory
https://github.com/nextcloud/security-advisories/security/advisories/GHSA-7hvh-rc6f-px23Third Party Advisory
https://hackerone.com/reports/1322865Permissions Required

Products

ProductAffectedPlatform boundSourcesUrl
nextcloud:server>= 22.1.1, < 22.2.0; >= 21.0.1, < 21.0.5; >= 20.0.3, < 20.0.13nonvd/v1/products/nextcloud/server

Projects

RepositoryLink kindsIndexedUrl
nextcloud/serverpullyes/v1/repositories/nextcloud/server
nextcloud/security-advisoriessecurity_advisoryyes/v1/repositories/nextcloud/security-advisories

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts