Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/usememos/memos
  4. ›
  5. CVE-2025-56760

CVE-2025-56760: Memos Vulnerable to Path Traversal via the CreateResource Endpoint

September 4, 2025 (updated September 5, 2025)

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.

References

  • github.com/advisories/GHSA-78j5-8vq7-jxv5
  • github.com/usememos/memos
  • github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go
  • nvd.nist.gov/vuln/detail/CVE-2025-56760
  • www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples

Code Behaviors & Features

Detect and mitigate CVE-2025-56760 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.22.0

Solution

Unfortunately, there is no solution available yet.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-24: Path Traversal: '../filedir'

Source file

go/github.com/usememos/memos/CVE-2025-56760.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 11 Sep 2025 12:18:02 +0000.