Skip to main content
CRITICAL

CVE-2024-39930

CVSS v3

9.9

CRITICAL

EPSS Score

7.7 %

exploit probability, as of 2026-10-03

CISA KEV

No

known exploited

Exploitation

—

SSVC status

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.

Technical details

Published
2024-07-04
Exploit-DB
EDB-52348

Frequently asked questions

What is 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.

Is CVE-2024-39930 actively exploited?

Active exploitation of CVE-2024-39930 has not been confirmed. Its EPSS score was 7.7% on 2026-10-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-39930?

CVE-2024-39930 has a CVSS v3 base score of 9.9 (CRITICAL severity).

Is CVE-2024-39930 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.

No credit card required · 50 free checks/month · Free API key