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

CVE-2025-65799: memos lacks file name validation or verification

December 8, 2025 (updated December 9, 2025)

A lack of file name validation or verification in the Attachment service of usememos memos v0.25.2 allows attackers to execute a path traversal.

References

  • github.com/advisories/GHSA-qgjp-5g5x-vhq2
  • github.com/usememos/memos
  • github.com/usememos/memos/commit/5f57f48673e2054f404b2c5b497a8eaa3690591d
  • github.com/usememos/memos/pull/5218
  • herolab.usd.de/security-advisories/usd-2025-0056
  • nvd.nist.gov/vuln/detail/CVE-2025-65799

Code Behaviors & Features

Detect and mitigate CVE-2025-65799 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 before 0.25.3

Fixed versions

  • 0.25.3

Solution

Upgrade to version 0.25.3 or above.

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-73: External Control of File Name or Path

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 14 Dec 2025 00:19:13 +0000.