CVE-2020-15867
CVE-2020-15867 is a high-severity vulnerability in Gogs with a CVSS 3.x base score of 7.2. Its EPSS exploit-prediction score of 88% places it in the 100th percentile, indicating an elevated likelihood of exploitation.
Key facts
- Severity: High (CVSS 3.x base score 7.2)
- CVSS v2: 6.5
- EPSS exploit prediction: 88% (100th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Gogs
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2020-15867?
- 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.
- How severe is CVE-2020-15867?
- CVE-2020-15867 has a CVSS 3.x base score of 7.2, rated high severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2020-15867 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 88% (100th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2020-15867?
- CVE-2020-15867 affects Gogs. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2020-15867?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2020-15867 published?
- CVE-2020-15867 was published on 2020-10-16 and last updated on 2026-06-17.
References
- http://packetstormsecurity.com/files/162123/Gogs-Git-Hooks-Remote-Code-Execution.html
- 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/
Affected products (1)
- cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*
More vulnerabilities in Gogs
- CVE-2024-56731 — Critical (CVSS 10.0): Gogs is an open source self-hosted Git service. Prior to version 0.13.3, it's still possible to delete files under the…
- CVE-2024-39932 — Critical (CVSS 9.9): Gogs through 0.13.0 allows argument injection during the previewing of changes.
- CVE-2024-39931 — Critical (CVSS 9.9): Gogs through 0.13.0 allows deletion of internal files.
- CVE-2024-39930 — Critical (CVSS 9.9): The built-in SSH server of Gogs through 0.13.0 allows argument injection in internal/ssh/ssh.go, leading to remote code…
- CVE-2026-25242 — Critical (CVSS 9.8): Gogs is an open source self-hosted Git service. Versions 0.13.4 and below expose unauthenticated file upload endpoints…
- CVE-2025-64111 — Critical (CVSS 9.8): Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, due to the insufficient patch for…