All vulnerabilities

Servers and applications

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.

Severity
Critical 9.9
Published
4 Jul 2024
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Sources
NVD

Affected software

SoftwareAffected versions
GogsServers and applications · cpe:a:gogs:gogs
  • Every version up to 0.13.0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2024-39930
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2024-39930