CVE-2020-15867Gogs
High 7.2 High EPSS
Follow: this CVE · Gogs · Gogs We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 7.2
- EPSS
- 87.4% probability of exploitation in 30 days · percentile 100
- Auth required
- Yes
- Published
- Oct 16, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Gogs.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gogs | gogs | ≥ 0.5.5 ≤ 0.12.2 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- www.fzi.de Exploit Third Party Advisory