Gogs vulnerabilities (CVE)

CVE records published for Gogs, newest first. Follow to get an email when a new one appears.

45 results
7.1High
CVE-2026-123012
Gogs Gogs

In Gogs 0.14.3, the Git Smart HTTP authorization layer in internal/route/repo/http.go allows a push when only read access was intended, a different vulnerability than CVE-2026-52810. This occurs because of a case-sensitivity desync between the authorization c…

4.8Medium
CVE-2026-52807

Gogs: DOM-based XSS via Milestone Name on New Issue Page

gogs gogs

Gogs is an open source self-hosted Git service. Prior to 0.14.3, in new_form.tmpl, milestone names are rendered with Go's default auto-escaping ({{.Name}}), which converts < to &lt; etc. This prevents direct HTML injection. However, when the browser renders t…

7.5High
CVE-2026-52799

Gogs: Missing Authorization in Attachment Download

gogs gogs

Gogs is an open source self-hosted Git service. Prior to 0.14.3, GET /attachments/:uuid returns the raw attachment file without verifying whether the requester has view permission for the associated Issue/Comment/Release or the repository. In a test environme…

8.8High
CVE-2026-52800

Gogs: CSRF Leading to Organization Owner Takeover

gogs gogs

Gogs is an open source self-hosted Git service. Prior to 0.14.3, organization team member management can be performed via GET requests without CSRF protection. If a victim who is an organization owner is logged in and is tricked into visiting a crafted link, …

5.4Medium
CVE-2026-52802

Gogs: Open Redirect via redirect_to in Gogs

gogs gogs

Gogs is an open source self-hosted Git service. Prior to 0.14.3, an open redirect vulnerability exists in Gogs where attacker-controlled redirect_to parameters can bypass validation, allowing redirection to arbitrary external sites. All redirects in Gogs that…

8.9High
CVE-2026-52798

Gogs: Stored XSS in `.ipynb` Preview

gogs gogs

Gogs is an open source self-hosted Git service. Prior to 0.14.3, although .ipynb previews are sanitized on the server side via /-/api/sanitize_ipynb, the inserted content is re-rendered on the client side without sanitization using marked() on elements with t…

3.5Low
CVE-2026-52796

Gogs: DoS in rendering issue index pattern

gogs gogs

Gogs is an open source self-hosted Git service. Prior to 0.14.3, specially crafted issue index pattern can cause a panic when rendering, resulting in denial of service. In internal/markup/markup.go, RenderIssueIndexPattern renders the issue index pattern to a…

8.3High
CVE-2026-47267

Gogs: SSRF in webhook deliveries

gogs gogs

Gogs is an open source self-hosted Git service. Prior to 0.14.3, the fix for CVE-2022-1285 prevents adding webooks or running webhooks with URLs with a hostname that resolves in localCIDRs. However, webhooks still follow redirects allowing to access hostname …