Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, there is an arbitrary file read/write via path traversal in Git hook editing. This issue has been patched in versions 0.13.4 and 0.14.0+dev.
https://github.com/gogs/gogs/security/advisories/GHSA-mrph-w4hh-gx3g