Every CVE Search/ Get API key

CVE-2020-14958

Insecure Permissions in Gogs

6.5 MediumFix available

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

0.93%Up 0.3 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

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

Record
CVE-2020-14958
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0
4.0 MediumAV:N/AC:L/Au:S/C:N/I:P/A:N
Weakness
CWE-281
Updated
2026-11-02
CVE List No score

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

Record
CVE-2020-14958
Updated
2026-11-02
EUVDEUVD-2021-0934 No score

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

Record
EUVD-2021-0934
Updated
2026-11-03
GitHub AdvisoriesGHSA-4c7m-vv47-7c69 5.3

Insecure Permissions in Gogs

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

Record
GHSA-4c7m-vv47-7c69
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-281
Updated
2026-11-02
OSV 6.5

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

Record
CVE-2020-14958
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVGHSA-4c7m-vv47-7c69 5.3

Insecure Permissions in Gogs

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

Record
GHSA-4c7m-vv47-7c69
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-281
Updated
2026-11-02
OSVGO-2022-0788 No score

Insecure Permissions in Gogs in gogs.io/gogs

Insecure Permissions in Gogs in gogs.io/gogs

Record
GO-2022-0788
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
gogs.io/gogs
Go
before 0.12.0
0.12.0

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-14958 is a medium vulnerability (CVSS 6.5) in Gogs, published June 21, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.93%, the 60th percentile. Fixed in gogs.io/gogs 0.12.0.

References

MoveEnter Open