Skip to content
RedCVE

CVE-2025-8110Gogs PutContents API symlink flaw allows code execution

ExploitedGogsPublished:

CVSS score

8.7

High

CVSS 4.0 from 9947ef80-c5d5-474a-bbab-97341a59000e

Exploit probability (EPSS)

80.3%

80.3% chance of exploitation in the next 30 days, higher than 99.6% of all CVEs.

CISA KEV

Actively exploited

Added to KEV on 12 Jan 2026.

US federal deadline to fix: 2 Feb 2026.

In plain words

A logged-in user with write access to a repository can use symbolic links in the PutContents API to write files outside the intended location and run code on the server. Gogs 0.13.3 and earlier are affected, and CISA reports active exploitation. Apply the vendor's mitigations or stop using Gogs until a fix is in place.

Official description

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

Source: NVD · CNA: 9947ef80-c5d5-474a-bbab-97341a59000e

How to fix it, step by step

  1. Treat it as urgent

    Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 12 Jan 2026.

    US federal agencies must fix it by 2 Feb 2026. It's a sensible deadline for everyone else too.

    CISA's full instruction
    Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
  2. Check whether you're affected

    Find every system running Gogs and compare its version with the affected versions.

  3. Apply the vendor's fix

    The official record doesn't name a fixed version. The vendor's advisory describes the fix:

  4. Check for signs of compromise

    Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. 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

Affected products

Affected productsVersions
Gogs Gogs≤ 0.13.3

Weakness

Timeline

  1. Published:
  2. Added to CISA KEV:
  3. Last modified:

Frequently asked questions

Is CVE-2025-8110 being exploited?

Yes. CISA added CVE-2025-8110 to its Known Exploited Vulnerabilities catalog on 12 Jan 2026, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 80.3% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2025-8110?

CVE-2025-8110 has a CVSS 4.0 base score of 8.7 (high).

Which versions are affected?

Gogs Gogs (≤ 0.13.3)

Is there a patch for CVE-2025-8110?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.