CVE-2025-8110 Gogs Path Traversal

Exploited in the wild High 8.7 Published Updated

Attackers can overwrite arbitrary files via symbolic links in the PutContents API, leading to local code execution on Gogs servers.

Exploited in the wild
Since 12 Jan 2026
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-8110?

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.

Official description

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

Weakness: CWE-22

Which versions are affected by CVE-2025-8110?

3 open source packages ship an affected version, including gogs.io/gogs. It affects 1 product.

PackageAffectedFixed in
gogs.io/gogs GoAll versionsNone
gogs.io/gogs GoAll versions to 0.13.3None
gogs.io/gogs GoAll versions to 0.13.3None

Products include Gogs Gogs.

How do I fix CVE-2025-8110?

Upgrade to a fixed version. US federal agencies must fix it by 2 Feb 2026.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-8110 being exploited?

Yes. Attackers have exploited CVE-2025-8110 in the wild since at least 12 Jan 2026.

Public exploit code: 1 Nuclei template and 23 proofs of concept on GitHub.

Sources

Also known as GHSA-mq8m-42gh-wq7r, GO-2025-4225.

Is CVE-2025-8110 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free