{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-56731","published":"2025-06-24T04:15:45.813000Z","last_modified":"2026-06-17T08:12:51.593000Z","status":"Analyzed","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-552"],"cpes":[{"criteria":"cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*","part":"a","vendor":"gogs","product":"gogs","version_end_excluding":"0.13.3"}],"cpes_truncated":false,"vendors":["gogs"],"products":["gogs/gogs"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"epss":{"score":0.02241,"percentile":0.83573,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-wj44-9vcg-wjq7","ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":[{"introduced":"0","fixed":"0.13.3"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2025-3776","ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":[{"introduced":"0","fixed":"0.13.3"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2024-56731/","html_en":"/en/cve/CVE-2024-56731/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-56731","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-56731"},"untrusted":{"vendor_name":"Gogs","product_name":"Gogs","desc_en":"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.","affected":[{"untrusted_vendor":"gogs","untrusted_product":"gogs","versions":[]}],"references":[{"url":"https://github.com/gogs/gogs/commit/77a4a945ae9a87f77e392e9066b560edb71b5de9","tags":["Patch"]},{"url":"https://github.com/gogs/gogs/releases/tag/v0.13.3","tags":["Release Notes"]},{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-wj44-9vcg-wjq7","tags":["Patch","Vendor Advisory"]}]}}