---
id: CVE-2025-65799
title: >-
  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.
summary: >-
  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.
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'
cwe:
  - CWE-73
vendor: usememos
product: memos
affected:
  - memos = 0.25.2
published: '2025-12-08'
updated: '2026-07-05'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-65799'
references:
  - url: 'https://github.com/usememos/memos/pull/5218'
    label: cve@mitre.org
  - url: 'https://herolab.usd.de/security-advisories/usd-2025-0056/'
    label: cve@mitre.org
tags:
  - nvd
epss: 0.00214
epssPercentile: 0.11996
ingestedAt: '2026-07-06T16:44:34.483Z'
---

## Overview

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.

## Affected

- `memos = 0.25.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
