Vulnerability · CVE-2024-56731
Gogs is an open source self-hosted Git service.
Published Jun 24, 2025 · catalog updated Jun 25, 2025 · Gogs is an open
Last checked Oct 27, 2026. A connected source was read within the last 7 days.
Check if you run it
No confirmed exploitation is on record for CVE-2024-56731. EPSS is 1.15%. Act only if a listed version of Gogs is an open is installed.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (Gogs is an open).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
Same product and reporting
- CVE-2026-82402 · Medium
- CVE-2026-26276 · Medium
- CVE-2026-26196 · Medium
- CVE-2026-26195 · Medium
- CVE-2026-26194 · High
- Severity
- Critical10.0
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 1.15%
- Remediation
- Version ranges on file
- Affected products
- vendor gogs gogs < 0.13.3
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- vendor gogs gogs < 0.13.3< 0.13.3
How to fix CVE-2024-56731
Upgrade
CVE-2024-56731 lists a fix boundary at 0.13.3. Compare the installed build with that boundary before you change production.
Version check
Affected < 0.13.3
Advisory
Open the cve_org record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2024-56731. EPSS is 1.15%. Act only if a listed version of Gogs is an open is installed.
Which versions are affected?
Compare what you have installed with gogs gogs < 0.13.3 < 0.13.3. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 1.15%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Jun 24, 2025 · EUVD
Detected
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
Jun 25, 2025 · EUVD
Updated
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
Sources
- CVE.orgVulnerability recordCVE-2024-56731
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2024-56731
30-day exploitation probability 1.15%
first.org - EUVDVulnerability recordEUVD-2024-54695
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
euvd.enisa.europa.eu
References
Freshness
Last verified in this catalog Oct 27, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- FIRST EPSSOct 24, 2026
- CVE.orgOct 21, 2026
- EUVDOct 20, 2026