CVE-2025-64111

CRITICAL

Gogs < 0.13.4 - Remote Code Execution via .git Directory File Update

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2025-64111. PoCs published by Acczdy.

AI-analyzed exploit summary This repository contains a functional Python-based PoC for CVE-2025-64111, a symlink bypass vulnerability in Gogs. The exploit demonstrates how an attacker can create a symlink to the .git/config file and manipulate it via the Web UI, leading to potential Git configuration injection.

Description

Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, due to the insufficient patch for CVE-2024-56731, it's still possible to update files in the .git directory and achieve remote command execution. This issue has been patched in versions 0.13.4 and 0.14.0+dev.

Exploits (1)

github WORKING POC
by Acczdy · pythonpoc
https://github.com/Acczdy/CVE-Vault/tree/master/CVE-2025-64111

This repository contains a functional Python-based PoC for CVE-2025-64111, a symlink bypass vulnerability in Gogs. The exploit demonstrates how an attacker can create a symlink to the .git/config file and manipulate it via the Web UI, leading to potential Git configuration injection.

Classification
Working Poc 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Gogs ≤ 0.13.3
Auth required
Prerequisites: valid Gogs credentials · access to create files in a repository
devstral-2 · analyzed Mar 08, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v3 9.8
EPSS 0.0027
EPSS Percentile 50.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-78
Status published
Products (2)
gogs/gogs < 0.13.4
gogs.io/gogs 0 - 0.13.4Go
Published Feb 06, 2026
Tracked Since Feb 18, 2026