Skip to content
Fencer Intel
critical 9.9

CVE-2022-0415 in the critical feed json

Remote Command Execution in uploading repository file in gogs/gogs

published 4y ago modified 4mo ago also GHSA-5gjh-5j4f-cpwv , GO-2022-0554 , EUVD-2022-1322

cvss
9.9
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
65.9%
EPSS 65.9% chance of exploitation in 30 days, percentile 99.2%
public exploits
0
none known, plus a Nuclei check

Summary

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

Patch / fix

  • go gogs.io/gogs 0.12.6
  • gogs gogs/gogs 0.12.6

Is CVE-2022-0415 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Exploit prediction

65.94% chance of exploitation in the next 30 days, higher than 99.2% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • Nuclei template Gogs <0.12.6 - Remote Command Execution nuclei detection template
  • huntr.dev https://huntr.dev/bounties/b4928cfe-4110-462f-a180-6d5673797902 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.0 9.9 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P
GitHub 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
go gogs.io/gogs
<0.12.6
0.12.6

Affected products

  • gogs gogs/gogs

Classification

Weakness
  • CWE-20 Improper Input Validation
  • CWE-434 Unrestricted Upload of File with Dangerous Type

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.