# CVE-2024-39930

> As of 2024-08-28, CVE-2024-39930 is a CRITICAL-severity vulnerability, CVSS v3.1 9.9, EPSS 7.7% (94.4th percentile). Threadlinqs Intelligence links 1 tracked threat campaign to CVE-2024-39930, most recently “Gogs Authenticated RCE via Argument Injection in git rebase --exec (Unpatched, CVSSv4 9.4, GHSA-qf6p-p7ww-cwr9)”.

**Last updated:** 2024-08-28

## 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.

The record classifies CVE-2024-39930 under weakness class [CWE-88](https://intel.threadlinqs.com/cwe/CWE-88). Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs low-privilege credentials, needs no user interaction, and has high impact on confidentiality, integrity, availability. The identifier was first published 847 days ago.

## Severity and exploitation probability

- **CVSS v3.1 base score:** 9.9 — CRITICAL (`CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N`)
- **EPSS (FIRST):** 7.7% probability of exploitation in the next 30 days, higher than 94.4% of all scored CVEs
- **CISA KEV:** Not listed in the CISA Known Exploited Vulnerabilities catalog
- **Threadlinqs priority:** 10/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- **Published:** 2024-07-04, last modified 2024-08-28

## Is CVE-2024-39930 being exploited?

Weaponised exploit code for CVE-2024-39930 is publicly available. 4 public proof-of-concept repositories are tracked for this identifier. It currently carries a trending score of 37 in the Threadlinqs vulnerability feed.

- [theMcSam/CVE-2024-39930-PoC](https://github.com/theMcSam/CVE-2024-39930-PoC) (github)
- [alexander47777/-CVE-2024-39930](https://github.com/alexander47777/-CVE-2024-39930) (github)
- [laachy/CVE-2024-39930-ptrace-detection-mitigation](https://github.com/laachy/CVE-2024-39930-ptrace-detection-mitigation) (github)
- [trickest/cve](https://github.com/trickest/cve/blob/main/2024/CVE-2024-39930.md) (trickest)

## Affected products and versions

Affected software packages:

- `go:gogs.io/gogs` — patched in 0.13.1

## How to fix CVE-2024-39930

Fixed versions are recorded for 1 package: go:gogs.io/gogs 0.13.1. No vendor patch reference has been recorded for CVE-2024-39930 in the tracked sources. Follow the references below for a fix, and treat any affected deployment as exposed until the vendor states otherwise.

## Threat activity tracking CVE-2024-39930

1 tracked threat in the Threadlinqs corpus references CVE-2024-39930, either in the campaign’s CVE list or as an indicator on the campaign record.

- [Gogs Authenticated RCE via Argument Injection in git rebase --exec (Unpatched, CVSSv4 9.4, GHSA-qf6p-p7ww-cwr9)](https://intel.threadlinqs.com/threat/TL-2026-0615) — CRITICAL · 2026-05-28

## Sources

Enriched from CVE.org, FIRST EPSS, GitHub Security Advisories, public proof-of-concept repositories. Last verified by Threadlinqs on 2026-10-10.

**Other references**

- [github.com](https://github.com/gogs/gogs/releases)
- [sonarsource.com](https://www.sonarsource.com/blog/securing-developer-tools-unpatched-code-vulnerabilities-in-gogs-1/)
- [vicarius.io](https://www.vicarius.io/vsociety/posts/argument-injection-in-gogs-ssh-server-cve-2024-39930)

Canonical: https://intel.threadlinqs.com/cve/CVE-2024-39930
Full detection coverage and IOCs for threats exploiting CVE-2024-39930 via the Threadlinqs MCP server (Purple tier): https://intel.threadlinqs.com/mcp
