CVE-2022-0415Gogs
High 8.8 High EPSS
Follow: this CVE · Gogs · Gogs We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Gogs.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| gogs | gogs | < 0.12.6 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- huntr.dev Exploit Patch Third Party Advisory