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.
Metrics
Affected Vendors & Products
References
History
Wed, 25 Jun 2025 13:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Tue, 24 Jun 2025 04:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | 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. | |
Title | Gogs deletion of internal files allows remote command execution | |
Weaknesses | CWE-552 | |
References |
| |
Metrics |
cvssV3_1
|

Status: PUBLISHED
Assigner: GitHub_M
Published: 2025-06-24T03:37:42.327Z
Updated: 2025-06-25T12:43:04.424Z
Reserved: 2024-12-27T15:03:02.803Z
Link: CVE-2024-56731

Updated: 2025-06-24T15:25:17.401Z

Status : Awaiting Analysis
Published: 2025-06-24T04:15:45.813
Modified: 2025-06-26T18:58:14.280
Link: CVE-2024-56731

No data.