Description
Remote Command Execution in uploading repository file in GitHub repository gogs/gogs prior to 0.12.6.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| gogs | gogs/gogs | unspecified – < 0.12.6 | 0.12.6 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | golang-github-gogits-go-gogs-client | No fix yet | — |
| Ubuntu 26.04 LTS | golang-github-gogits-go-gogs-client | No fix yet | — |
| Ubuntu 25.10 | golang-github-gogits-go-gogs-client | No fix yet | — |
| Ubuntu 24.04 LTS | golang-github-gogits-go-gogs-client | No fix yet | — |
| Ubuntu 22.04 LTS | golang-github-gogits-go-gogs-client | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | golang-github-gogits-go-gogs-client | No fix yet | — |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Gogs <0.12.6 - Remote Command Execution http/cves/2022/CVE-2022-0415.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | gogs.io/gogs | < 0.12.6 | 0.12.6 | GHSA-5gjh-5j4f-cpwv |