Gogs up to 0.13.2 Incomplete Fix CVE-2024-39931 file access
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.3 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Gogs up to 0.13.2. It has been declared as problematic. The affected element is an unknown function of the component Incomplete Fix CVE-2024-39931. The manipulation results in file access. This vulnerability is cataloged as CVE-2024-56731. The attack may be launched remotely. There is no exploit available. It is recommended to upgrade the affected component.
Details
A vulnerability classified as problematic has been found in Gogs up to 0.13.2. Affected is some unknown processing of the component Incomplete Fix CVE-2024-39931. The manipulation with an unknown input leads to a file access vulnerability. CWE is classifying the issue as CWE-552. The product makes files or directories accessible to unauthorized actors, even though they should not be. This is going to have an impact on confidentiality. CVE summarizes:
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.
The advisory is shared for download at github.com. This vulnerability is traded as CVE-2024-56731 since 12/27/2024. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. There are neither technical details nor an exploit publicly available. The MITRE ATT&CK project declares the attack technique as T1083.
Upgrading to version 0.13.3 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 77a4a945ae9a87f77e392e9066b560edb71b5de9 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at EUVD (EUVD-2024-54695) and CERT Bund (WID-SEC-2025-1383). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Affected
- Open Source Gogs
Product
Name
Version
License
Website
- Product: https://github.com/gogs/gogs/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.4VulDB Meta Temp Score: 8.3
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CNA Base Score: 10.0
CNA Vector (GitHub_M): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: File accessCWE: CWE-552 / CWE-425
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Gogs 0.13.3
Patch: 77a4a945ae9a87f77e392e9066b560edb71b5de9
Timeline
12/27/2024 🔍06/24/2025 🔍
06/24/2025 🔍
02/10/2026 🔍
Sources
Product: github.comAdvisory: GHSA-wj44-9vcg-wjq7
Status: Confirmed
CVE: CVE-2024-56731 (🔍)
GCVE (CVE): GCVE-0-2024-56731
GCVE (VulDB): GCVE-100-313704
EUVD: 🔍
CERT Bund: WID-SEC-2025-1383 - Gogs: Mehrere Schwachstellen
Entry
Created: 06/24/2025 08:02Updated: 02/10/2026 08:56
Changes: 06/24/2025 08:02 (67), 06/24/2025 13:44 (1), 06/27/2025 06:49 (1), 08/22/2025 06:13 (11), 02/10/2026 08:56 (7)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.