peter bassill · operator
$ cve CVE-2024-39930 JSON

CVE-2024-39930 EXPLOIT

9.9
CRITICAL · CVSS 3.1 · EPSS 7.7% (pctl 94)

Patch early

A public exploit exists.

Description

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.

Scoring

CVSS9.9 (CRITICAL, v3.1)
VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS7.74% — more likely to be exploited than 94% of all CVEs
WeaknessCWE-88
On CISA KEVno
Public exploityes
Published2024-07-04
Last modified2026-06-17

Affected (1)

VendorProduct
gogsgogs

Public exploits

SourceTitleDate
exploit-dbgogs 0.13.0 - Remote Code Execution (RCE)2025-07-02

References

→ the Explorer  ·  watch your stack  ·  NVD