{"cve":"CVE-2024-55947","nvd":{"published":"2024-12-23T16:15:07.253","modified":"2026-06-17T08:11:28.680","status":"Analyzed","description":"Gogs is an open source self-hosted Git service. A malicious user is able to write a file to an arbitrary path on the server to gain SSH access to the server. The vulnerability is fixed in 0.13.1.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-22"],"references":["https://github.com/gogs/gogs/commit/9a9388ace25bd646f5098cb9193d983332c34e41","https://github.com/gogs/gogs/issues/7582","https://github.com/gogs/gogs/pull/7859","https://github.com/gogs/gogs/security/advisories/GHSA-qf5v-rp47-55gg","https://github.com/gogs/gogs/security/advisories/GHSA-qf5v-rp47-55gg"],"products":["gogs:gogs"],"source":"nvd","synced_at":"2026-10-19T21:57:56.913276502+00:00"},"epss":{"cve":"CVE-2024-55947","score":0.77836,"percentile":0.9957,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-qf5v-rp47-55gg","url":"https://osv.dev/vulnerability/GHSA-qf5v-rp47-55gg","summary":"Path Traversal in file update API in gogs","modified":"2026-09-10T03:50:56.130290111Z","packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["<0.13.1"],"fixed":["0.13.1"]}]},{"id":"GO-2024-3356","url":"https://osv.dev/vulnerability/GO-2024-3356","summary":"Path Traversal in file update API in gogs in gogs.io/gogs","modified":"2026-03-03T04:56:09.451205Z","packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["<0.13.1"],"fixed":["0.13.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}