Skip to content
Emerging threatsHigh

CVE-2020-15867Gogs Vulnerability

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

Published Oct 16, 2020 · Updated Oct 24, 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.

Scores

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

Exploit maturity

Weaponized

ATLAS score

62/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Weaponized

Public exploit code

2

Proof-of-concept links

In-the-wild evidence

1

Reports of active use

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

    Oct 24, 2026

FAQ

Common Questions.

Is CVE-2020-15867 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.