← Back to CVE List
Vulnerability Intelligence Report
Gogs deletion of internal files allows remote command execution

CVE-2024-56731

Gogs is an open source self-hosted Git service. Prior to version 0.13.3, it's still possible to delete files under the .git directory and achieve remote command execution due to an insufficient patch for CVE-2024-39931. Unprivileged user accounts can execute arbitrary commands on the Gogs instance with the privileges of the account specified by RUN_USER in the configuration. Allowing attackers to access and alter any users' code hosted on the same instance. This issue has been patched in version 0.13.3.

No Active Exploit Signals
CVSS Base Score
10.0
CRITICAL
Exploitability:3.9
Impact Score:6.1
EPSS Probability:0.95%
Executive Threat Verdict
Evaluating...
Evaluating Threat Landscape...
Assessing known weaponization, exploitation telemetry, and federal advisories.
Attack Surface
—
Authentication
—
Weaponization
—
SSVC Action
—

Weaknesses (CWE)

CWE-552 ↗CWE-552: Files or Directories Accessible to External Parties

Affected Products & Versions

Vendor Product Affected Versions
gogs gogs < 0.13.3 (affected)

References & Technical Advisories

No reference links found.

Threat Intelligence Signals

EPSS Score
0.952%

Identity & Timeline

StatusPUBLISHED
Assigning AuthorityGitHub, Inc. · Vendor · USA
Reserved2024-12-27T15:03:02
Published2025-06-24T03:37:42
Last Updated2025-06-25T12:43:04

LINK COPIED TO CLIPBOARD