CVE-2019-11229: Remote Code Execution in github.com/go-gitea/gitea/models

github.com/go-gitea/gitea Updated 02 Oct 2025

Summary

15/02/2022
Yes i
High
7.5

CVE-2019-11229: Gitea Remote Code Execution. Affects github.com/go-gitea/gitea versions < 1.7.6. Fixed in 1.7.6. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The github.com/go-gitea/gitea/models package is a component of Gitea, an open-source self-hosted Git service. It provides functionality for managing repository mirrors. Gitea versions before 1.7.6 and 1.8.x before 1.8-RC3 are affected by a vulnerability that mishandles mirror repository URL settings, potentially leading to remote code execution.

Vulnerability Detail

The vulnerability (CVE-2019-11229) in github.com/go-gitea/gitea/models allows an attacker to execute arbitrary code remotely. It occurs due to improper handling of mirror repository URL settings. An attacker can exploit this vulnerability to execute malicious code on the target system, potentially leading to unauthorized access, data theft, or further compromise of the affected Gitea instance.

How To Fix

Latest published version: v1.8.3 as of 23 Oct 2026

go get github.com/go-gitea/gitea@v1.8.3

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.7.6

This is the first release that contains the fix.

go get github.com/go-gitea/gitea@v1.7.6

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround provided for this vulnerability. It is advised to apply the recommended fix by upgrading to the latest version of Gitea.

Conclusion

The vulnerability (CVE-2019-11229) in the github.com/go-gitea/gitea/models package allows for remote code execution in Gitea instances before version 1.7.6 and 1.8.x before 1.8-RC3. It is crucial to upgrade Gitea to the latest version to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for github.com/go-gitea/gitea →

Share this vulnerability

FAQ

The vulnerability allows an attacker to execute arbitrary code remotely, potentially leading to unauthorized access, data theft, or further compromise of the affected Gitea instance.

Gitea versions before 1.7.6 and 1.8.x before 1.8-RC3 are affected by this vulnerability.

There is no known public exploit available for this vulnerability at the time of this report.

Yes, upgrading Gitea to version 1.7.6 or later will mitigate this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/go-gitea/gitea.

How To Fix

Latest published version: v1.8.3 as of 23 Oct 2026

go get github.com/go-gitea/gitea@v1.8.3

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.7.6

This is the first release that contains the fix.

go get github.com/go-gitea/gitea@v1.7.6

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback