ADVISORIES

Vulnerability

CVE-2024-39930

The built-in SSH server of Gogs through 0.13.0 allows argument injection in internal/ssh/ssh.go, leading to remote code execution. Authenticated attackers can exploit this by opening an SSH connection and sending a malicious --split-string env request if the built-in SSH server is activated. Windows installations are unaffected.

3 advisories report this vulnerability, across 1 ecosystem.

Critical severity Go 3

Advisories

  • GHSA-p69r-v3h4-rj4f

    Duplicate Advisory: github.com/gogs/gogs affected by CVE-2024-39930

    Critical CVE-2024-39930 Go Updated 23 December 2024
  • GHSA-vm62-9jw3-c8w3

    Gogs has an argument Injection in the built-in SSH server

    Critical CVE-2024-39930 Go Updated 23 December 2024
  • GO-2024-2969

    github.com/gogs/gogs affected by CVE-2024-39930

    CVE-2024-39930 Go Updated 3 March 2026

References