{"id":"CVE-2022-4796","aliases":["EUVD-2022-7633","GHSA-ghx2-6v4g-9wmm","GO-2022-1236"],"status":"published","title":"Incorrect Use of Privileged APIs in usememos/memos","description":"Incorrect Use of Privileged APIs in GitHub repository usememos/memos prior to 0.9.1.","severity":{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00812,"percentile":0.57241,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-648"],"published":"2022-12-28T00:00:00Z","modified":"2026-10-28T02:31:15Z","fixes":[{"ecosystem":"Go","package":"github.com/usememos/memos","fixed_in":["0.9.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/usememos/memos","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.9.0"},{"fixed":"0.9.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/usememos/memos","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.9.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/usememos/memos","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.9.1"}]}]}],"products":[{"vendor":"usememos","product":"memos"},{"vendor":"usememos","product":"usememos/memos"}],"references":[{"url":"https://github.com/usememos/memos/commit/3556ae4e651d9443dc3bb8a170dd3cc726517a53","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://huntr.dev/bounties/efe8001b-1d6a-41af-a64c-736705cc66a6","tags":["x_transferred","Exploit","Patch","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4796","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-ghx2-6v4g-9wmm","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4796.json","tags":["advisory"]},{"url":"https://github.com/usememos/memos","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-4796","title":"Incorrect Use of Privileged APIs in usememos/memos","description":"Incorrect Use of Privileged APIs in GitHub repository usememos/memos prior to 0.9.1.","status":"published","published":"2022-12-28T00:00:00Z","modified":"2025-04-10T18:02:52.041Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-648"],"updated_at":"2026-11-02T14:34:38.263045Z"}],"euvd":[{"id":"EUVD-2022-7633","description":"Incorrect Use of Privileged APIs in GitHub repository usememos/memos prior to 0.9.1.","status":"published","published":"2022-12-28T00:00:00Z","modified":"2025-04-10T18:02:52Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T20:52:35.819125Z"}],"ghsa":[{"id":"GHSA-ghx2-6v4g-9wmm","title":"usememos/memos makes Incorrect Use of Privileged APIs","description":"In usememos/memos 0.9.0 and prior, a user with login permission can delete all notes of the whole application via `API DELETE https://demo.usememos.com/api/memo/$idnote`. The vulnerability will lose all user notes data throughout the system, causing damage to user data.","status":"published","published":"2022-12-28T15:30:45Z","modified":"2023-02-03T05:01:29Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high"}],"cwes":["CWE-648"],"updated_at":"2026-11-02T14:36:41.247728Z"}],"nvd":[{"id":"CVE-2022-4796","description":"Incorrect Use of Privileged APIs in GitHub repository usememos/memos prior to 0.9.1.","status":"published","published":"2022-12-28T14:15:09.747Z","modified":"2026-06-17T05:21:52.437Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high","assessor":"primary"},{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-648"],"updated_at":"2026-11-02T14:07:34.388163Z"}],"osv":[{"id":"CVE-2022-4796","title":"Incorrect Use of Privileged APIs in usememos/memos","description":"Incorrect Use of Privileged APIs in GitHub repository usememos/memos prior to 0.9.1.","status":"published","published":"2022-12-28T00:00:00Z","modified":"2026-10-28T02:31:15.100126721Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-648"],"updated_at":"2026-11-02T15:44:27.776402Z"},{"id":"GHSA-ghx2-6v4g-9wmm","title":"usememos/memos makes Incorrect Use of Privileged APIs","description":"In usememos/memos 0.9.0 and prior, a user with login permission can delete all notes of the whole application via `API DELETE https://demo.usememos.com/api/memo/$idnote`. The vulnerability will lose all user notes data throughout the system, causing damage to user data.","status":"published","published":"2022-12-28T15:30:45Z","modified":"2024-08-21T16:28:34.18501Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high"}],"cwes":["CWE-648"],"updated_at":"2026-11-02T15:46:47.822182Z"},{"id":"GO-2022-1236","title":"usememos/memos makes Incorrect Use of Privileged APIs in github.com/usememos/memos","description":"usememos/memos makes Incorrect Use of Privileged APIs in github.com/usememos/memos","status":"published","published":"2024-08-21T16:04:01Z","modified":"2026-03-03T04:53:00.6936Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
