{"id":"EUVD-2026-71618","enisaUuid":"22d0e9b7-5b4b-363f-abaf-c4e04201b5ff","description":"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.","datePublished":"Sep 4, 2026, 5:25:11 PM","dateUpdated":"Sep 4, 2026, 5:46:40 PM","baseScore":8.6,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/enchant97/note-mark/security/advisories/GHSA-rqrh-8wpv-x7hh\nhttps://github.com/enchant97/note-mark/commit/67b7de04308a858ef27ceff87b514067b6d667e5\nhttps://github.com/enchant97/note-mark/releases/tag/v0.19.5\n","aliases":"CVE-2026-50553\nGHSA-rqrh-8wpv-x7hh\n","assigner":"GitHub_M","epss":0.46,"enisaIdProduct":[{"id":"aff9c544-0d26-388c-b77d-d177c345936f","product":{"name":"note-mark","vendor":{"name":"enchant97"}},"product_version":"\u003c 0.19.5"}],"enisaIdVendor":[{"id":"af85b50f-bd78-3317-8a6d-1a5c86132164","vendor":{"name":"enchant97"}}],"enisaIdVulnerability":[{"id":"12ee75d3-8e9a-3f19-92ac-fada535811de","vulnerability":{"id":"GHSA-rqrh-8wpv-x7hh","description":"Note Mark: Path traversal via unsanitized book/note slug in migrate export (sibling of GHSA-g49p)","datePublished":"Jul 9, 2026, 1:41:35 PM","dateUpdated":"Jul 9, 2026, 1:41:35 PM","baseScore":0.0,"references":"https://github.com/enchant97/note-mark/security/advisories/GHSA-rqrh-8wpv-x7hh\nhttps://github.com/enchant97/note-mark/commit/67b7de04308a858ef27ceff87b514067b6d667e5\nhttps://github.com/enchant97/note-mark\n","enisa_id":"EUVD-2026-71618\n","aliases":"CVE-2026-50553\nGHSA-rqrh-8wpv-x7hh\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:52:09 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"72aa2af7-a483-38ce-b005-7721a5a63c6a","vulnerability":{"id":"CVE-2026-50553","description":"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.","datePublished":"Sep 4, 2026, 5:25:11 PM","dateUpdated":"Sep 4, 2026, 5:46:40 PM","status":"PUBLISHED","baseScore":8.6,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/enchant97/note-mark/security/advisories/GHSA-rqrh-8wpv-x7hh\nhttps://github.com/enchant97/note-mark/commit/67b7de04308a858ef27ceff87b514067b6d667e5\nhttps://github.com/enchant97/note-mark/releases/tag/v0.19.5\n","enisa_id":"EUVD-2026-71618\n","assigner":"GitHub_M","epss":0.46,"dataProcessed":"Nov 17, 2026, 7:20:47 AM","vulnerabilityProduct":[{"id":"35e9b93b-bf84-3bfa-8d9d-80a66a80f167","product":{"name":"note-mark","vendor":{"name":"enchant97"}},"product_version":"\u003c 0.19.5"}],"vulnerabilityVendor":[{"id":"976ef199-0479-3d7f-8452-0c886098d671","vendor":{"name":"enchant97"}}]}}],"enisaIdAdvisory":[]}