--- title: "CVE-2020-15867: The git hook feature in Gogs 0.5.5… | CubePath" description: "The git hook feature in Gogs 0.5.5 through 0.12.2 allows for authenticated remote code execution. There can be a privilege escalation if access to this…" language: en source: https://cubepath.com/security/cve/CVE-2020-15867 --- # CVE-2020-15867: The git hook feature in Gogs 0.5.5… | CubePath ## Description The git hook feature in Gogs 0.5.5 through 0.12.2 allows for authenticated remote code execution. There can be a privilege escalation if access to this hook feature is granted to a user who does not have administrative privileges. NOTE: because this is mentioned in the documentation but not in the UI, it could be considered a "Product UI does not Warn User of Unsafe Actions" issue. Official description from the CVE record, published by mitre. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2020-15867) ## Key data ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.87416 (87.4% probability) Percentile 99.8% Scores of Nov 10, 2026 Model v2026.06.15 ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [fzi.de/en/news/news/detail-en/artikel/fsa-2020-3-schwachste…](https://www.fzi.de/en/news/news/detail-en/artikel/fsa-2020-3-schwachstelle-in-gitea-1125-und-gogs-0122-ermoeglicht-ausfuehrung-von-code-nach-authent/) - [packetstormsecurity.com/files/162123/Gogs-Git-Hooks-Remote-…](http://packetstormsecurity.com/files/162123/Gogs-Git-Hooks-Remote-Code-Execution.html) ## Timeline 1. ID reserved Jul 21, 2020 2. Record published Oct 16, 2020 3. Record last updated Aug 4, 2024 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 20:03 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)