{"id":"CVE-2024-44625","aliases":["CVE-2024-44625","GHSA-phm4-wf3h-pc3r","GO-2024-3275"],"related":[],"kind":"vulnerability","state":"published","title":"Remote Code Execution in Gogs","summary":"Gogs <=0.13.0 is vulnerable to Directory Traversal via the editFilePost function of internal/route/repo/editor.go.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Gogs <=0.13.0 is vulnerable to Directory Traversal via the editFilePost function of internal/route/repo/editor.go.","source":"cvelist"},{"lang":"en","text":"Gogs <0.13.2 is vulnerable to symbolic link path traversal that enables remote code execution via the editFilePost function of internal/route/repo/editor.go.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Unpatched Remote Code Execution in Gogs in gogs.io/gogs","format":"markdown","source":"go"},{"lang":"es","text":"Gogs &lt;=0.13.0 es vulnerable a la navegación de Directory Traversal de la función editFilePost de internal/route/repo/editor.go.","source":"nvd"}],"published":"2024-11-15T00:00:00.000Z","modified":"2026-06-17T07:52:56.770Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","lastAffected":"0.13.0","status":"affected"}],"vendor":"gogs","product":"gogs","cpe":"cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.13.2"}],"ecosystem":"Go","package":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","source":"go"},{"ranges":[{"status":"affected","lastAffected":"0.13.0"}],"vendor":"gogs","product":"gogs","cpe":"cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://gogs.io/","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://fysac.github.io/posts/2024/11/unpatched-remote-code-execution-in-gogs/","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-44625","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://fysac.github.io/posts/2024/11/unpatched-remote-code-execution-in-gogs","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/gogs/gogs","tags":["package"],"sources":["ghsa"]},{"url":"https://gogs.io","tags":["web"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2024-3275","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-phm4-wf3h-pc3r","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-11-20T20:17:42.168Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-44625","url":"https://www.cve.org/CVERecord?id=CVE-2024-44625","licence":"CVE Terms of Use","modified":"2024-11-20T20:20:11.482Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-phm4-wf3h-pc3r","url":"https://github.com/advisories/GHSA-phm4-wf3h-pc3r","licence":"CC-BY-4.0","modified":"2025-10-08T14:27:52.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-3275","url":"https://pkg.go.dev/vuln/GO-2024-3275","licence":"CC-BY-4.0","modified":"2026-03-03T04:56:01.489Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-44625","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-44625","licence":"Public domain","modified":"2026-06-17T07:52:56.770Z"}],"updatedAt":"2026-11-25T22:58:48.309Z","epss":{"score":0.16502,"percentile":0.97066,"date":"2026-12-01T12:00:22.000Z"}}