Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-46958

CVE-2024-46958: Nextcloud Desktop Information Disclosure

CVE-2024-46958 is an information disclosure vulnerability in Nextcloud Desktop Client for Linux that exposes synchronized files with improper permissions. This article covers technical details, affected versions, and mitigation.

Published: April 8, 2026

CVE-2024-46958 Overview

CVE-2024-46958 is an insecure permissions vulnerability affecting Nextcloud Desktop Client versions 3.13.1 through 3.13.3 on Linux systems. The vulnerability causes synchronized files between the Nextcloud server and client to potentially become world writable or world readable, exposing sensitive data to unauthorized local users and allowing malicious modification of synchronized content.

Critical Impact

Synchronized files may become accessible to any local user on the system, potentially exposing confidential data and allowing unauthorized file modifications that could propagate to the Nextcloud server and other connected clients.

Affected Products

  • Nextcloud Desktop Client versions 3.13.1 through 3.13.3
  • Linux operating systems running affected Nextcloud Desktop versions
  • All synchronized files managed by the vulnerable client versions

Discovery Timeline

  • 2024-09-16 - CVE-2024-46958 published to NVD
  • 2025-03-13 - Last updated in NVD database

Technical Details for CVE-2024-46958

Vulnerability Analysis

This vulnerability represents a file permission handling flaw in the Nextcloud Desktop Client's synchronization mechanism on Linux systems. When files are synchronized between the Nextcloud server and the local client, the application fails to properly set restrictive file permissions, resulting in files being created with world-readable (0644 or broader) or world-writable (0666 or broader) permissions instead of the expected user-only permissions.

The impact of this vulnerability is significant for multi-user Linux environments where multiple users share the same system. Any local user could potentially read confidential synchronized documents, and in cases where files become world-writable, malicious users could modify synchronized content. These modifications would then propagate back to the Nextcloud server and subsequently to all other connected clients, potentially enabling supply chain-style attacks within an organization's file sharing infrastructure.

Root Cause

The root cause lies in improper file permission handling during the file synchronization process. According to the related GitHub issues and pull requests, the Nextcloud Desktop Client failed to properly preserve or set appropriate Unix file permissions when creating or updating synchronized files on Linux systems. This likely stems from missing umask handling or incorrect chmod operations during the file write process, causing newly synchronized files to inherit overly permissive default permissions rather than restricting access to the owning user.

Attack Vector

The attack vector for this vulnerability is primarily local, despite the network-accessible nature of the synchronization service. An attacker with local system access on an affected Linux machine could exploit this vulnerability through the following mechanism:

  1. The attacker identifies a system running Nextcloud Desktop Client versions 3.13.1-3.13.3
  2. The attacker enumerates world-readable synchronized files to access sensitive documents
  3. If files are world-writable, the attacker modifies synchronized content
  4. Modified files propagate to the Nextcloud server and subsequently to all connected clients

The vulnerability does not require authentication to the Nextcloud service itself—only local access to the Linux system where the vulnerable client is installed. This makes it particularly dangerous in shared computing environments such as university systems, development servers, or multi-user workstations.

Detection Methods for CVE-2024-46958

Indicators of Compromise

  • Files within Nextcloud synchronization directories showing world-readable (o+r) or world-writable (o+w) permissions
  • Unexpected file permission changes in synchronized directories following sync operations
  • Unauthorized access logs showing local users accessing files in other users' Nextcloud sync folders
  • Audit trail anomalies indicating file modifications by users who should not have write access

Detection Strategies

  • Run periodic permission audits using find ~/Nextcloud -perm -o+r -type f to identify world-readable synchronized files
  • Monitor Nextcloud Desktop Client version across endpoints to identify systems running vulnerable versions 3.13.1-3.13.3
  • Deploy file integrity monitoring solutions to detect unexpected permission changes on synchronized directories
  • Review system audit logs for access to files in Nextcloud synchronization directories by unauthorized local users

Monitoring Recommendations

  • Implement automated version checking for Nextcloud Desktop Client installations across the Linux fleet
  • Configure file access auditing (auditd) on Nextcloud synchronization directories to track access patterns
  • Set up alerts for permission changes on files within user synchronization directories
  • Monitor for bulk file permission anomalies that could indicate exploitation or post-exploitation activity

How to Mitigate CVE-2024-46958

Immediate Actions Required

  • Upgrade Nextcloud Desktop Client to version 3.13.4 or later immediately on all affected Linux systems
  • Audit existing synchronized files for overly permissive permissions and remediate using chmod
  • Review file access logs for signs of unauthorized access during the exposure window
  • Notify users who may have had sensitive files exposed due to this vulnerability

Patch Information

Nextcloud has addressed this vulnerability in Desktop Client version 3.13.4. The fix ensures proper file permission handling during synchronization operations on Linux systems. Organizations should prioritize upgrading all affected installations. The Nextcloud Desktop Version Comparison and Nextcloud Desktop Pull Request #7092 provide detailed information about the changes implemented in the fix.

Workarounds

  • Manually correct file permissions on synchronized directories using restrictive umask settings
  • Implement a cron job to periodically reset permissions on Nextcloud sync directories: chmod -R go-rwx ~/Nextcloud
  • Restrict local system access to only trusted users until patching is complete
  • Consider temporarily disabling synchronization on shared multi-user systems until the upgrade can be performed
bash
# Remediate existing file permissions
find ~/Nextcloud -type f -exec chmod 600 {} \;
find ~/Nextcloud -type d -exec chmod 700 {} \;

# Verify no world-accessible files remain
find ~/Nextcloud -perm -o+r -o -perm -o+w

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechNextcloud

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.15%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • Nextcloud Desktop Issue #6863

  • Nextcloud Desktop Pull Request #6949

  • Nextcloud Security Advisory
  • Vendor Resources
  • Nextcloud Desktop Version Comparison

  • Nextcloud Desktop Pull Request #7092
  • Related CVEs
  • CVE-2026-28474: Nextcloud Talk Auth Bypass Vulnerability

  • CVE-2024-22212: Nextcloud Global Site Selector Auth Bypass

  • CVE-2021-32802: Nextcloud Server SSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English