CVE-2025-56760 Details
Description
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.
A path traversal vulnerability has been identified in Memos version 0.22 when the application is configured to store files locally. This vulnerability allows authenticated attackers to manipulate file paths and write arbitrary files on the server. The issue arises in the CreateResource endpoint, where user-controlled input is not properly sanitized, enabling the exploitation of file upload functionality.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 3, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48 | [email protected] | Product |
| https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/ | [email protected] | ExploitPatchThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-24 | Path Traversal: '../filedir' | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| usememos memos | 0.22.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 7, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 9, 2025 | Initial Analysis | [email protected] |
| Sep 4, 2025 | CVE Modified | CISA-ADP |
| Sep 3, 2025 | CVE Modified | CISA-ADP |
| Sep 3, 2025 | New CVE Received | [email protected] |