CVE-2024-44625
HIGH 8.8CVSS 3.1Remote Code Execution in Gogs
Gogs <=0.13.0 is vulnerable to Directory Traversal via the editFilePost function of internal/route/repo/editor.go.
- Published
- 15 Nov 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-phm4-wf3h-pc3rGO-2024-3275
- Sources
- NVDJSONOSV GHSA-phm4-wf3h-pc3rJSONOSV GO-2024-3275JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gogs | gogscpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:* |
<= 0.13.0 | |
| OSV | Go | gogs.io/gogs | < 0.13.2 | 0.13.2 |
| OSV | Go | gogs.io/gogs | all versions |
References
- https://fysac.github.io/posts/2024/11/unpatched-remote-code-execution-in-gogs/ · Exploit, Third Party Advisory, WEB
- https://gogs.io/ · Product, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-44625 · ADVISORY
- https://github.com/gogs/gogs · PACKAGE
- https://pkg.go.dev/vuln/GO-2024-3275 · WEB
- https://github.com/advisories/GHSA-phm4-wf3h-pc3r · ADVISORY
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 15 Nov 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Nov 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 Nov 2024)