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

- Severity: Medium 4.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-03T00:00:00.000Z
- Modified: 2026-11-07T18:10:00.200Z
- Also known as: GHSA-78j5-8vq7-jxv5, GO-2025-3936
- Weaknesses: CWE-24
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/usememos/memos (Go): up to 0.22.0; all versions
- usememos memos: 0.22.0

## Every score

- CISA-ADP: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/> (exploit, patch, third-party-advisory)
- <https://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-56760> (advisory)
- <https://github.com/usememos/memos> (package)
- <https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples> (web)
- <https://github.com/advisories/GHSA-78j5-8vq7-jxv5> (advisory)

## Sources

- CVE List: [CVE-2025-56760](https://www.cve.org/CVERecord?id=CVE-2025-56760), CVE Terms of Use, modified 2025-09-04
- GitHub Advisory Database: [GHSA-78j5-8vq7-jxv5](https://github.com/advisories/GHSA-78j5-8vq7-jxv5), CC-BY-4.0, modified 2025-09-08
- Go Vulnerability Database: [GO-2025-3936](https://pkg.go.dev/vuln/GO-2025-3936), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-56760](https://nvd.nist.gov/vuln/detail/CVE-2025-56760), Public domain, modified 2026-11-07

---

Page: https://cve.day/CVE-2025-56760 · Whole record: https://cve.day/CVE-2025-56760.json · Rebuilt by cve.day 2026-11-25T22:59:04.075Z
