# CVE-2024-44625: Remote Code Execution in Gogs

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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): 16.5%, higher than 97% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-11-15T00:00:00.000Z
- Modified: 2026-06-17T07:52:56.770Z
- Also known as: GHSA-phm4-wf3h-pc3r, GO-2024-3275
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

Gogs <=0.13.0 is vulnerable to Directory Traversal via the editFilePost function of internal/route/repo/editor.go.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gogs gogs: up to 0.13.0
- gogs.io/gogs (Go): before 0.13.2; all versions

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://fysac.github.io/posts/2024/11/unpatched-remote-code-execution-in-gogs/> (exploit, third-party-advisory)
- <https://gogs.io/> (product)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-44625> (advisory)
- <https://fysac.github.io/posts/2024/11/unpatched-remote-code-execution-in-gogs> (web)
- <https://github.com/gogs/gogs> (package)
- <https://gogs.io> (web)
- <https://pkg.go.dev/vuln/GO-2024-3275> (web)
- <https://github.com/advisories/GHSA-phm4-wf3h-pc3r> (advisory)

## Sources

- CVE List: [CVE-2024-44625](https://www.cve.org/CVERecord?id=CVE-2024-44625), CVE Terms of Use, modified 2024-11-20
- GitHub Advisory Database: [GHSA-phm4-wf3h-pc3r](https://github.com/advisories/GHSA-phm4-wf3h-pc3r), CC-BY-4.0, modified 2025-10-08
- Go Vulnerability Database: [GO-2024-3275](https://pkg.go.dev/vuln/GO-2024-3275), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-44625](https://nvd.nist.gov/vuln/detail/CVE-2024-44625), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-44625 · Whole record: https://cve.day/CVE-2024-44625.json · Rebuilt by cve.day 2026-11-25T22:58:48.309Z
