Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2025-56760

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-56760
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 17:41 UTC · Revision 1

Source evidence

CVE-2025-56760

core-osv · Original source

Published 3 Sept 2025, 00:00 UTC

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.

osv:CVE-2025-56760
Complete source record
{
  "id": "e81fe13671e782688b7f4d4abad1595abfda6d201fb037e9888660a61610814c",
  "url": "https://osv.dev/vulnerability/CVE-2025-56760",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2025-56760",
    "summary": "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.",
    "evidence": "osv:CVE-2025-56760",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-56760",
      "aliases": [
        "CVE-2025-56760",
        "GHSA-78j5-8vq7-jxv5",
        "GO-2025-3936"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/usememos/memos",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c25c57ab6194c7f70c0efada290247c741aa5b0d"
                },
                {
                  "last_affected": "c25c57ab6194c7f70c0efada290247c741aa5b0d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:usememos:memos:0.22.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "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"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.878432900Z",
      "provider": "osv",
      "references": [
        "https://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/56xxx/CVE-2025-56760.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-56760",
        "https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/56xxx/CVE-2025-56760.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-56760",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497954,
  "published_at": "2025-09-03T00:00:00+00:00"
}