{"schema_version":"1.9.0","id":"CVE-2025-56760","published":"2025-09-03T00:00:00Z","modified":"2026-08-12T03:51:32.244109284Z","aliases":["GHSA-78j5-8vq7-jxv5","GO-2025-3936"],"related":["SUSE-SU-2025:03289-1","openSUSE-SU-2025:15538-1","openSUSE-SU-2026:21483-1"],"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":[{"ranges":[{"type":"GIT","repo":"https://github.com/usememos/memos","events":[{"introduced":"c25c57ab6194c7f70c0efada290247c741aa5b0d"},{"last_affected":"c25c57ab6194c7f70c0efada290247c741aa5b0d"}],"database_specific":{"cpe":"cpe:2.3:a:usememos:memos:0.22.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.22.0"},{"last_affected":"0.22.0"}],"source":"CPE_STRING"}}],"versions":["0.22.0","v0.22.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-56760.json"}}],"references":[{"type":"WEB","url":"https://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/56xxx/CVE-2025-56760.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-56760"},{"type":"ARTICLE","url":"https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/"}],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/56xxx/CVE-2025-56760.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"}]}