{"id":"CVE-2024-44625","published":"2024-11-15T00:00:00Z","modified":"2024-11-20T20:20:11Z","title":"Gogs <=0.13.0 is vulnerable to Directory Traversal via the editFilePost function of internal/route/repo/editor.go","vendor":null,"product":null,"tier":"tail","description":{"text":"Gogs <=0.13.0 is vulnerable to Directory Traversal via the editFilePost function of internal/route/repo/editor.go.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.02342,"percentile":0.84341,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://gogs.io/","tags":[]},{"url":"https://fysac.github.io/posts/2024/11/unpatched-remote-code-execution-in-gogs/","tags":[]}],"priority":{"score":28.0,"factors":[{"name":"EPSS percentile","points":16.87},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.16}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2024-11-13","earliestUrl":"https://github.com/Fysac/CVE-2024-44625","repos":[{"name":"Fysac/CVE-2024-44625","url":"https://github.com/Fysac/CVE-2024-44625","stars":7,"created":"2024-11-13"},{"name":"batj44/CVE-2024-44625-Gogs-RCE-0.13.0","url":"https://github.com/batj44/CVE-2024-44625-Gogs-RCE-0.13.0","stars":0,"created":"2026-09-09"}]},"first":{"date":"2024-11-13","source":"PoC-in-GitHub","url":"https://github.com/Fysac/CVE-2024-44625"},"provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-11-20T20:17:42.168454Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"gogs.io/gogs","vulnerableRanges":["<0.13.2","all versions"],"patched":["0.13.2"],"from":["GHSA-phm4-wf3h-pc3r","GO-2024-3275"],"provenance":"source"}],"summary":{"text":"Gogs version 0.13.0 and earlier contains a directory traversal flaw in the editFilePost function of internal/route/repo/editor.go, which is part of its repository editor route handling. An attacker with network access and low-privileged authenticated access to the application can exploit this to reach paths outside the intended restricted directory, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:18:15Z"},"euvd":{"id":"EUVD-2024-3293","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-39933","published":"2024-07-04","fixed":"0.13.1","kev":false},{"cve":"CVE-2024-54148","published":"2024-12-23","fixed":"0.13.1","kev":false},{"cve":"CVE-2024-55947","published":"2024-12-23","fixed":"0.13.1","kev":false},{"cve":"CVE-2024-44625","published":"2024-11-15","fixed":"0.13.2","kev":false},{"cve":"CVE-2024-56731","published":"2025-06-24","fixed":"0.13.3","kev":false,"link":{"from":"CVE-2024-44625","to":"CVE-2024-56731","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:gogs.io/gogs","fromFixed":"0.13.2","toFixed":"0.13.3","daysApart":221}]}},{"cve":"CVE-2025-47943","published":"2025-06-24","fixed":"0.13.3-0.20250608224432-110117b2e5e5","kev":false},{"cve":"CVE-2025-64111","published":"2026-02-06","fixed":"0.13.4","kev":false}],"package":"Go:gogs.io/gogs"}}