Skip to content
Vulnerability Intelligence

CVE-2020-15867

HighPublic exploit

The git hook feature in Gogs 0.5.5 through 0.12.2 allows for authenticated remote code execution.

Published Oct 16, 2020 · Updated Aug 7, 2026

Key Facts

Patch immediately
  • CVE-2020-15867 is a high-severity vulnerability (CVSS 7.2 v3.1) affecting Gogs.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 87% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Gogs <=0.12.2, Gogs 0.12.2.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

CVSS v3.1

7.2

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

87%

Higher than 99.7% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2020-15867 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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.

Affected Products

4 affected entries in total
ProductAffected versionsFixed in
GogsGogsSee advisory0.12.2

Patched Releases

Gogs

<=0.12.2

Timeline

  1. Publicly disclosed

    Oct 16, 2020

  2. Last updated

    Aug 7, 2026

References

FAQ

Common Questions.

Is CVE-2020-15867 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo