---
title: "nextcloud/server: functions and files changed by CVE fixes"
url: https://radicalnotion.ai/fixes/nextcloud/server
type: fixes-repository
description: "112 CVE fixes in nextcloud/server changed 280 functions across 180 files."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# nextcloud/server: patched functions

- **CVEs with a located fix:** 112
- **Functions patched:** 280
- **Files patched:** 180
- **Diff hunks:** 1,062
- **Languages:** php, vue, javascript, typescript
- **Rank by CVE fixes:** 36 of 12,243
- **First fix:** 2017-03-28
- **Latest fix:** 2026-06-01
- **Repository:** [https://github.com/nextcloud/server](https://github.com/nextcloud/server)

## Typical fix size

- Median lines changed per fix: 30
- Fixes touching a single function: 36%
- Fixes under 20 changed lines: 42%

## Most-patched functions

| Function | File | CVEs | Patches | Last fixed |
| --- | --- | --- | --- | --- |
| [\_\_construct](https://radicalnotion.ai/fixes/nextcloud/server/__construct) | lib/private/Server.php | 5 | 9 | 2024-11-15 |
| [getToken](https://radicalnotion.ai/fixes/nextcloud/server/getToken) | apps/oauth2/lib/Controller/OauthApiController.php | 4 | 8 | 2024-11-15 |
| [\_\_construct](https://radicalnotion.ai/fixes/nextcloud/server/__construct) | apps/oauth2/lib/Controller/OauthApiController.php | 3 | 6 | 2024-01-18 |
| [tryTokenLogin](https://radicalnotion.ai/fixes/nextcloud/server/tryTokenLogin) | lib/private/User/Session.php | 3 | 4 | 2026-06-01 |
| [\_\_construct](https://radicalnotion.ai/fixes/nextcloud/server/__construct) | apps/dav/lib/Server.php | 3 | 4 | 2024-06-14 |
| [checkViewOnly](https://radicalnotion.ai/fixes/nextcloud/server/checkViewOnly) | apps/dav/lib/DAV/ViewOnlyPlugin.php | 3 | 4 | 2024-06-14 |
| [\_\_construct](https://radicalnotion.ai/fixes/nextcloud/server/__construct) | core/Controller/LostController.php | 3 | 4 | 2023-03-27 |
| [addClient](https://radicalnotion.ai/fixes/nextcloud/server/addClient) | apps/oauth2/lib/Controller/SettingsController.php | 2 | 4 | 2024-11-15 |
| [generateAppPassword](https://radicalnotion.ai/fixes/nextcloud/server/generateAppPassword) | core/Controller/ClientFlowLoginController.php | 2 | 4 | 2024-01-18 |
| [addDnsPinning](https://radicalnotion.ai/fixes/nextcloud/server/addDnsPinning) | lib/private/Http/Client/DnsPinMiddleware.php | 2 | 4 | 2023-11-21 |
| [handleLoginFailed](https://radicalnotion.ai/fixes/nextcloud/server/handleLoginFailed) | lib/private/User/Session.php | 2 | 4 | 2023-10-13 |
| [logClientIn](https://radicalnotion.ai/fixes/nextcloud/server/logClientIn) | lib/private/User/Session.php | 2 | 4 | 2023-10-13 |
| [setPassword](https://radicalnotion.ai/fixes/nextcloud/server/setPassword) | core/Controller/LostController.php | 2 | 4 | 2023-06-23 |
| [updateShare](https://radicalnotion.ai/fixes/nextcloud/server/updateShare) | apps/files\_sharing/lib/Controller/ShareAPIController.php | 2 | 4 | 2023-03-27 |
| [checkIp](https://radicalnotion.ai/fixes/nextcloud/server/checkIp) | lib/private/Http/Client/LocalAddressChecker.php | 2 | 4 | 2023-02-13 |

## Most-patched files

| File | CVEs | Functions |
| --- | --- | --- |
| core/Controller/LostController.php | 5 | 7 |
| lib/private/User/Session.php | 5 | 4 |
| lib/composer/composer/autoload\_static.php | 5 | 2 |
| lib/private/Server.php | 5 | 1 |
| lib/composer/composer/autoload\_classmap.php | 5 | 0 |
| apps/oauth2/lib/Controller/OauthApiController.php | 4 | 3 |
| version.php | 4 | 0 |
| apps/dav/lib/DAV/ViewOnlyPlugin.php | 3 | 2 |
| apps/dav/composer/composer/autoload\_static.php | 3 | 1 |
| apps/dav/lib/Server.php | 3 | 1 |

## Latest CVE fixes

| CVE | Title | Severity | CVSS | CISA KEV | Functions changed | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-45810 | Nextcloud: Propfind requests for file comments allowed to load comments for other files | medium | 6.8 | No | addOrderBy, childExists, addOrderBy | 2026-06-01 |
| CVE-2026-45691 | Nextcloud: Bypass of second factor authentication on DAV endpoints | medium | 5.9 | No | tryTokenLogin, in\_array | 2026-06-01 |
| CVE-2026-45690 | Nextcloud: Two-Factor Authentication Bypass via Pending Session Token Replay | medium | 5.9 | No | tryTokenLogin, in\_array | 2026-06-01 |
| CVE-2026-45281 | Nextcloud: Cross-Account Calendar Takeover via Unauthorized Group-Member-Set Update | high | 8.1 | No | getChild, ProxyRead, ProxyWrite | 2026-06-01 |
| CVE-2026-45157 | Nextcloud: Valid share tokens allow to access tempory upload files of share owner | medium | 6.3 | No | beforeGet, getChildren, \_\_construct | 2026-06-01 |
| CVE-2025-66552 | Nextcloud Server admin\_audit does not log all actions on files in groupfolders | medium | 4.3 | No | afterRename, copy, beforePreviewFetched | 2025-12-05 |
| CVE-2025-66547 | Nextcloud Server users can modify tags on files that do not belong to them | medium | 4.3 | No | TagUpdateForbiddenException, \_\_construct, \_\_construct | 2025-12-05 |
| CVE-2025-66510 | Nextcloud Server Contacts Search allowed users to retrieve contact information of other users beyond their contact list | medium | 4.9 | No | ConfigLexicon, getChildren, handleGetValue | 2025-12-05 |
| CVE-2025-47794 | Nextcloud Server vulnerable to insecure temporary file creation, race with write access and permission | medium | 4.3 | No | buildFileNameWithSuffix, getTemporaryFolder, getTemporaryFile | 2025-05-16 |
| CVE-2025-47793 | Nextcloud Server and Groupfolders app vulnerable to bypass of group folder quota limit using attachment in text file | medium | 6.5 | No | shouldApplyQuota | 2025-05-16 |
| CVE-2025-47791 | Nextcloud Server's test remote endpoint is not rate limited | medium | 5.3 | No | testUrl, \_\_construct | 2025-05-16 |
| CVE-2025-47790 | Nextcloud Server doesn't request second factor after session timeout | medium | 6.4 | No | tryTokenLogin | 2025-05-16 |

## Frequently asked questions

### How many CVEs have a located fix in nextcloud/server?

112 published CVEs have a fix traced to functions in nextcloud/server, touching 280 functions across 180 files.

### Which function in nextcloud/server has been patched most often?

\_\_construct in lib/private/Server.php has been changed by 9 distinct patches, fixing 5 CVEs, from 2021 to 2024.

### How large is a typical CVE fix in nextcloud/server?

The median fix changes 30 lines. 42% of fixes change 20 lines or fewer, and 36% change a single function.

### How is a fix located to a function?

The upstream fix commit for each CVE is fetched and its diff is split into hunks. Each hunk is attributed to the function, method or type it changes, using the definition the diff itself names. Backports of the same fix to stable branches are counted once.

## Similar repositories

- [rails/rails](https://radicalnotion.ai/fixes/rails/rails) (114 CVEs)
- [wolfSSL/wolfssl](https://radicalnotion.ai/fixes/wolfssl/wolfssl) (114 CVEs)
- [chamilo/chamilo-lms](https://radicalnotion.ai/fixes/chamilo/chamilo-lms) (115 CVEs)
- [openssl/openssl](https://radicalnotion.ai/fixes/openssl/openssl) (109 CVEs)
- [python-pillow/Pillow](https://radicalnotion.ai/fixes/python-pillow/pillow) (109 CVEs)
- [the-tcpdump-group/tcpdump](https://radicalnotion.ai/fixes/the-tcpdump-group/tcpdump) (116 CVEs)
- [InternationalColorConsortium/iccDEV](https://radicalnotion.ai/fixes/internationalcolorconsortium/iccdev) (104 CVEs)
- [keycloak/keycloak](https://radicalnotion.ai/fixes/keycloak/keycloak) (121 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/fixes/nextcloud/server). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
