Home / enchant97 / note-mark / CVE-2026-50553
CVE-2026-50553: is it exploited, and which versions of enchant97 note-mark are affected and fixed?
CVE-2026-50553 is an improper input validation vulnerability in enchant97 note-mark. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: github.com/enchant97/note-mark/backend before 0.0.0-20260601210719-67b7de04308a (GitHub advisory GHSA-rqrh-8wpv-x7hh). Fixed in 0.0.0-20260601210719-67b7de04308a (GitHub advisory GHSA-rqrh-8wpv-x7hh). Severity: High (8.6, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:08 UTC.
What is CVE-2026-50553?
Note Mark: Path traversal via unsanitized book/note slug in migrate export (sibling of GHSA-g49p)
Note Mark is an open-source note-taking application. Prior to version 0.19.5, Note Mark validates book and note slug values with the OpenAPI/huma tag pattern:"[a-z0-9-]+". huma compiles this with regexp.MustCompile(s.Pattern) and tests it with patternRe.MatchString(str), an UNANCHORED match. Because the pattern is not anchored (^...$), any string that merely CONTAINS one [a-z0-9-] substring passes validation. A slug such as ../../../../../../tmp/escape is accepted and stored verbatim. The data-export CLI commands (note-mark migrate export and note-mark migrate export-v1) join these unsanitized slugs straight into the output path with path.Join / filepath.Join, then os.MkdirAll the directory and os.Create the note file. path.Join resolves the ../ segments, so the note content file is written OUTSIDE the configured export directory. The export process commonly runs as root (default in Docker / bare-metal admin usage), so this is a root-privilege arbitrary directory create + file write. This issue has been patched in version 0.19.5.
From the CVE record by GitHub_M, last updated September 4, 2026, 17:46 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| enchant97 | note-mark | < 0.19.5 |
As the CVE record by GitHub_M states it, last updated September 4, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/enchant97/note-mark/backend | < 0.0.0-20260601210719-67b7de04308a | 0.0.0-20260601210719-67b7de04308a | GHSA-rqrh-8wpv-x7hh |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 9, 2026. Summary: Note Mark: Path traversal via unsanitized book/note slug in migrate export (sibling of GHSA-g49p).
How severe is CVE-2026-50553?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.6 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-50553 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, September 4, 2026)
- EPSS
- 0.38% probability of exploitation activity in the next 30 days, percentile 34.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/enchant97/note-mark/security/advisories/GHSA-rqrh-8wpv-x7hh x_refsource_CONFIRM
- https://github.com/enchant97/note-mark/commit/67b7de04308a858ef27ceff87b514067b6d667e5 x_refsource_MISC
- https://github.com/enchant97/note-mark/releases/tag/v0.19.5 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- June 4, 2026
- Published
- September 4, 2026, 17:25 UTC
- CVE record updated
- September 4, 2026, 17:46 UTC by GitHub_M
- NVD
- Deferred, last modified September 9, 2026, 21:09 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:08 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect note-mark?
- Sep 3, 2026CVE-2026-50554 enchant97 note-mark: information disclosure
- May 14, 2026CVE-2026-44522 enchant97 note-mark: improper input validation
- May 14, 2026CVE-2026-44523 enchant97 note-mark: weak encryption
- May 4, 2026CVE-2026-41572 enchant97 note-mark: improper authorization
- May 4, 2026CVE-2026-41571 enchant97 note-mark: authentication bypass (improper authentication)
- Apr 16, 2026CVE-2026-40265 enchant97 note-mark: missing authorization
- Apr 16, 2026CVE-2026-40263 enchant97 note-mark: timing side channel
- Apr 16, 2026CVE-2026-40262 enchant97 note-mark: cross-site scripting (XSS)
Questions about CVE-2026-50553
Is CVE-2026-50553 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.38% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of enchant97 note-mark are affected by CVE-2026-50553?
github.com/enchant97/note-mark/backend before 0.0.0-20260601210719-67b7de04308a, per the GitHub advisory GHSA-rqrh-8wpv-x7hh. The tables above give every range the sources list.
Which version fixes CVE-2026-50553?
0.0.0-20260601210719-67b7de04308a, per the GitHub advisory GHSA-rqrh-8wpv-x7hh. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-50553?
High (8.6, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-50553?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.