---
id: "CVE-2025-8110"
kind: "vulnerability"
aliases: ["CVE-2025-8110"]
title: "Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code"
severity: "critical"
cvss: 8.8
epss: null
exploited: true
status: "open"
category: "package"
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"]
published_at: "2025-12-10T14:16:19+00:00"
first_seen_at: "2026-10-23T19:11:51+00:00"
updated_at: "2026-10-23T23:44:51+00:00"
sources: [{"source": "kev", "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2025-8110", "first_seen_at": "2026-10-23T19:11:51+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-8110", "first_seen_at": "2026-10-23T23:44:51+00:00"}]
---

# Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code

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.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:Gogs Gogs affected ? fixed ?
- vendor:gogs affected <= 0.13.3 fixed ?

## Timeline

- 2026-10-23T19:11:51+00:00 kev https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2025-8110
- 2026-10-23T23:44:51+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2025-8110

## From the sources

Gogs contains a path traversal vulnerability affecting improper Symbolic link handling in the PutContents API that could allow for code execution.

CISA 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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
