Incorrect Permission Assignment for Critical Resource Affecting github.com/usememos/memos/server/router/api/v1 package, versions <0.25.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.18% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMUSEMEMOSMEMOSSERVERROUTERAPIV1-14236430
  • published10 Dec 2025
  • disclosed8 Dec 2025
  • creditFlorian Dewald

Introduced: 8 Dec 2025

CVE-2025-65798  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade github.com/usememos/memos/server/router/api/v1 to version 0.25.3 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource when handling attachments. An attacker can modify or delete files belonging to other users by sending crafted requests with low-level privileges.

CVSS Base Scores

version 4.0
version 3.1