GitHub Advisory Database
GHSA-qgjp-5g5x-vhq2
memos lacks file name validation or verification
Details
A lack of file name validation or verification in the Attachment service of usememos memos v0.25.2 allows attackers to execute a path traversal.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/usememos/memos | All versions before 0.25.3 (fixed in 0.25.3) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-65799
- https://github.com/usememos/memos/pull/5218
- https://github.com/usememos/memos/commit/5f57f48673e2054f404b2c5b497a8eaa3690591d
- https://github.com/advisories/GHSA-qgjp-5g5x-vhq2
- https://github.com/usememos/memos
- https://herolab.usd.de/security-advisories/usd-2025-0056
- http://memos.com
- http://usememos.com