Skip to main content
Vulnerability Database/CVE-2025-47793

CVE-2025-47793: Nextcloud Group Folders Quota Bypass Flaw

CVE-2025-47793 is a privilege escalation vulnerability in Nextcloud Group Folders that allows users to bypass quota limits by uploading files exceeding group folder storage restrictions. This article covers technical details, affected versions, security impact, and available patches.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-47793 Overview

CVE-2025-47793 is a quota enforcement flaw in Nextcloud Server and the Nextcloud Groupfolders app. The vulnerability allows authenticated users to upload attachments that exceed the configured group folder quota. The root cause is the absence of quota checks on the attachment upload path, mapped to [CWE-770] Allocation of Resources Without Limits or Throttling.

Affected deployments include Nextcloud Server before 30.0.2, 29.0.9, and 28.0.1, Nextcloud Enterprise Server before 30.0.2 and 29.0.9, and the Nextcloud Groupfolders app before 18.0.3, 17.0.5, and 16.0.11. The vendor has not published any workarounds.

Critical Impact

Authenticated users can exhaust group folder storage by uploading attachments that bypass quota enforcement, resulting in denial of service for shared team storage.

Affected Products

  • Nextcloud Server versions prior to 30.0.2, 29.0.9, and 28.0.1
  • Nextcloud Enterprise Server versions prior to 30.0.2 and 29.0.9
  • Nextcloud Groupfolders app versions prior to 18.0.3, 17.0.5, and 16.0.11

Discovery Timeline

  • 2025-05-16 - CVE-2025-47793 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-47793

Vulnerability Analysis

The vulnerability resides in the attachment upload workflow of the Nextcloud Groupfolders app. Group folders are admin-configured shared directories backed by a configurable storage quota that caps total data stored within the folder. The quota is normally enforced during standard file upload operations.

Attachments follow a separate code path that did not call the quota validation logic. An authenticated user with write access to a group folder could upload attachments that pushed total storage beyond the defined limit. The result is a resource exhaustion condition impacting integrity of storage accounting and availability of the shared folder.

Root Cause

The root cause is missing input validation on resource allocation. The attachment handler did not check the remaining available quota before accepting and persisting uploaded content. This gap allowed the writer to allocate unbounded storage against the group folder budget until underlying disk capacity was exhausted.

Attack Vector

Exploitation requires an authenticated account with permission to post attachments to a target group folder. No user interaction from other accounts is required. The attacker issues repeated attachment upload requests over the network until the group folder consumes storage well beyond its configured ceiling. See the GitHub Security Advisory GHSA-qqgg-hhfq-vhww and the HackerOne Report #2713272 for additional technical context.

Detection Methods for CVE-2025-47793

Indicators of Compromise

  • Group folder disk usage that exceeds the configured quota reported in the Nextcloud admin console
  • High volume of attachment upload requests from a single authenticated user to /apps/groupfolders/ endpoints
  • Underlying filesystem free space dropping unexpectedly on servers hosting group folder storage

Detection Strategies

  • Compare actual on-disk size of group folders against configured quotas on a scheduled basis
  • Alert on HTTP POST request bursts to attachment endpoints originating from the same session or user identifier
  • Monitor Nextcloud application logs for repeated large file uploads tied to group folder resources

Monitoring Recommendations

  • Enable storage usage telemetry collection and forward Nextcloud logs to a centralized SIEM for correlation
  • Baseline normal attachment upload volume per user, then alert on deviations greater than two standard deviations
  • Review authentication logs for recently created accounts that quickly begin uploading attachments to group folders

How to Mitigate CVE-2025-47793

Immediate Actions Required

  • Upgrade Nextcloud Server to version 30.0.2, 29.0.9, or 28.0.12 depending on your branch
  • Upgrade the Nextcloud Groupfolders app to 18.0.3, 17.0.5, or 16.0.11
  • Audit current group folder disk usage against configured quotas and reclaim overallocated storage
  • Review user accounts with write access to group folders and remove unneeded permissions

Patch Information

The vendor fix is tracked in Nextcloud Server Pull Request #48623 and Nextcloud Groupfolders Pull Request #3328. The patches add quota enforcement to the attachment upload path so that writes are rejected when the configured group folder limit would be exceeded.

Workarounds

  • No workarounds are available according to the vendor advisory; applying the patched versions is the only remediation
  • As a compensating control, restrict attachment upload permissions on sensitive group folders until the upgrade is deployed
bash
# Configuration example: upgrade the Groupfolders app via occ
sudo -u www-data php occ app:update groupfolders
sudo -u www-data php occ app:list | grep groupfolders

# Verify server version meets the fixed release
sudo -u www-data php occ status

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.