GoWorst: Critical77 advisories
gogs.io/gogs: known vulnerabilities
gogs.io/gogs has 77 reviewed security advisories in the GitHub Advisory Database — 16 critical, 32 high, 27 moderate, 2 low. The most recent was published 2026-06-24. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the gogs.io/gogs versions running across your servers, containers and images, and ranks what to patch first.
How to fix gogs.io/gogs
Upgrade gogs.io/gogs to a release at or above the fixed version shown for each advisory below. For Go:
go get gogs.io/gogs@0.14.3 && go mod tidy (check govulncheck)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (77)
Gogs's write-level collaborators can mutate admin-only repository settings via API
High 7.1 CWE-269 CWE-863
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-268j-37xf-pp52 · CVE-2026-52808
Gogs has a Denial of Service in repository/wiki file listing web pages
Moderate 4.9 CWE-20
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-3qq3-668m-v9mj · CVE-2025-64719
Gogs's Unauthenticated Jupyter Notebook (ipynb) Sanitizer allows arbitrary data: URIs leading to XSS
Moderate CWE-79 CWE-80
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-3w28-36p9-w929 · CVE-2026-52816
Gogs Vulnerable to Privilege Escalation via Collaboration Access Mode Validation
Moderate CWE-193
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-4565-r4x7-hg8j · CVE-2026-52804
Gogs has DoS in rendering issue index pattern
Low 3.5 CWE-1336
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-4j89-2c4f-44c6 · CVE-2026-52796
Gogs's password-reset tokens use account-activation lifetime, ignoring RESET_PASSWORD_CODE_LIVES
Moderate 6.8 CWE-324 CWE-613
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-5c3f-6486-3g7g · CVE-2026-52809
Gogs: LFS dedupe path leaks private repo content across tenants
High CWE-345 CWE-639 CWE-862
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-6p9m-q3jp-47h4 · CVE-2026-52812
Gogs Vulnerable to Unauthenticated Organization Teams Information Disclosure via API
Moderate CWE-200
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-744x-3838-5r56 · CVE-2026-52815
Gogs: UploadRepoFiles writes outside repo working tree via committed parent sym
Critical CWE-22 CWE-59 CWE-61
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-89mr-xqfv-758m · CVE-2026-52811
Gogs has Path Traversal in organization name that results in RCE through Git hooks
Critical 10.0 CWE-23
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-c39w-43gm-34h5 · CVE-2026-52813
Gogs has SSRF in webhook deliveries
High 8.3 CWE-918
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-c4v7-xg93-qf8g · CVE-2026-47267
Gogs has a Migration Redirect Bypass that Leads to Internal Repository Theft
High 8.7 CWE-918
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-g2f5-gjr4-qjvm · CVE-2026-52805
Gogs has Stored XSS in `.ipynb` Preview
High 8.9 CWE-79
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-jq8v-rmf6-65jw · CVE-2026-52798
Gogs Missing Authorization in Attachment Download
High 7.5 CWE-639 CWE-862
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-p9f5-h3rx-j5qw · CVE-2026-52799
Gogs: Overwriting critical files results in a denial of service
High 8.5 CWE-22
— Affected: before 0.14.0. Fixed in 0.14.0. Published 2026-06-24. GHSA-pm6v-2h4w-4rp2 · CVE-2026-52797
Gogs Vulnerable to CSRF Leading to Organization Owner Takeover
High 8.8 CWE-352
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-pwx3-qcgw-vh7h · CVE-2026-52800
Gogs vulnerable to RCE via git rebase --exec argument injection in pull request merge
Critical 9.9 CWE-77
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-qf6p-p7ww-cwr9 · CVE-2026-52806
Gogs has DOM-based XSS via Milestone Name on New Issue Page
Moderate CWE-79
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-vcm5-gvmp-78mp · CVE-2026-52807
Gogs has an Authentication Bypass via Unvalidated Reverse Proxy Headers
High CWE-290
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-w6j9-vw59-27wv · CVE-2026-25119
Gogs allows users to write to readonly repositories using receive-pack + service=git-upload-pack confusion
High CWE-284
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-wmfg-5p4h-5fw3 · CVE-2026-123012
Gogs has the ability to import local repositories via Mirror Settings
High 8.1 CWE-20
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-wv27-2vqp-j7g5 · CVE-2026-52801
Gogs has Unauthenticated Asymmetric Denial of Service (DoS) via SSH Handshake Stall (File Descriptor Exhaustion)
Moderate CWE-400
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-xp79-5mx3-jx52 · CVE-2026-52814
Gogs has an Open Redirect via redirect_to
Moderate 5.4 CWE-601
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-24. GHSA-xxhq-69mf-w8cr · CVE-2026-52802
Gogs: XSS in .ipynb files renderer due to outdated notebookjs
High CWE-1395 CWE-80
— Affected: before 0.14.3. Fixed in 0.14.3. Published 2026-06-19. GHSA-6vxv-wg6j-5qwp
Gogs: Cross-repository LFS object overwrite via missing content hash verification
Critical 9.3 CWE-345
— Affected: before 0.14.2. Fixed in 0.14.2. Published 2026-03-05. GHSA-cj4v-437j-jq4c · CVE-2026-25921
Gogs: Release tag option injection in release deletion
High CWE-88
— Affected: before 0.14.2. Fixed in 0.14.2. Published 2026-03-05. GHSA-v9vm-r24h-6rqm · CVE-2026-26194
Gogs: DOM-based XSS via milestone selection
High 7.3 CWE-79
— Affected: up to and including 0.13.3. No fixed release is listed. Published 2026-03-05. GHSA-vgjm-2cpf-4g7c · CVE-2026-26276
Gogs: Stored XSS in branch and wiki views through author and committer names
Moderate CWE-79
— Affected: up to and including 0.13.3. No fixed release is listed. Published 2026-03-05. GHSA-vgvf-m4fw-938j · CVE-2026-26195
Gogs: Access tokens get exposed through URL params in API requests
Moderate 5.3 CWE-598
— Affected: up to and including 0.13.3. No fixed release is listed. Published 2026-03-05. GHSA-x9p5-w45c-7ffc · CVE-2026-26196
Gogs: Stored XSS via data URI in issue comments
High 8.7 CWE-79
— Affected: before 0.14.2. Fixed in 0.14.2. Published 2026-03-05. GHSA-xrcr-gmf5-2r8j · CVE-2026-26022
Gogs has a Protected Branch Deletion Bypass in Web Interface
High CWE-863
— Affected: before 0.14.1. Fixed in 0.14.1. Published 2026-02-19. GHSA-2c6v-8r3v-gh6p · CVE-2026-25232
Gogs has an Authorization Bypass Allows Cross-Repository Label Modification in Gogs
Moderate CWE-284
— Affected: before 0.14.0. Fixed in 0.14.0. Published 2026-02-19. GHSA-cv22-72px-f4gh · CVE-2026-25229
Unauthenticated File Upload in Gogs
Moderate CWE-862
— Affected: before 0.14.1. Fixed in 0.14.1. Published 2026-02-19. GHSA-fc3h-92p8-h36f · CVE-2026-25242
Gogs Allows Cross-Repository Comment Deletion via DeleteComment
Moderate CWE-639
— Affected: before 0.14.0. Fixed in 0.14.0. Published 2026-02-19. GHSA-jj5m-h57j-5gv7 · CVE-2026-25120
Gogs vulnerable to Stored XSS via Mermaid diagrams
High 7.3 CWE-1395 CWE-79
— Affected: before 0.13.4. Fixed in 0.13.4. Published 2026-02-06. GHSA-26gq-grmh-6xm6
Gogs user can update repository content with read-only permission
Moderate 6.5 CWE-862 CWE-863
— Affected: before 0.13.4. Fixed in 0.13.4. Published 2026-02-06. GHSA-5qhx-gwfj-6jqr · CVE-2026-23632
Gogs has a Denial of Service issue
Moderate 6.5 CWE-862
— Affected: before 0.13.4. Fixed in 0.13.4. Published 2026-02-06. GHSA-cr88-6mqm-4g57 · CVE-2026-22592
Gogs's update .git/config file allows remote command execution
Critical CWE-78
— Affected: before 0.13.4. Fixed in 0.13.4. Published 2026-02-06. GHSA-gg64-xxr9-qhjp · CVE-2025-64111
Gogs vulnerable to arbitrary file deletion via Path Traversal in wiki page update
High CWE-22
— Affected: before 0.13.4. Fixed in 0.13.4. Published 2026-02-06. GHSA-jp7c-wj6q-3qf2 · CVE-2026-24135
Gogs has arbitrary file read/write via Path Traversal in Git hook editing
Moderate 6.5 CWE-22
— Affected: before 0.13.4. Fixed in 0.13.4. Published 2026-02-06. GHSA-mrph-w4hh-gx3g · CVE-2026-23633
Gogs Vulnerable to 2FA Bypass via Recovery Code
High CWE-287
— Affected: from 0.11.19 up to 0.13.4. Fixed in 0.13.4. Published 2026-02-06. GHSA-p6x6-9mx6-26wj · CVE-2025-64175
Gogs has authorization bypass in repository deletion API
Moderate CWE-284
— Affected: before 0.13.4. Fixed in 0.13.4. Published 2026-02-06. GHSA-rjv5-9px2-fqw6 · CVE-2025-65852
Gogs vulnerable to a bypass of CVE-2024-55947
High CWE-22
— Affected: up to and including 0.13.3. No fixed release is listed. Published 2025-12-10. GHSA-mq8m-42gh-wq7r · CVE-2025-8110 · In CISA KEV →
Gogs allows deletion of internal files which leads to remote command execution
Critical 10.0 CWE-552
— Affected: before 0.13.3. Fixed in 0.13.3. Published 2025-06-24. GHSA-wj44-9vcg-wjq7 · CVE-2024-56731
Gogs XSS allowed by stored call in PDF renderer
Moderate 6.3 CWE-79
— Affected: before 0.13.3-0.20250608224432-110117b2e5e5. Fixed in 0.13.3-0.20250608224432-110117b2e5e5. Published 2025-06-24. GHSA-xh32-cx6c-cp4v · CVE-2025-47943
Gogs allows argument injection during the previewing of changes
Critical 9.9 CWE-94
— Affected: before 0.13.1. Fixed in 0.13.1. Published 2024-12-23. GHSA-9pp6-wq8c-3w2c · CVE-2024-39932
Gogs allows deletion of internal files
Critical 9.9 CWE-552
— Affected: before 0.13.1. Fixed in 0.13.1. Published 2024-12-23. GHSA-ccqv-43vm-4f3w · CVE-2024-39931
Gogs allows argument Injection when tagging new releases
High 7.7 CWE-88
— Affected: before 0.13.1. Fixed in 0.13.1. Published 2024-12-23. GHSA-m27m-h5gj-wwmg · CVE-2024-39933
Path Traversal in file update API in gogs
High 8.8 CWE-22
— Affected: before 0.13.1. Fixed in 0.13.1. Published 2024-12-23. GHSA-qf5v-rp47-55gg · CVE-2024-55947
Remote Command Execution in file editing in gogs
High 9.8 CWE-22
— Affected: before 0.13.1. Fixed in 0.13.1. Published 2024-12-23. GHSA-r7j8-5h9c-f6fx · CVE-2024-54148
Gogs has an argument Injection in the built-in SSH server
Critical 9.9 CWE-88
— Affected: before 0.13.1. Fixed in 0.13.1. Published 2024-12-23. GHSA-vm62-9jw3-c8w3 · CVE-2024-39930
OS Command Injection in gogs
Critical 10.0 CWE-77 CWE-78
— Affected: before 0.12.8. Fixed in 0.12.8. Published 2024-11-15. GHSA-958j-443g-7mm7 · CVE-2022-1884
Remote Code Execution in Gogs
High 8.8 CWE-22
— Affected: before 0.13.2. Fixed in 0.13.2. Published 2024-11-15. GHSA-phm4-wf3h-pc3r · CVE-2024-44625
Gogs OS Command Injection vulnerability
Critical 9.8 CWE-78
— Affected: before 0.12.11. Fixed in 0.12.11. Published 2023-02-25. GHSA-pfvh-p8qp-9ww9 · CVE-2022-2024
Gogs vulnerable to Cross-site Scripting
Critical 9.0 CWE-79
— Affected: 0.6.5 through 0.12.10. No fixed release is listed. Published 2022-10-11. GHSA-mcjj-2fvq-mc3r · CVE-2022-32174
OS Command Injection in file editor in Gogs
Critical 9.8 CWE-78
— Affected: before 0.12.9. Fixed in 0.12.9. Published 2022-06-09. GHSA-67mx-jc2f-jgjm · CVE-2022-1986
Path Traversal in Git HTTP endpoints in Gogs
High 8.1 CWE-22
— Affected: before 0.12.9. Fixed in 0.12.9. Published 2022-06-09. GHSA-6vcc-v9vw-g2x5 · CVE-2022-1993
Path Traversal in file editor on Windows in Gogs
Critical 9.1 CWE-22
— Affected: before 0.12.9. Fixed in 0.12.9. Published 2022-06-09. GHSA-994f-7g86-qr56 · CVE-2022-1992
Cross-site Scripting vulnerability in repository issue list in Gogs
Moderate 5.4 CWE-79 CWE-80
— Affected: before 0.12.9. Fixed in 0.12.9. Published 2022-06-09. GHSA-xq4v-vrp9-vcf2 · CVE-2022-31038
OS Command Injection in gogs
Critical CWE-78
— Affected: before 0.12.8. Fixed in 0.12.8. Published 2022-06-02. GHSA-56j7-2pm8-rgmx · CVE-2021-32546
Cross site scripting via cookies in gogs
Low CWE-79
— Affected: before 0.12.8. Fixed in 0.12.8. Published 2022-06-02. GHSA-pj96-4jhv-v792
Server-Side Request Forgery in gogs webhook
High 8.3 CWE-918
— Affected: before 0.12.8. Fixed in 0.12.8. Published 2022-06-01. GHSA-w689-557m-2cvq · CVE-2022-1285
Cross-site Scripting in Gogs
Moderate 5.4 CWE-79
— Affected: before 0.12.7. Fixed in 0.12.7. Published 2022-05-05. GHSA-ff28-f46g-r9g8 · CVE-2022-1464
Unrestricted Upload of File with Dangerous Type in Gogs
High 8.8 CWE-20 CWE-434
— Affected: before 0.12.6. Fixed in 0.12.6. Published 2022-03-21. GHSA-5gjh-5j4f-cpwv · CVE-2022-0415
Gogs vulnerable to improper PAM authorization handling
High 8.2 CWE-862
— Affected: before 0.12.5. Fixed in 0.12.5. Published 2022-03-14. GHSA-gw5h-h6hj-f56g · CVE-2022-0871
SSRF in repository migration
Moderate 5.0 CWE-918
— Affected: before 0.12.5. Fixed in 0.12.5. Published 2022-03-14. GHSA-q347-cg56-pcq4
Duplicate Advisory: Improper Authorization in Gogs
High 8.2 CWE-285 CWE-862 CWE-863
— Affected: before 0.12.5. Fixed in 0.12.5. Published 2022-03-11. GHSA-65f3-3278-7m65
SSRF in repository migration
Moderate 5.0 CWE-918
— Affected: before 0.12.5. Fixed in 0.12.5. Published 2022-03-11. GHSA-7v5r-r995-q2x2 · CVE-2022-0870
Cross-site Scripting in Gogs
Moderate CWE-79
— Affected: from 0.3.1 up to 0.5.8. Fixed in 0.5.8. Published 2021-06-29. GHSA-9hx4-qm7h-x84j · CVE-2014-8683
Open Redirect
Moderate 6.1 CWE-601
— Affected: before 0.12.0. Fixed in 0.12.0. Published 2021-06-29. GHSA-cpgw-2wxr-pww3 · CVE-2018-15178
SQL Injection in Gogs
High 7.3 CWE-89
— Affected: from 0.3.1 up to 0.5.8. Fixed in 0.5.8. Published 2021-06-29. GHSA-g6xv-8q23-w2q3 · CVE-2014-8682
SQL Injection in gogs.io/gogs
Moderate 6.5 CWE-89
— Affected: from 0.3.1 up to 0.5.8. Fixed in 0.5.8. Published 2021-06-29. GHSA-mr6h-chqp-p9g2 · CVE-2014-8681
Insecure Permissions in Gogs
Moderate 5.3 CWE-281
— Affected: before 0.12.0. Fixed in 0.12.0. Published 2021-05-18. GHSA-4c7m-vv47-7c69 · CVE-2020-14958
Insecure Permissions in Gogs
Critical 9.8 CWE-200
— Affected: before 0.11.91. Fixed in 0.11.91. Published 2021-05-18. GHSA-5r2v-6gm6-vpvh · CVE-2019-14544
Gogs Directory Traversal
High 7.5 CWE-22
— Affected: before 0.11.80-0.20181218063808-ff93d9dbda5c. Fixed in 0.11.80-0.20181218063808-ff93d9dbda5c. Published 2018-12-20. GHSA-9hxg-w7qf-hh93 · CVE-2018-20303
Gogs XSS Vulnerability
Moderate 6.1 CWE-79
— Affected: before 0.12.0. Fixed in 0.12.0. Published 2018-09-14. GHSA-px5r-fqj6-r2f8 · CVE-2018-17031
Gogs and Gitea SSRF Vulnerability
High 8.6 CWE-918
— Affected: before 0.12.0. Fixed in 0.12.0. Published 2018-08-08. GHSA-fg3x-rwq9-74cw · CVE-2018-15192
Find gogs.io/gogs across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.