{"schema_version":"1.7.3","id":"GHSA-78j5-8vq7-jxv5","published":"2025-09-04T15:30:28Z","modified":"2025-09-08T14:59:18.618878Z","aliases":["CVE-2025-56760","GO-2025-3936"],"summary":"Memos Vulnerable to Path Traversal via the CreateResource Endpoint","details":"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":[{"package":{"name":"github.com/usememos/memos","ecosystem":"Go","purl":"pkg:golang/github.com/usememos/memos"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.22.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-78j5-8vq7-jxv5/GHSA-78j5-8vq7-jxv5.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-56760"},{"type":"PACKAGE","url":"https://github.com/usememos/memos"},{"type":"WEB","url":"https://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48"},{"type":"WEB","url":"https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples"}],"database_specific":{"cwe_ids":["CWE-24"],"github_reviewed":true,"github_reviewed_at":"2025-09-05T15:33:36Z","nvd_published_at":"2025-09-03T17:15:34Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"}]}