Live threats

All CVEs / Gogs

CVE-2020-14958Gogs

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
0.9%
probability of exploitation in 30 days · percentile 62
Auth required
Yes
Published
Jun 21, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-281
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

What happens

In Gogs 0.11.91, MakeEmailPrimary in models/user_mail.go lacks a "not the owner of the email" check.

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.0 0.12.0 go get gogs.io/gogs@v0.12.0
Go gogs.io/gogs < 0.12.0 0.12.0 go get gogs.io/gogs@v0.12.0

Per OSV / GitHub Advisories (GHSA-4c7m-vv47-7c69, GO-2022-0788). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gogsgogs0.11.91

Official sources

References

Links published by the sources. Open them with care.