# CVE-2024-41659: GHSL-2024-034: memos CORS Misconfiguration in server.go

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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.64%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-08-20T19:54:08.182Z
- Modified: 2026-06-17T07:48:00.077Z
- Also known as: GHSA-p4fx-qf2h-jpmj, GO-2024-3088
- Weaknesses: CWE-942
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

memos is a privacy-first, lightweight note-taking service. A CORS misconfiguration exists in memos 0.20.1 and earlier where an arbitrary origin is reflected with Access-Control-Allow-Credentials set to true. This may allow an attacking website to make a cross-origin request, allowing the attacker to read private information or make privileged changes to the system as the vulnerable user account. This vulnerability is fixed in 0.21.0.

(As written by CVE List.)

## Affected

- usememos memos: < 0.21.0; up to 0.20.1; before 0.21.0
- github.com/usememos/memos (Go): before 0.21.0

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`

## References

- <https://securitylab.github.com/advisories/GHSL-2024-034_memos/> (exploit, third-party-advisory)
- <https://github.com/usememos/memos/commit/8101a5e0b162044c16385bee4f12a4a653d050b9> (fix, patch, web)
- <https://github.com/usememos/memos/blob/v0.20.1/server/server.go#L163> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-41659> (advisory)
- <https://github.com/usememos/memos> (package)
- <https://securitylab.github.com/advisories/GHSL-2024-034_memos> (advisory)
- <https://github.com/advisories/GHSA-p4fx-qf2h-jpmj> (advisory)

## Sources

- CVE List: [CVE-2024-41659](https://www.cve.org/CVERecord?id=CVE-2024-41659), CVE Terms of Use, modified 2025-01-09
- GitHub Advisory Database: [GHSA-p4fx-qf2h-jpmj](https://github.com/advisories/GHSA-p4fx-qf2h-jpmj), CC-BY-4.0, modified 2024-08-30
- Go Vulnerability Database: [GO-2024-3088](https://pkg.go.dev/vuln/GO-2024-3088), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-41659](https://nvd.nist.gov/vuln/detail/CVE-2024-41659), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-41659 · Whole record: https://cve.day/CVE-2024-41659.json · Rebuilt by cve.day 2026-11-25T22:58:44.596Z
