{"answers":{"affected":"3 open source packages ship an affected version, including gogs.io/gogs. It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2025-8110 in the wild since at least 12 Jan 2026.","fix":"Upgrade to a fixed version. US federal agencies must fix it by 2 Feb 2026.","what":"CVE-2025-8110 is a high-severity path traversal vulnerability in Gogs, published on 10 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-8110 and fix it if it is affected.\n\nWhat it is: CVE-2025-8110 is a high-severity path traversal vulnerability in Gogs, published on 10 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2025-8110 in the wild since at least 12 Jan 2026.\n\nAffected packages and fixed versions:\n- gogs.io/gogs (Go): affected all versions; no fix listed\n- gogs.io/gogs (Go): affected all versions up to 0.13.3; no fix listed\n- gogs.io/gogs (Go): affected all versions up to 0.13.3; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-8110/ (Markdown: https://insights.sbomify.com/CVE-2025-8110/index.md)","id":"CVE-2025-8110","markdown":"https://insights.sbomify.com/CVE-2025-8110/index.md","name":"CVE-2025-8110","record":{"aliases":["GHSA-mq8m-42gh-wq7r","GO-2025-4225"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Gogs Git server","requires_auth":"low_privilege","summary":"Attackers can overwrite arbitrary files via symbolic links in the PutContents API, leading to local code execution on Gogs servers.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Wiz","cpe":[{"product":"gogs","vendor":"gogs"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/AU:Y/R:U/V:C","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":"2025-12-11","github_poc":23,"max_poc_stars":30,"metasploit":0,"nuclei":1,"refs":[{"date":"2025-12-13T04:15:23Z","kind":"github_poc","ref":"https://github.com/zAbuQasem/gogs-CVE-2025-8110","stars":30,"title":"CVE-2025-8110 PoC"},{"date":"2025-12-11T10:37:58Z","kind":"github_poc","ref":"https://github.com/rxerium/CVE-2025-8110","stars":22,"title":"Detection template for CVE-2025-8110"},{"date":"2026-04-11T22:40:07Z","kind":"github_poc","ref":"https://github.com/Ghxstsec/CVE-2025-8110","stars":5,"title":null},{"date":"2026-06-25T16:48:18Z","kind":"github_poc","ref":"https://github.com/joaquinrrr/CVE-2025-8110","stars":5,"title":"PoC exploit for CVE-2025-8110"},{"date":"2026-04-11T23:10:11Z","kind":"github_poc","ref":"https://github.com/kayl22/cve-2025-8110-GOGS-RCE","stars":4,"title":"GOGS RCE cve-2025-8110 python script that automates the whole attack chain of creating a repository with a symlink file pointing to .git/config and then triggering rce via a poisoned sshCommand on the config file."},{"date":"2026-07-17T13:46:16Z","kind":"github_poc","ref":"https://github.com/Shirouuu/CVE-2025-8110-gogs-poc","stars":4,"title":"PoC for CVE-2025-8110 - Gogs arbitrary file write via symlink"},{"date":"2026-04-11T20:28:17Z","kind":"github_poc","ref":"https://github.com/3jee/CVE-2025-8110","stars":2,"title":"CVE-2025-8110 — Gogs \u003c= 0.13.3 Arbitrary File Write via Symlink Traversal in PutContents API"},{"date":"2026-02-10T00:30:07Z","kind":"github_poc","ref":"https://github.com/George0Papasotiriou/CVE-2025-8110-Gogs-Remote-Code-Execution","stars":1,"title":null}],"tier":"exploited"},"has_fix":true,"headline":"Gogs Path Traversal","id":"CVE-2025-8110","indexable":true,"kev":{"dateAdded":"2026-01-12","dueDate":"2026-02-02","knownRansomwareCampaignUse":"Unknown","product":"Gogs","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","vendorProject":"Gogs","vulnerabilityName":"Gogs Path Traversal Vulnerability"},"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":3,"n_references":1,"next":{"headline":"Ebook Store \u003c 5.8015 - Reflected XSS via $_SERVER['REQUEST_URI']","id":"CVE-2025-8113"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","source":"GO-2025-4225"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.13.3"],"package":"gogs.io/gogs","purl":null,"source":"GHSA-mq8m-42gh-wq7r"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.13.3"],"package":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","source":"GHSA-mq8m-42gh-wq7r"}],"prev":{"headline":"GPU DDK - GPU shader shared memory corrupted using ptrace to disrupt GPU operation","id":"CVE-2025-8109"},"products":["Gogs"],"published":"2025-12-10","related":[{"cvss_score":10,"headline":"Gogs deletion of internal files allows remote command execution","id":"CVE-2024-56731","kev_date_added":null,"published":"2025-06-24"},{"cvss_score":10,"headline":"Remote Command Execution in gogs/gogs","id":"CVE-2022-1884","kev_date_added":null,"published":"2024-11-15"},{"cvss_score":10,"headline":"OS Command Injection in gogs/gogs","id":"CVE-2022-1986","kev_date_added":null,"published":"2022-06-09"},{"cvss_score":10,"headline":"Path Traversal in gogs/gogs","id":"CVE-2022-1992","kev_date_added":null,"published":"2022-06-08"},{"cvss_score":9.9,"headline":"Duplicate Advisory: github.com/gogs/gogs affected by CVE-2024-39930","id":"CVE-2024-39930","kev_date_added":null,"published":"2024-07-04"},{"cvss_score":9.9,"headline":"Duplicate Advisory: Gogs allows deletion of internal files","id":"CVE-2024-39931","kev_date_added":null,"published":"2024-07-04"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["Gogs"]},"summary":"Attackers can overwrite arbitrary files via symbolic links in the PutContents API, leading to local code execution on Gogs servers.","url":"https://insights.sbomify.com/CVE-2025-8110/"}