Live threats

All CVEs / Gogs

CVE-2022-0415Gogs

High 8.8 High EPSS

Priority
54
CVSS 3.1
8.8
EPSS
10.0%
probability of exploitation in 30 days · percentile 96
Auth required
Yes
Published
Mar 21, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-434
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

Remote Command Execution in uploading repository file in GitHub repository gogs/gogs prior to 0.12.6.

Original NVD text.

What to do

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

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go gogs.io/gogs < 0.12.6 0.12.6 go get gogs.io/gogs@v0.12.6
Go gogs.io/gogs < 0.12.6 0.12.6 go get gogs.io/gogs@v0.12.6

Per OSV / GitHub Advisories (GHSA-5gjh-5j4f-cpwv, GO-2022-0554). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gogsgogs< 0.12.6

Official sources

References

Links published by the sources. Open them with care.