Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. gogs.io/gogs
  4. ›
  5. CVE-2025-64111

CVE-2025-64111: Gogs's update .git/config file allows remote command execution

February 6, 2026

Due to the insufficient patch for the https://github.com/gogs/gogs/security/advisories/GHSA-wj44-9vcg-wjq7, it’s still possible to update files in the .git directory and achieve remote command execution.

References

  • github.com/advisories/GHSA-gg64-xxr9-qhjp
  • github.com/gogs/gogs
  • github.com/gogs/gogs/blob/d940e692ec58abd45e648c054d7dfd88909034ec/internal/route/api/v1/repo/contents.go
  • github.com/gogs/gogs/security/advisories/GHSA-gg64-xxr9-qhjp
  • nvd.nist.gov/vuln/detail/CVE-2025-64111

Code Behaviors & Features

Detect and mitigate CVE-2025-64111 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.13.4

Fixed versions

  • 0.13.4

Solution

Upgrade to version 0.13.4 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

go/gogs.io/gogs/CVE-2025-64111.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 07 Feb 2026 00:19:34 +0000.