gogs.io/gogs
Go71 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting gogs.io/gogspage 2 of 2
- CVE-2026-47267HIGHCVSS 8.3EG 8.3✓ Fixed in 0.14.32026-06-22
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…
- CVE-2026-52796LOWCVSS 3.5EG 3.5✓ Fixed in 0.14.32026-06-22
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 issu…
- CVE-2026-52797HIGHCVSS 8.5EG 8.5✓ Fixed in 0.14.02026-06-16
Gogs is an open source self-hosted Git service. Prior to 0.14.0, as an authorized user, an intruder can dictate the value which is passed to the git diff command which, together with bypassing the filtering of the passed value, allows the …
- CVE-2026-52798HIGHCVSS 8.9EG 8.9✓ Fixed in 0.14.32026-06-22
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(…
- CVE-2026-52799HIGHCVSS 7.5EG 7.5✓ Fixed in 0.14.32026-06-22
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.…
- CVE-2026-52800HIGHCVSS 8.8EG 8.8✓ Fixed in 0.14.32026-06-23
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 visit…
- CVE-2026-52801HIGHCVSS 8.1EG 8.1✓ Fixed in 0.14.32026-06-23
Gogs is an open source self-hosted Git service. Prior to 0.14.3, the Gogs Mirror Settings functionality provide an alternative way from the well protected New Migration functionality for any authenticated users to import local repositories…
- CVE-2026-52802MEDIUMCVSS 5.4EG 5.4✓ Fixed in 0.14.32026-06-23
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 re…
- CVE-2026-52804MEDIUMCVSS 5.5EG 5.5✓ Fixed in 0.14.32026-06-23
Gogs is an open source self-hosted Git service. Prior to 0.14.3, a repository admin collaborator can escalate their privileges to owner-level access by exploiting an off-by-one error in the ChangeCollaborationAccessMode function. This vuln…
- CVE-2026-52805HIGHCVSS 8.7EG 8.7✓ Fixed in 0.14.32026-06-23
Gogs is an open source self-hosted Git service. Prior to 0.14.3, a Server-Side Request Forgery (SSRF) vulnerability exists in the repository migration functionality. The application validates only the initially submitted URL hostname, but …
- CVE-2026-52806CRITICALCVSS 9.9EG 9.9✓ Fixed in 0.14.32026-06-23
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 f…
- CVE-2026-52807MEDIUMCVSS 4.8EG 4.8✓ Fixed in 0.14.32026-06-23
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 < etc. This prevents direct HTML injection. However, when t…
- CVE-2026-52808HIGHCVSS 7.1EG 7.1✓ Fixed in 0.14.32026-06-23
Gogs is an open source self-hosted Git service. Prior to 0.14.3, three API endpoints — PATCH /api/v1/repos/:owner/:repo/issue-tracker, PATCH /api/v1/repos/:owner/:repo/wiki, and POST /api/v1/repos/:owner/:repo/mirror-sync — are gated b…
- CVE-2026-52809MEDIUMCVSS 6.8EG 6.8✓ Fixed in 0.14.32026-06-23
Gogs is an open source self-hosted Git service. Prior to 0.14.3, password-reset tokens are generated using conf.Auth.ActivateCodeLives (the account-activation lifetime), not conf.Auth.ResetPasswordCodeLives. The token lifetime is baked int…
- CVE-2026-52810HIGHCVSS 7.1EG 7.1✓ Fixed in 0.14.32026-06-23
Gogs is an open source self-hosted Git service. Prior to 0.14.3, Git smart HTTP authorizes POST …/git-receive-pack using the client-supplied service query string (so ?service=git-upload-pack is evaluated as read access) while routing sti…
- CVE-2026-52811CRITICALCVSS 9.0EG 9.0✓ Fixed in 0.14.32026-06-23
Gogs is an open source self-hosted Git service. Prior to 0.14.3, (*Repository).UploadRepoFiles checks for symlinks only on the leaf of the upload target (osx.IsSymlink(targetPath)). The siblings UpdateRepoFile, DeleteRepoFile, and GetDiffP…
- CVE-2026-52812HIGHCVSS 7.1EG 7.1✓ Fixed in 0.14.32026-06-23
Gogs is an open source self-hosted Git service. Prior to 0.14.3, Git LFS storage is content-addressed by OID alone (<LFS-root>/<oid[0]>/<oid[1]>/<oid>) but per-repo authorization lives in the lfs_object table keyed (repo_id, oid). serveUpl…
- CVE-2026-52813CRITICALCVSS 10.0EG 10.0✓ Fixed in 0.14.32026-06-23
Gogs is an open source self-hosted Git service. Prior to 0.14.3, organization names containing path traversal sequences (../) are accepted by Gogs, and repositories under them are written to paths following these path traversals. This allo…
- CVE-2026-52814MEDIUMCVSS 5.5EG 5.5✓ Fixed in 0.14.32026-06-23
Gogs is an open source self-hosted Git service. Prior to 0.14.3, the Gogs built-in Go SSH server is vulnerable to an unauthenticated, asymmetric Denial of Service (DoS) attack. The application accepts inbound TCP connections and passes the…
- CVE-2026-52815MEDIUMCVSS 5.5EG 5.5✓ Fixed in 0.14.32026-06-23
Gogs is an open source self-hosted Git service. Prior to 0.14.3, Gogs has an unauthenticated information disclosure vulnerability. The GET /api/v1/orgs/:orgname/teams endpoint at internal/route/api/v1/org_team.go:8 returns all teams for an…
- CVE-2026-52816MEDIUMCVSS 5.4EG 5.4✓ Fixed in 0.14.32026-06-23
Gogs is an open source self-hosted Git service. Prior to 0.14.3, the Jupyter Notebook (ipynb) sanitizer endpoint at POST /-/api/sanitize_ipynb allows arbitrary data: URIs without proper restrictions, potentially leading to Cross-Site Scrip…
Check whether gogs.io/gogs is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for gogs.io/gogs CVEs against the assets you own.
Start Free Scan →