CVE-2026-142331: Notesnook-sync-server 1.0-beta.6 through 1.0-beta.52 Email Disclosure via /announcements/active
Notesnook-sync-server 1.0-beta.6 through 1.0-beta.52 contains an information disclosure vulnerability that allows unauthenticated attackers to retrieve user email addresses via the userId parameter of GET /announcements/active. Attackers can enumerate MongoDB ObjectId user IDs so that AnnouncementController substitutes each account's email into announcement links containing the {{Email}} placeholder.
Affected Software
Event History
Frequently Asked Questions
Which deployments are affected?
Notesnook Sync Server versions 1.0-beta.6 through 1.0-beta.52 are affected.
Does exploitation require an authenticated account or user interaction?
No. An unauthenticated attacker can send requests to GET /announcements/active with a userId parameter; no user interaction is required.
What information can be exposed?
The issue can disclose account email addresses when announcement links contain the {{Email}} placeholder. The reported impact is limited to confidentiality; integrity and availability are not affected.