Gogs

74 CVEs across 2 Gogs products. Browse Gogs vulnerabilities, severities, and proof-of-concept exploits.

Gogs products with known CVEs

ProductCVEs
Gogs74
Gogs/gogs10
Gogs CVEs — newest first
CVESeverityScorePublishedSummary
CVE-2026-528162026-06-24Gogs 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…
CVE-2026-528152026-06-24Gogs 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/:orgnam…
CVE-2026-528142026-06-24Gogs 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 Serv…
CVE-2026-52813Critical10.02026-06-24Gogs is an open source self-hosted Git service. Prior to 0.14.3, organization names containing path traversal sequences (../) are accepted by Gogs, and reposit…
CVE-2026-528122026-06-24Gogs 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…
CVE-2026-528112026-06-24Gogs 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.I…
CVE-2026-528102026-06-24Gogs 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 stri…
CVE-2026-52809Medium6.82026-06-24Gogs 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…
CVE-2026-52808High7.12026-06-24Gogs 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/:own…
CVE-2026-528072026-06-24Gogs 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}}), wh…
CVE-2026-52806Critical9.92026-06-24Gogs 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 creati…
CVE-2026-52805High8.72026-06-24Gogs 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 function…
CVE-2026-528042026-06-24Gogs 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 exploit…
CVE-2026-52802Medium5.42026-06-24Gogs 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…
CVE-2026-52801High8.12026-06-24Gogs 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…
CVE-2026-52800High8.82026-06-24Gogs 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…
CVE-2026-52799High7.52026-06-24Gogs 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…
CVE-2026-52798High8.92026-06-24Gogs 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 inser…
CVE-2026-52797High8.52026-06-24Gogs 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 comma…
CVE-2026-52796Low3.52026-06-24Gogs 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…
CVE-2026-52795Medium4.32026-06-24Gogs is an open source self-hosted Git service. In 0.14.3 and earlier, any authenticated user can watch a private repository they have no access to, because th…
CVE-2026-47267High8.32026-06-24Gogs 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 hostnam…
CVE-2026-251192026-06-24Gogs is an open source self-hosted Git service. Prior to 0.14.3, when ENABLE_REVERSE_PROXY_AUTHENTICATION is enabled, Gogs accepts the configured authenticatio…
CVE-2025-64719Medium4.92026-06-24Gogs is an open source self-hosted Git service. Prior to 0.14.3, a malicious user with rights to create a new file on a repository or wiki page can trigger a d…
CVE-2026-26276High7.32026-03-05Gogs is an open source self-hosted Git service. Prior to version 0.14.2, an attacker can store an HTML/JavaScript payload in a repository’s Milestone name, and…
CVE-2026-26196Medium5.32026-03-05Gogs is an open source self-hosted Git service. Prior to version 0.14.2, gogs api still accepts tokens in url params like token and access_token, which can lea…
CVE-2026-26195Medium6.12026-03-05Gogs is an open source self-hosted Git service. Prior to version 0.14.2, stored xss is still possible through unsafe template rendering that mixes user input w…
CVE-2026-26194High7.32026-03-05Gogs is an open source self-hosted Git service. Prior to version 0.14.2, there's a security issue in gogs where deleting a release can fail if a user controlle…
CVE-2026-26022High8.72026-03-05Gogs is an open source self-hosted Git service. Prior to version 0.14.2, a stored cross-site scripting (XSS) vulnerability exists in the comment and issue desc…
CVE-2026-25921Critical9.32026-03-05Gogs is an open source self-hosted Git service. Prior to version 0.14.2, overwritable LFS object across different repos leads to supply-chain attack, all LFS o…
CVE-2026-25242Critical9.82026-02-19Gogs is an open source self-hosted Git service. Versions 0.13.4 and below expose unauthenticated file upload endpoints by default. When the global RequireSigni…
CVE-2026-25232High8.82026-02-19Gogs is an open source self-hosted Git service. Versions 0.13.4 and below have an access control bypass vulnerability which allows any repository collaborator…
CVE-2026-25229Medium6.52026-02-19Gogs is an open source self-hosted Git service. Versions 0.13.4 and below have a broken access control vulnerability which allows authenticated users with writ…
CVE-2026-25120Low2.72026-02-19Gogs is an open source self-hosted Git service. In versions 0.13.4 and below, the DeleteComment API does not verify that the comment belongs to the repository…
CVE-2026-24135High8.12026-02-06Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, a path traversal vulnerability exists in the updateWikiPage function of Gogs. The…
CVE-2026-23633Medium6.52026-02-06Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, there is an arbitrary file read/write via path traversal in Git hook editing. This…
CVE-2026-23632Medium6.52026-02-06Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, the endpoint "PUT /repos/:owner/:repo/contents/*" does not require write permissio…
CVE-2026-22592Medium6.52026-02-06Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, an authenticated user can cause a DOS attack. If one of the repo files is deleted…
CVE-2025-64175High8.82026-02-06Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, Gogs’ 2FA recovery code validation does not scope codes by user, enabling cross-ac…
CVE-2025-64111Critical9.82026-02-06Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, due to the insufficient patch for CVE-2024-56731, it's still possible to update fi…
CVE-2025-8110High8.82025-12-10Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code.
CVE-2025-47943Medium6.32025-06-24Gogs is an open source self-hosted Git service. In application version 0.14.0+dev and prior, there is a stored cross-site scripting (XSS) vulnerability present…
CVE-2024-56731Critical10.02025-06-24Gogs is an open source self-hosted Git service. Prior to version 0.13.3, it's still possible to delete files under the .git directory and achieve remote comman…
CVE-2024-55947High8.82024-12-23Gogs is an open source self-hosted Git service. A malicious user is able to write a file to an arbitrary path on the server to gain SSH access to the server. T…
CVE-2024-54148Critical9.82024-12-23Gogs is an open source self-hosted Git service. A malicious user is able to commit and edit a crafted symlink file to a repository to gain SSH access to the se…
CVE-2024-44625High8.82024-11-15Gogs <=0.13.0 is vulnerable to Directory Traversal via the editFilePost function of internal/route/repo/editor.go.
CVE-2022-1884Critical9.82024-11-15A remote command execution vulnerability exists in gogs/gogs versions <=0.12.7 when deployed on a Windows server. The vulnerability arises due to improper vali…
CVE-2024-39933High7.72024-07-04Gogs through 0.13.0 allows argument injection during the tagging of a new release.
CVE-2024-39932Critical9.92024-07-04Gogs through 0.13.0 allows argument injection during the previewing of changes.
CVE-2024-39931Critical9.92024-07-04Gogs through 0.13.0 allows deletion of internal files.
CVE-2024-39930Critical9.92024-07-04The built-in SSH server of Gogs through 0.13.0 allows argument injection in internal/ssh/ssh.go, leading to remote code execution. Authenticated attackers can…
CVE-2022-2024Critical9.82023-02-25OS Command Injection in GitHub repository gogs/gogs prior to 0.12.11.
CVE-2022-32174Critical9.02022-10-11In Gogs, versions v0.6.5 through v0.12.10 are vulnerable to Stored Cross-Site Scripting (XSS) that leads to an account takeover.
CVE-2022-31038Medium5.42022-06-09Gogs is an open source self-hosted Git service. In versions of gogs prior to 0.12.9 `DisplayName` does not filter characters input from users, which leads to a…
CVE-2022-1993High8.12022-06-09Path Traversal in GitHub repository gogs/gogs prior to 0.12.9.
CVE-2022-1992Critical9.12022-06-09Path Traversal in GitHub repository gogs/gogs prior to 0.12.9.
CVE-2022-1986Critical9.82022-06-09OS Command Injection in GitHub repository gogs/gogs prior to 0.12.9.
CVE-2021-32546High8.82022-06-02Missing input validation in internal/db/repo_editor.go in Gogs before 0.12.8 allows an attacker to execute code remotely. An unprivileged attacker (registered…
CVE-2022-1285Medium6.52022-06-01Server-Side Request Forgery (SSRF) in GitHub repository gogs/gogs prior to 0.12.8.
CVE-2022-1464Medium5.42022-05-05Stored xss bug in GitHub repository gogs/gogs prior to 0.12.7. As the repo is public , any user can view the report and when open the attachment then xss is ex…
CVE-2022-0415High8.82022-03-21Remote Command Execution in uploading repository file in GitHub repository gogs/gogs prior to 0.12.6.
CVE-2022-0871Critical9.12022-03-11Missing Authorization in GitHub repository gogs/gogs prior to 0.12.5.
CVE-2022-0870Medium5.32022-03-11Server-Side Request Forgery (SSRF) in GitHub repository gogs/gogs prior to 0.12.5.
CVE-2020-15867High7.22020-10-16The git hook feature in Gogs 0.5.5 through 0.12.2 allows for authenticated remote code execution. There can be a privilege escalation if access to this hook fe…
CVE-2020-14958Medium6.52020-06-21In Gogs 0.11.91, MakeEmailPrimary in models/user_mail.go lacks a "not the owner of the email" check.
CVE-2020-9329Medium5.92020-02-21Gogs through 0.11.91 allows attackers to violate the admin-specified repo-creation policy due to an internal/db/repo.go race condition.
CVE-2019-14544Critical9.82019-08-02routes/api/v1/api.go in Gogs 0.11.86 lacks permission checks for routes: deploy keys, collaborators, and hooks.
CVE-2018-20303High7.52018-12-20In pkg/tool/path.go in Gogs before 0.11.82.1218, a directory traversal in the file-upload functionality can allow an attacker to create a file under data/sessi…
CVE-2018-18925Critical9.82018-11-04Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as demonstrated by a ".." session-file forgery in the file session…
CVE-2018-17031Medium6.12018-09-14In Gogs 0.11.53, an attacker can use a crafted .eml file to trigger MIME type sniffing, which leads to XSS, as demonstrated by Internet Explorer, because an "X…
CVE-2018-16409High8.62018-09-03In Gogs 0.11.53, an attacker can use migrate to send arbitrary HTTP GET requests, leading to SSRF.
CVE-2018-15193High8.82018-08-08A CSRF vulnerability in the admin panel in Gogs through 0.11.53 allows remote attackers to execute admin operations via a crafted issue / link.
CVE-2018-15192High8.62018-08-08An SSRF vulnerability in webhooks in Gitea through 1.5.0-rc2 and Gogs through 0.11.53 allows remote attackers to access intranet services.
CVE-2018-15178Medium6.12018-08-08Open redirect vulnerability in Gogs before 0.12 allows remote attackers to redirect users to arbitrary websites and conduct phishing attacks via an initial /\…