Memos Vulnerable to Path Traversal via the CreateResource Endpoint in github.com/usememos/memos
Memos Vulnerable to Path Traversal via the CreateResource Endpoint in github.com/usememos/memos
02 / AFFECTED SOFTWARE
Affected packages
2 explicit affected versions
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
When Memos 0.22 is configured to store objects locally, an attacker can create a file via the CreateResource endpoint containing a path traversal sequence in the name, allowing arbitrary file write on the server.
Memos Vulnerable to Path Traversal via the CreateResource Endpoint in github.com/usememos/memos
When Memos 0.22 is configured to store objects locally, an attacker can create a file via the CreateResource endpoint containing a path traversal sequence in the name, allowing arbitrary file write on the server.
05 / REFERENCES
Further evidence
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/56xxx/CVE-2025-56760.json
- https://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48
- https://nvd.nist.gov/vuln/detail/CVE-2025-56760
- https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/
- https://github.com/advisories/GHSA-78j5-8vq7-jxv5
- https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples
- https://github.com/usememos/memos