{
    "id": "CVE-2024-39930",
    "published": "2024-07-04 16:15:02",
    "last_modified": "2026-06-17 07:43:03",
    "cvss_score": "9.9",
    "cvss_severity": "CRITICAL",
    "cvss_version": "3.1",
    "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
    "cwe": "CWE-88",
    "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.",
    "epss_score": "0.07743",
    "epss_percentile": "0.94431",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-27 18:17:44",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "gogs",
            "product": "gogs"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "52348",
            "title": "gogs 0.13.0 - Remote Code Execution (RCE)",
            "date": "2025-07-02",
            "url": "https://www.exploit-db.com/exploits/52348"
        }
    ],
    "refs_list": [
        "https://github.com/gogs/gogs/releases",
        "https://www.sonarsource.com/blog/securing-developer-tools-unpatched-code-vulnerabilities-in-gogs-1/",
        "https://www.vicarius.io/vsociety/posts/argument-injection-in-gogs-ssh-server-cve-2024-39930",
        "https://github.com/gogs/gogs/releases",
        "https://www.sonarsource.com/blog/securing-developer-tools-unpatched-code-vulnerabilities-in-gogs-1/",
        "https://www.vicarius.io/vsociety/posts/argument-injection-in-gogs-ssh-server-cve-2024-39930"
    ]
}