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.
https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/
https://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48