CVE-2024-41659: memos CORS Misconfiguration in server.go (GHSL-2024-034)
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.
Published Aug 22, 2024
Affected packages
github.com/usememos/memos
- Ecosystem
- Go
- Affected
- < 0.21.0
- Fixed in
- 0.21.0
- Check
go list -m github.com/usememos/memos
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-41659
- https://github.com/usememos/memos/commit/8101a5e0b162044c16385bee4f12a4a653d050b9
- https://github.com/usememos/memos/blob/v0.20.1/server/server.go#L163
- https://securitylab.github.com/advisories/GHSL-2024-034_memos
- https://github.com/advisories/GHSA-p4fx-qf2h-jpmj
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-6634
Memos has an Incorrect Privilege Assignment issue
low6.3No fixApr 20, 2026CVE-2025-65795
memos vulnerability allows the creation of arbitrary accounts
high7.5Dec 8, 2025CVE-2025-65796
memos vulnerability allows arbitrarily reactions deletion
medium4.3Dec 8, 2025CVE-2025-65797
memos vulnerability allows arbitrarily modification or deletion registered identity providers
medium6.5Dec 8, 2025CVE-2025-65798
memos vulnerability allows arbitrarily modification or deletion of attachments
medium5.4Dec 8, 2025CVE-2025-65799
memos lacks file name validation or verification
medium4.3Dec 8, 2025
