CVE Tools

CVE-2025-8110

File overwrite in file update API in Gogs

Exploited in the wild. In CISA KEV since 2026‑01‑12. A vendor fix is available.

Published Updated Sources: CVE.org, NVD, GitHub, BDU

What to do

The vendor has published a fix. Version details are below where the sources state them.

Steps

Written by AI from the record
  1. Check whether you use Gogs (gogs.io/gogs) and confirm it’s the version currently running in production.
  2. Upgrade Gogs to the fixed version(s) referenced by the vendor commits/PR: apply the changes from gogs/gogs commit 553707f3fd5f68f47f531cfcff56aa3ec294c6f6 or PR 8078.
  3. If you cannot upgrade immediately, block or restrict access to the Gogs “PutContents” file update functionality from untrusted networks (use an application firewall/WAF as recommended by the vendor) and limit who can reach the service.
  4. After upgrading/mitigation, verify the service still functions normally and review web/app logs for suspicious requests to file update endpoints.

What it is

From the CVE record

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

In plain language

Written by AI from the record

CVE-2025-8110 is a serious Gogs flaw that can let an attacker overwrite files (potentially leading to code execution); small businesses running Gogs should treat this as urgent and apply the fix or mitigation now.

CVE-2025-8110 is an arbitrary file overwrite in the Gogs PutContents API caused by improper symbolic-link handling, enabling an attacker with low authentication to overwrite files and potentially escalate to code execution or data corruption.

If you're affected

  • Full system compromise
  • Source code tampering
  • Credential and data theft
  • Service disruption

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS99th
Public exploit
CISA KEV
CISA KEV

Listed as exploited in the wild since 2026-01-12.

US federal agencies must remediate by 2026-02-02.

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Public exploits

2 sources with a proof of concept or module.

Exploit links, PoCs and Metasploit modules after sign-in
EPSS

85% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

The patch came 45 days before any public exploit.

  1. OpenVAS check added
  2. EPSS band changemoderate → high
  3. Public exploit / PoCsource: github-poc
  4. Nuclei check added
  5. Patch availablerecord updated
  6. Added to CISA KEV

Affected products

Technical detail

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Scored 8.8 by NVD.

How it is reached

  • Attack Vector NetworkExploitable remotely over the network without any special conditions
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required LowRequires basic user-level privileges
  • User Interaction NoneNo user interaction needed — fully automated exploitation

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality HighTotal information disclosure — all data in the component is compromised
  • Integrity HighTotal loss of integrity — attacker can modify any data in the component
  • Availability HighTotal denial of service — the component is completely unavailable

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next exploited one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Gogs, not every advisory. This one: actively exploited.

We use analytics cookies to see which pages and articles actually help people. Decline and none of them run — the site works the same. What we store