SQL injection vulnerability in the GetIssues function in models/issue.go in Gogs (aka Go…
Priority MEDIUM 40CWE-89Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
SQL injection vulnerability in the GetIssues function in models/issue.go in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.6.x before 0.5.6.1025 Beta allows remote attackers to execute arbitrary SQL commands via the label parameter to user/repos/issues.
Why it matters now
EPSS 0.04437 91st percentileScored 2026-11-07
Public exploit Yes 4 exploit referencesTagged by NVD and the CNA
Fix Fixed gogs.io/gogs (Go): 0.5.8github.com/gogits/gogs (Go): 0.5.8
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | gogs.io/gogs (Go) | 0.3.1 to before 0.5.8 | 0.5.8 | Patch available | GHSA-mr6h-chqp-p9g2 |
| — | github.com/gogits/gogs (Go) | 0.3.1 to before 0.5.8 | 0.5.8 | Patch available | GHSA-mr6h-chqp-p9g2 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- gogs.io/gogs (Go) Vendor— Affected 0.3.1 to before 0.5.8 Fixed in 0.5.8 Patch available GHSA-mr6h-chqp-p9g2
- github.com/gogits/gogs (Go) Vendor— Affected 0.3.1 to before 0.5.8 Fixed in 0.5.8 Patch available GHSA-mr6h-chqp-p9g2
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:gogits:gogs:*:*:*:*:*:*:*:* | up to 0.5.5 | Vulnerable | Gogits |
| cpe:2.3:a:gogits:gogs:0.3.1-9:*:*:*:*:*:*:* | 0.3.1-9 | Vulnerable | Gogits |
| cpe:2.3:a:gogits:gogs:0.4.1:*:*:*:*:*:*:* | 0.4.1 | Vulnerable | Gogits |
| cpe:2.3:a:gogits:gogs:0.4.2:*:*:*:*:*:*:* | 0.4.2 | Vulnerable | Gogits |
| cpe:2.3:a:gogits:gogs:0.5.0:*:*:*:*:*:*:* | 0.5.0 | Vulnerable | Gogits |
| cpe:2.3:a:gogits:gogs:0.5.2:*:*:*:*:*:*:* | 0.5.2 | Vulnerable | Gogits |
- cpe:2.3:a:gogits:gogs:*:*:*:*:*:*:*:* Versions up to 0.5.5 Vulnerable ·Gogits
- cpe:2.3:a:gogits:gogs:0.3.1-9:*:*:*:*:*:*:* Versions 0.3.1-9 Vulnerable ·Gogits
- cpe:2.3:a:gogits:gogs:0.4.1:*:*:*:*:*:*:* Versions 0.4.1 Vulnerable ·Gogits
- cpe:2.3:a:gogits:gogs:0.4.2:*:*:*:*:*:*:* Versions 0.4.2 Vulnerable ·Gogits
- cpe:2.3:a:gogits:gogs:0.5.0:*:*:*:*:*:*:* Versions 0.5.0 Vulnerable ·Gogits
- cpe:2.3:a:gogits:gogs:0.5.2:*:*:*:*:*:*:* Versions 0.5.2 Vulnerable ·Gogits
Remediation
- Fix · GHSA-mr6h-chqp-p9g2 gogs.io/gogs (Go) Fixed in 0.5.8 Advisory →
- Fix · GHSA-mr6h-chqp-p9g2 github.com/gogits/gogs (Go) Fixed in 0.5.8 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2014-8681
- 2026-10-03 Alias added: GHSA-mr6h-chqp-p9g2
References
Exploit 4
Other 9
- http://gogs.io/docs/intro/change_log.html
- https://github.com/gogs/gogs/commit/83283bca4cb4e0f4ec48a28af680f0d88db3d2c8
- https://github.com/gogits/gogs
- https://github.com/gogits/gogs/releases/tag/v0.5.8
- https://pkg.go.dev/vuln/GO-2020-0021
- https://seclists.org/fulldisclosure/2014/Nov/31
- https://web.archive.org/web/20150711111508/http://gogs.io/docs/intro/change_log.html#v0.5.8-%40-2014-11-19
- https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-8681
- https://www.exploit-db.com/exploits/35237
More Gogits Gogs vulnerabilities
- TI-2014-07133 Multiple SQL injection vulnerabilities in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.x… CVSS 2.0HIGH 7.5
- TI-2014-07134 Cross-site scripting (XSS) vulnerability in models/issue.go in Gogs (aka Go Git Service)… CVSS 2.0MEDIUM 4.3
Sources
- CVE-2014-8681 · CVE Program
- CVE-2014-8681 · NVD
- FIRST EPSS
- GHSA-mr6h-chqp-p9g2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences