CVE-2026-50554 Note Mark: Unauthenticated disclosure of soft-deleted note metadata via deleted=true on public books in note-mark

Medium 5.3 Published Updated

Unauthenticated attackers can view metadata of soft-deleted notes in public books by exploiting an API parameter that bypasses soft-delete scoping.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-50554?

CVE-2026-50554 is a medium-severity vulnerability in enchant97 note-mark, published on 3 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Note Mark is an open-source note-taking application. Prior to version 0.19.5, GET /api/books/{bookID}/notes is an unauthenticated endpoint that accepts a "deleted" query parameter. When the request is ?deleted=true, the service runs the query with Unscoped() (bypassing GORM's soft-delete scope) but keeps the read-authorization clause as "owner_id = ? OR is_public = ?". As a result, any unauthenticated caller can enumerate the metadata of soft-deleted ("trashed") notes belonging to any public book — notes the owner explicitly deleted and expected to be removed from public view. This issue has been patched in version 0.19.5.

Weakness: CWE-285, CWE-200

Which versions are affected by CVE-2026-50554?

3 open source packages ship an affected version, including github.com/enchant97/note-mark/backend.

PackageAffectedFixed in
github.com/enchant97/note-mark/backend GoAll versions0.0.0-20260601210758-9c9b72740f22
github.com/enchant97/note-mark/backend GoAll versions0.0.0-20260601210758-9c9b72740f22
github.com/enchant97/note-mark/backend GoAll versions0.0.0-20260601210758-9c9b72740f22

How do I fix CVE-2026-50554?

Upgrade github.com/enchant97/note-mark/backend to 0.0.0-20260601210758-9c9b72740f22 or later.

Is CVE-2026-50554 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-50554 exists.

Sources

Also known as GHSA-588f-fvcv-xhvf, GO-2026-5948.

Is CVE-2026-50554 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free