CVE-2022-0415 in the critical feed json
Remote Command Execution in uploading repository file in gogs/gogs
published 2022-03-21 4 y ago modified 2026-06-17 4 mo 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
- github.com/gogs/gogs@0fef3c9 commit
- github.com/gogs/gogs#6838 pull request
- huntr.dev/bounties/b4928cfe-4110-462f-a180-6d5673797902 advisory
Exploit prediction
65.94% chance of exploitation in the next 30 days, higher than 99.2% of all scored CVEs (FIRST EPSS, 2026-11-08).
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
References
-
github.com
/gogs/gogs/commit/0fef3c9082269e9a4e817274942a5d7c50617284
web, patch, third-party-advisory
-
huntr.dev
/bounties/b4928cfe-4110-462f-a180-6d5673797902
web, exploit, patch, third-party-advisory
-
github.com
/gogs/gogs/pull/6838
web
-
github.com
/gogs/gogs/security/advisories/GHSA-5gjh-5j4f-cpwv
web, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-0415
advisory
-
github.com
/gogs/gogs/issues/6833
web
-
github.com
/gogs/gogs
package
Sources
- CVE List CVE-2022-0415
- GitHub Advisory GHSA-5gjh-5j4f-cpwv
- NVD CVE-2022-0415
- OSV GO-2022-0554
Fencer Vulns 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.