CVE-2025-56760
MEDIUM4.3EPSS 0.18%Memos Vulnerable to Path Traversal via the CreateResource Endpoint
Published: 9/4/2025Modified: 9/8/2025
Description
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.
Affected packages (2)
- Go/github.com/usememos/memosfrom 0, <= 0.22.0
- Go/github.com/usememos/memosfrom 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
References (5)
- ADVISORYhttps://github.com/advisories/GHSA-78j5-8vq7-jxv5
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-56760
- PATCHhttps://github.com/usememos/memos
- WEBhttps://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48
- WEBhttps://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples