Exploit database

Vulnerability

CVE-2024-39930

Vulnerability details

Score
9.9
Severity
critical

CVSS 3.1 · mitre

Vector string

CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N

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.

CVE Program

Exploit source choices

2 sources
alexander47777/-cve-2024-39930
GH-7ea2dca1654966f8a4e3b9199cc4f50bGitHubUnofficial GitHub source

Gogs Under Attack: Unpacking the Critical SSH Vulnerability (CVE-2024–39930)

2025-07-222 files · 0 stars