{"id":"EUVD-2026-30370","enisaUuid":"a0f48eb3-d5e1-37d9-ba6a-24fba7aa3ff7","description":"Note Mark is an open-source note-taking application. From 0.13.0 to before 0.19.4, the Note Mark application allows authenticated users to upload assets to notes via POST /api/notes/{noteID}/assets, where the asset filename is provided through the X-Name HTTP request header. This value is stored directly in the database without any sanitization or validation - no path separator filtering, no directory traversal sequence rejection, and no use of filepath.Base() to strip directory components. The unsanitized name is persisted as-is in the note_assets table (Name column, varchar(80)). When an administrator subsequently runs the data export CLI commands (note-mark migrate export-v1 or note-mark migrate export), the stored asset name is passed directly into filepath.Join() and path.Join() calls as part of the output file path argument to os.Create(). Since Go\u0027s filepath.Join() resolves ../ sequences during path normalization, an attacker-controlled asset name containing directory traversal sequences causes the export process to write files to arbitrary locations on the filesystem, completely outside the intended export directory. This vulnerability is fixed in 0.19.4.","datePublished":"May 14, 2026, 6:44:35 PM","dateUpdated":"May 14, 2026, 7:44:31 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-g49p-4qxj-88v3\n","aliases":"CVE-2026-44522\nGHSA-g49p-4qxj-88v3\n","assigner":"GitHub_M","epss":0.57,"enisaIdProduct":[{"id":"d1fb2882-29f5-397b-b41c-a2c5a0a3f4c4","product":{"name":"note-mark","vendor":{"name":"enchant97"}},"product_version":"0.13.0, \u003c 0.19.4"}],"enisaIdVendor":[{"id":"df056414-9f2c-3b09-9d79-a715202d960f","vendor":{"name":"enchant97"}}],"enisaIdVulnerability":[{"id":"8a5a95dd-4848-37d7-984a-ad296a4cc783","vulnerability":{"id":"GHSA-g49p-4qxj-88v3","description":"Note Mark: Arbitrary File Write via Path Traversal in Asset Names Leads to Remote Code Execution","datePublished":"May 7, 2026, 9:06:55 PM","dateUpdated":"May 15, 2026, 11:45:00 PM","baseScore":0.0,"references":"https://github.com/enchant97/note-mark/security/advisories/GHSA-g49p-4qxj-88v3\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-44522\nhttps://github.com/enchant97/note-mark\nhttps://github.com/enchant97/note-mark/releases/tag/v0.19.4\n","enisa_id":"EUVD-2026-30370\n","aliases":"GHSA-g49p-4qxj-88v3\nCVE-2026-44522\n","epss":0.0,"dataProcessed":"Oct 25, 2026, 1:55:50 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"938c0929-f32d-304d-9ecf-521ddf880364","vulnerability":{"id":"CVE-2026-44522","description":"Note Mark is an open-source note-taking application. From 0.13.0 to before 0.19.4, the Note Mark application allows authenticated users to upload assets to notes via POST /api/notes/{noteID}/assets, where the asset filename is provided through the X-Name HTTP request header. This value is stored directly in the database without any sanitization or validation - no path separator filtering, no directory traversal sequence rejection, and no use of filepath.Base() to strip directory components. The unsanitized name is persisted as-is in the note_assets table (Name column, varchar(80)). When an administrator subsequently runs the data export CLI commands (note-mark migrate export-v1 or note-mark migrate export), the stored asset name is passed directly into filepath.Join() and path.Join() calls as part of the output file path argument to os.Create(). Since Go\u0027s filepath.Join() resolves ../ sequences during path normalization, an attacker-controlled asset name containing directory traversal sequences causes the export process to write files to arbitrary locations on the filesystem, completely outside the intended export directory. This vulnerability is fixed in 0.19.4.","datePublished":"May 14, 2026, 6:44:35 PM","dateUpdated":"May 14, 2026, 7:44:31 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-g49p-4qxj-88v3\n","enisa_id":"EUVD-2026-30370\n","assigner":"GitHub_M","epss":0.57,"dataProcessed":"Oct 28, 2026, 7:17:27 AM","vulnerabilityProduct":[{"id":"241149e9-d347-38b2-a570-13c77f746fcd","product":{"name":"note-mark","vendor":{"name":"enchant97"}},"product_version":"0.13.0, \u003c 0.19.4"}],"vulnerabilityVendor":[{"id":"1745323e-dab1-33d0-8057-190f32f44ce1","vendor":{"name":"enchant97"}}]}}],"enisaIdAdvisory":[]}