{"id":"CVE-2025-8110","kind":"vulnerability","aliases":["CVE-2025-8110"],"related":[],"title":"Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code","description":"Gogs contains a path traversal vulnerability affecting improper Symbolic link handling in the PutContents API that could allow for code execution.\n\nCISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","summary":"Gogs, a self-hosted Git service, has a path traversal flaw in its PutContents API caused by improper symbolic link handling. An attacker can write files outside the repository and reach code execution on the server.","severity":"critical","cvss":8.8,"epss":null,"exploited":true,"exploited_at":"2026-01-12T00:00:00+00:00","products":[{"name":"Gogs Gogs","fixed":[],"affected":"","ecosystem":"vendor"},{"name":"gogs","fixed":[],"affected":"<= 0.13.3","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["exploited","git-hosting","gogs","package","self-hosted"],"not_affected_if":["managed-hosting"],"how_to_check":null,"fix":null,"status":"open","published_at":"2025-12-10T14:16:19+00:00","first_seen_at":"2026-10-23T19:11:51+00:00","triaged_at":"2026-10-23T20:42:37+00:00","updated_at":"2026-10-23T23:44:51+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-23T20:42:37Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"network","summary":"Gogs, a self-hosted Git service, has a path traversal flaw in its PutContents API caused by improper symbolic link handling. An attacker can write files outside the repository and reach code execution on the server.","category":"package","who_cares":["gogs","self-hosted","git-hosting"],"confidence":0.6,"needs_auth":"unknown","worst_case":"Attacker writes files outside repo and runs code on the server","analyst_note":"Sources do not name affected or fixed Gogs versions or mitigations; check the CISA KEV entry and Gogs project advisories for the patched release and whether authentication is required for PutContents.","how_to_check":"unknown","needs_analyst":true,"not_affected_if":["managed-hosting"],"user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"critical"},"cost_usd":0.000405,"input_tokens":2516,"output_tokens":306,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-01':104C '-2025':17A,20A '-8110':18A,21A '22':103C 'action':94C 'affect':77C 'allow':11A,88C 'api':8A,49B,85C 'appli':95C 'applic':101C 'attack':57B 'bod':102C 'caus':50B 'cisa':92C 'cloud':107C 'code':15A,66B,90C 'contain':72C 'could':87C 'cve':16A,19A 'discontinu':110C 'execut':13A,67B,91C 'exploit':25B 'file':60B 'flaw':45B 'follow':100C 'git':27B,39B 'git-host':26B 'gog':10A,29B,34B,71C 'gogs':22A,23A,24A 'guidanc':105C 'handl':4A,55B,81C 'host':28B,33B,38B 'improp':1A,52B,78C 'instruct':99C 'link':3A,54B,80C 'local':12A 'mitig':96C,116C 'outsid':61B 'packag':30B 'path':43B,74C 'per':97C 'product':114C 'putcont':7A,48B,84C 'reach':65B 'repositori':63B 'requir':93C 'self':32B,37B 'self-host':31B,36B 'server':70B 'servic':40B,108C 'symbol':2A,53B,79C 'travers':44B,75C 'unavail':118C 'use':111C 'vendor':98C 'vulner':76C 'write':59B","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2025-12-10T14:16:19+00:00","kev":{"dateAdded":"2026-01-12","dueDate":"2026-02-02","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.","knownRansomwareCampaignUse":"Unknown"},"cvss_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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:U/V:C/RE:X/U:X","cvss_by":"9947ef80-c5d5-474a-bbab-97341a59000e","poc_count":0,"sources":[{"source":"kev","external_id":"CVE-2025-8110","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2025-8110","severity":null,"published_at":"2026-01-12T00:00:00+00:00","modified_at":null,"first_seen_at":"2026-10-23T19:11:51+00:00","fetched_at":"2026-10-25T11:39:14+00:00","note":null},{"source":"nvd","external_id":"CVE-2025-8110","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8110","severity":null,"published_at":"2025-12-10T14:16:19+00:00","modified_at":"2026-10-14T21:10:00+00:00","first_seen_at":"2026-10-23T23:44:51+00:00","fetched_at":"2026-10-23T23:44:51+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}