cvedb.io
CVE-2024-39930
CRITICAL · CVSS 9.9
EPSS exploitation probability: 0%
Published 2024-07-04T16:15:02.277 · Last modified 2026-06-17T07:43:03.143

Summary

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.

Affected products

gogs — gogs

Does this affect you?

Add your gear to cvedb and we'll alert you only when gogs ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.