Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. gogs.io/gogs
  4. ›
  5. CVE-2024-44625

CVE-2024-44625: Remote Code Execution in Gogs

November 15, 2024 (updated October 8, 2025)

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.

References

  • fysac.github.io/posts/2024/11/unpatched-remote-code-execution-in-gogs
  • github.com/advisories/GHSA-phm4-wf3h-pc3r
  • github.com/gogs/gogs
  • gogs.io/
  • nvd.nist.gov/vuln/detail/CVE-2024-44625
  • pkg.go.dev/vuln/GO-2024-3275

Code Behaviors & Features

Detect and mitigate CVE-2024-44625 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.13.2

Fixed versions

  • 0.13.2

Solution

Upgrade to version 0.13.2 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/gogs.io/gogs/CVE-2024-44625.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 16 Oct 2025 12:21:17 +0000.