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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 0.21.0 (CNA); fix release not confirmed
- Status: published
- Published: 2024-08-20 · Modified: 2025-01-09
- Aliases: GHSA-p4fx-qf2h-jpmj, GO-2024-3088
- Record: https://cvemate.com/vulnerability/CVE-2024-41659 · JSON: https://cvemate.com/vulnerability/CVE-2024-41659/json

## Description

```text
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.
```

## Signals

- CVSS: 8.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- EPSS: 0.643%, percentile 52.291%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- github.com/usememos memos (Go): \< 0.21.0
- usememos memos: \< 0.21.0

## References

- <https://securitylab.github.com/advisories/GHSL-2024-034_memos/>
- <https://github.com/usememos/memos/commit/8101a5e0b162044c16385bee4f12a4a653d050b9>
- <https://github.com/usememos/memos/blob/v0.20.1/server/server.go#L163>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-41659>
- <https://github.com/usememos/memos>
- <https://securitylab.github.com/advisories/GHSL-2024-034_memos>
- <https://github.com/advisories/GHSA-p4fx-qf2h-jpmj>

---

Data as of 2026-12-05T14:33:17.874Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
