# CVE-2022-4796: Incorrect Use of Privileged APIs in usememos/memos

- Severity: High 8.1 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.81%, higher than 58% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-12-28T00:00:00.000Z
- Modified: 2026-06-17T05:21:52.437Z
- Also known as: GHSA-ghx2-6v4g-9wmm, GO-2022-1236
- Weaknesses: CWE-648
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntrdev

## Description

Incorrect Use of Privileged APIs in GitHub repository usememos/memos prior to 0.9.1.

(As written by CVE List.)

## Affected

- usememos usememos/memos: from unspecified before 0.9.1
- github.com/usememos/memos (Go): before 0.9.1
- usememos memos: before 0.9.1

## Every score

- @huntrdev: CVSS:3.0 8.1 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://huntr.dev/bounties/efe8001b-1d6a-41af-a64c-736705cc66a6> (exploit, patch, third-party-advisory, web)
- <https://github.com/usememos/memos/commit/3556ae4e651d9443dc3bb8a170dd3cc726517a53> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-4796> (advisory)
- <https://github.com/usememos/memos> (package)
- <https://github.com/advisories/GHSA-ghx2-6v4g-9wmm> (advisory)

## Sources

- CVE List: [CVE-2022-4796](https://www.cve.org/CVERecord?id=CVE-2022-4796), CVE Terms of Use, modified 2025-04-10
- GitHub Advisory Database: [GHSA-ghx2-6v4g-9wmm](https://github.com/advisories/GHSA-ghx2-6v4g-9wmm), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-1236](https://pkg.go.dev/vuln/GO-2022-1236), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-4796](https://nvd.nist.gov/vuln/detail/CVE-2022-4796), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-4796 · Whole record: https://cve.day/CVE-2022-4796.json · Rebuilt by cve.day 2026-11-25T22:58:17.913Z
