Vulnerabilities

Vulnerability · CVE-2024-39930

Gogs Gogs Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Published Jul 4, 2024 · catalog updated Oct 21, 2026 · Gogs Gogs

Patch now

CVE-2024-39930 is in the CISA known-exploited catalog. Confirm Gogs Gogs against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Gaps on this record

  • EPSS is missing. A missing score is not a low risk.
Severity
Critical9.9
Known exploitation
CISA KEV and VulnCheck KEV
EPSS
Awaiting synchronization with FIRST
Remediation
Remediation guidance
Affected products
cpe gogs/gogs · vendor Gogs Gogs

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. VulnCheck canary evidence.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe gogs/gogs<= 0.13.0
  • vendor Gogs Gogsversion unspecified

How to fix CVE-2024-39930

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2024-39930 is in the CISA known-exploited catalog. Confirm Gogs Gogs against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Which versions are affected?

Compare what you have installed with <= 0.13.0. Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

What should an analyst verify?

CWE-88. EPSS is not on this record yet. The CISA KEV listing is the exploitation evidence. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Oct 21, 2026 · VulnCheck KEV

    Detected

    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. VulnCheck canary evidence.

  2. Oct 21, 2026 · CISA KEV

    Known exploited

    Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

Sources

  • NIST NVDVulnerability recordCVE-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 i

    nvd.nist.gov
  • VulnCheck KEVConfirmed exploitationCVE-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 i

    vulncheck.com

References

Freshness

Last verified in this catalog Oct 21, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.