---
title: "Gogs gogs/gogs vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/gogs/gogs-gogs
type: product
description: "Gogs gogs/gogs has 10 published CVEs, 0 in CISA KEV and 10 with public exploits."
updated: 2024-11-15
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# Gogs gogs/gogs vulnerabilities

Vendor: [Gogs](https://radicalnotion.ai/vendor/gogs)

- **Published CVEs:** 10
- **In CISA KEV:** 0
- **With a public exploit:** 10
- **With a patch:** 10
- **Average CVSS:** 8.2
- **First CVE:** 2022-03-11
- **Latest CVE:** 2024-11-15

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 5 |
| High | 2 |
| Medium | 3 |
| Low | 0 |
| Unscored | 0 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-78](https://radicalnotion.ai/cwe/cwe-78) | Improper Neutralization of Special Elements used in an OS Command | 3 |
| [CWE-22](https://radicalnotion.ai/cwe/cwe-22) | Improper Limitation of a Pathname to a Restricted Directory | 2 |
| [CWE-918](https://radicalnotion.ai/cwe/cwe-918) | Server-Side Request Forgery | 2 |
| [CWE-20](https://radicalnotion.ai/cwe/cwe-20) | Improper Input Validation | 1 |
| [CWE-79](https://radicalnotion.ai/cwe/cwe-79) | Improper Neutralization of Input During Web Page Generation | 1 |
| [CWE-862](https://radicalnotion.ai/cwe/cwe-862) | Missing Authorization | 1 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2022 | 8 |
| 2023 | 1 |
| 2024 | 1 |

## Affected versions

| Version | Kind | CVEs |
| --- | --- | --- |
| \< 0.12.9 | range | 3 |
| \< 0.12.5 | range | 2 |
| \< 0.12.11 | range | 1 |
| \< 0.12.6 | range | 1 |
| \< 0.12.7 | range | 1 |
| \< 0.12.8 | range | 1 |
| \<= latest | range | 1 |

## Fixed in

| Version | CVEs |
| --- | --- |
| 0.12.9 | 3 |
| 0.12.5 | 2 |
| 0.12.11 | 1 |
| 0.12.6 | 1 |
| 0.12.7 | 1 |
| 0.12.8 | 1 |

## CVEs

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2022-1884 | Remote Command Execution in gogs/gogs | critical | 10.0 | No | Yes | Yes |
| CVE-2022-2024 | OS Command Injection in gogs/gogs | critical | 9.8 | No | Yes | Yes |
| CVE-2022-1986 | OS Command Injection in gogs/gogs | critical | 9.8 | No | Yes | Yes |
| CVE-2022-1993 | Path Traversal in gogs/gogs | high | 8.1 | No | Yes | Yes |
| CVE-2022-1992 | Path Traversal in gogs/gogs | critical | 9.1 | No | Yes | Yes |
| CVE-2022-1285 | Server-Side Request Forgery (SSRF) in gogs/gogs | medium | 6.5 | No | Yes | Yes |
| CVE-2022-1464 | Stored xss bug in gogs/gogs | medium | 5.4 | No | Yes | Yes |
| CVE-2022-0415 | Remote Command Execution in uploading repository file in gogs/gogs | high | 8.8 | No | Yes | Yes |
| CVE-2022-0870 | Server-Side Request Forgery (SSRF) in gogs/gogs | medium | 5.3 | No | Yes | Yes |
| CVE-2022-0871 | Missing Authorization in gogs/gogs | critical | 9.1 | No | Yes | Yes |

## Frequently asked questions

### How many CVEs does Gogs gogs/gogs have?

Gogs gogs/gogs has 10 published CVE records since 2022.

### How many Gogs gogs/gogs CVEs are in CISA KEV?

None of Gogs gogs/gogs's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for Gogs gogs/gogs vulnerabilities?

Yes — 10 of Gogs gogs/gogs's CVEs have a known public exploit.

### Which versions of Gogs gogs/gogs are affected?

13 distinct Gogs gogs/gogs versions are named across its CVEs. Use the version filter above to see the CVEs affecting a specific version.

### What are the most common weakness types in Gogs gogs/gogs CVEs?

Gogs gogs/gogs's CVEs most often map to these CWE weakness types: CWE-78 (Improper Neutralization of Special Elements used in an OS Command), CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), CWE-918 (Server-Side Request Forgery), CWE-20 (Improper Input Validation).

### How many critical Gogs gogs/gogs vulnerabilities are there?

Gogs gogs/gogs has 5 critical and 2 high-severity CVEs.

### What is the average severity of Gogs gogs/gogs CVEs?

The average CVSS base score across Gogs gogs/gogs's scored CVEs is 8.2.

## Other products from this vendor

- [Gogs](https://radicalnotion.ai/vendor/gogs/gogs) (81 CVEs)
- [gogs.io/gogs](https://radicalnotion.ai/vendor/gogs/gogs-io-gogs) (73 CVEs)
- [github.com/gogs/gogs](https://radicalnotion.ai/vendor/gogs/github-com-gogs-gogs) (5 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/gogs/gogs-gogs). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
