{
  "id": "2024/546",
  "url": "https://opencryptology.org/2024/546",
  "original_url": "https://eprint.iacr.org/2024/546",
  "title": "Share with Care: Breaking E2EE in Nextcloud",
  "authors": [
    "Martin R. Albrecht",
    "Matilda Backendal",
    "Daniele Coppola",
    "Kenneth G. Paterson"
  ],
  "affiliations": null,
  "abstract": "Nextcloud is a leading cloud storage platform with more than 20 million users.\nNextcloud offers an end-to-end encryption (E2EE) feature that is claimed to be able “to keep extremely sensitive data fully secure even in case of a full server breach”.\nThey also claim that the Nextcloud server “has Zero Knowledge, that is, never has access to any of the data or keys in unencrypted form”.\nThis is achieved by having encryption and decryption operations that are done using file keys that are only available to  Nextcloud clients, with those file keys being protected by a key hierarchy that ultimately relies on long passphrases known exclusively to the users.\n\nWe provide the first detailed documentation and security analysis of Nextcloud's E2EE feature. \nNextcloud's strong security claims motivate conducting the analysis in the setting where the server itself is considered malicious. \nWe present three distinct attacks against the E2EE security guarantees in this setting. \nEach one enables the confidentiality and integrity of all user files to be compromised. \nAll three attacks are fully practical and we have built proof-of-concept implementations for each. \nThe vulnerabilities make it trivial for a malicious Nextcloud server to access and manipulate users' data.\n\nWe have responsibly disclosed the three vulnerabilities to Nextcloud. The second and third vulnerabilities have been remediated. The first was addressed by temporarily disabling file sharing from the E2EE feature until a redesign of the feature can be made. \nWe reflect on broader lessons that can be learned for designers of E2EE systems.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Share with Care: Breaking E2EE in Nextcloud” by Martin R. Albrecht, Matilda Backendal, Daniele Coppola, Kenneth G. Paterson, Cryptology ePrint Archive, Paper 2024/546, https://eprint.iacr.org/2024/546. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-04-08T20:15:47Z",
    "updated": "2024-04-08T20:15:47Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/546.pdf",
    "sha256": "16da1701b84e99547334708c738c6bceee64fae3e44967ee80bbe5e86eb90991",
    "size": 343441,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/546/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/546.pdf",
      "size": 343441,
      "sha256": "16da1701b84e99547334708c738c6bceee64fae3e44967ee80bbe5e86eb90991",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260820180911id_/https://eprint.iacr.org/2024/546.pdf",
      "captured_at": "2026-08-20T18:09:11Z",
      "size": 342608
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/546.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 343441
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/546,\n      author = {Martin R. Albrecht and Matilda Backendal and Daniele Coppola and Kenneth G. Paterson},\n      title = {Share with Care: Breaking E2EE in Nextcloud},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/546},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/546}\n}"
}
