Live threats

All CVEs / Gogs

CVE-2020-15867Gogs

High 7.2 High EPSS

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gogs.

Affected products (CPE)

VendorProductVersions
gogsgogs≥ 0.5.5 ≤ 0.12.2

Official sources

References

Links published by the sources. Open them with care.