CVE-2026-52806
CRITICAL 9.9CVSS 3.1Gogs vulnerable to RCE via git rebase --exec argument injection in pull request merge
Gogs is an open source self-hosted Git service. Prior to 0.14.3, Gogs allows authenticated users to achieve Remote Code Execution (RCE) on the server by creating a pull request with a specially crafted branch name that injects the --exec flag into the git rebase command during the "Rebase before merging" merge operation. This vulnerability is fixed in 0.14.3.
- Published
- 24 Jun 2026
- Last modified
- 21 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-77
- Also known as
- GHSA-qf6p-p7ww-cwr9GO-2026-5580
- Sources
- NVDJSONOSV GHSA-qf6p-p7ww-cwr9JSONOSV GO-2026-5580JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | gogs.io/gogs | < 0.14.3 | 0.14.3 |
| OSV | Go | gogs.io/gogs | all versions |
References
- https://github.com/gogs/gogs/commit/a9dbafbfd8e1020bacc626420238c01d75d03364 · WEB
- https://github.com/gogs/gogs/pull/8301 · WEB
- https://github.com/gogs/gogs/releases/tag/v0.14.3 · WEB
- https://github.com/gogs/gogs/security/advisories/GHSA-qf6p-p7ww-cwr9 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-52806 · ADVISORY
- https://github.com/gogs/gogs · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 24 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Jun 2026)