Nextcloud, Insufficient Logging, CVE-2025-66552 (Medium)

Listen to this Post

The vulnerability stems from incorrect path handling within Nextcloud’s groupfolders feature. Groupfolders, which are shared directories for teams, use a different internal path structure compared to regular user folders. When a user performs an action, such as uploading or deleting a file within a groupfolder, the system must log this event in the admin_audit log. However, a bug in the logging function fails to properly translate the file’s path from the groupfolder’s internal format to a path the audit system can recognize and record. This mismatch causes the logging function to skip creating an audit entry for the action. Consequently, while the file operation itself succeeds, no record of it appears in the administrative audit trail, creating a gap in security monitoring.
Platform: Nextcloud Server
Version: Prior to 30.0.9
Vulnerability : Insufficient Logging
Severity: Medium
date: 12/05/2025

Prediction: 12/05/2025

What Undercode Say:

Bash Commands and Codes:

Check current Nextcloud version
sudo -u www-data php occ config:system:get version
Update Nextcloud via updater or package manager
sudo -u www-data php updater/updater.phar
Check admin_audit app logs
grep "groupfolders" /var/www/nextcloud/data/nextcloud.log

How Exploit:

Actions performed by users, such as file uploads, modifications, or deletions within a shared groupfolder, are not recorded in the administrative audit log. This allows activities to occur without generating an audit trail.

Protection from this CVE

Upgrade Nextcloud Server to version 30.0.9 or 31.0.1. Apply the latest maintenance updates for your version series.

Impact:

Creates gaps in audit trails. Hinders detection of unauthorized actions. Impacts forensic investigations and compliance.

🎯Let’s Practice Exploiting & Learn Patching For Free:

Sources:

Reported By: nvd.nist.gov
Extra Source Hub:
Undercode

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow DailyCVE & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin Featured Image

Scroll to Top