← Vulnerability feed

Vulnerability record · CVE-2019-11229 · published 15 April 2019

CVE-2019-11229: Gitea mirror repo URL handling allows remote code execution

Gitea · Gitea

Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror repository URL settings, allowing an authenticated user to trigger remote code execution. The flaw is in models/repo_mirror.go and is rated high severity (CVSS 3.1 8.8). It matters because a low-privileged account can gain full control of confidentiality, integrity and availability on the host.

8.8 CVSS 3.1 High EPSS 55% · top 1.0%
8.8CVSS 3.1 base score, v2 6.5
55%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror repo URL settings, leading to remote code execution.

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: medium.

high priorityCVSS 8.8 with a public exploit and very high EPSS percentile, though it requires an authenticated low-privileged account and is not in KEV.

What it is

Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror repository URL settings, allowing an authenticated user to trigger remote code execution. The flaw is in models/repo_mirror.go and is rated high severity (CVSS 3.1 8.8). It matters because a low-privileged account can gain full control of confidentiality, integrity and availability on the host.

Impact

An attacker with a valid account gains code execution on the Gitea server, leading to full compromise of data and service integrity. The CVSS vector indicates high impact to confidentiality, integrity and availability.

Attack surface

Reached over the network through the mirror repository URL configuration; the vector requires low privileges (PR:L) and no user interaction (UI:N). No authentication bypass is implied, so a valid low-privileged account is needed.

Exploitation

Not listed in CISA KEV, but a public exploit exists (Packet Storm reference tagged Exploit) and EPSS is 0.54955 (98.9th percentile), indicating elevated likelihood of exploitation.

What to do

  • Upgrade Gitea to 1.7.6 or later, or 1.8.0-RC3 or later, per the vendor release notes.
  • Restrict who can create or configure mirror repositories to trusted users only.
  • Review existing mirror repository URL settings for unexpected or attacker-controlled values.
  • Monitor and limit outbound network access from the Gitea host to reduce post-exploitation reach.

Detection

  • Audit Gitea logs for mirror repository creation or URL changes made by low-privileged accounts.
  • Alert on unexpected child processes or outbound connections spawned by the Gitea service.
  • Review repository mirror configuration changes around the time of any suspected compromise.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2019-11229 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-60004Gitea diffpatch API code injection enables remote code executionGitea before 1.27.1 allows remote code execution through the diffpatch API by way of Git hook installation. The flaw is a code injection issue (CWE-9…KEVEPSS 24%analysed9.8CVE-2022-42968Gitea argument injection vulnerabilityGitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.EPSS 1.2%9.8CVE-2021-45331Gitea improper authentication vulnerabilityAn Authentication Bypass vulnerability exists in Gitea before 1.5.0, which could let a malicious user gain privileges. If captured, the TOTP code for…EPSS 1.4%9.8CVE-2021-45330Gitea vulnerabilityAn issue exsits in Gitea through 1.15.7, which could let a malicious user gain privileges due to client side cookies not being deleted and the sessio…EPSS 1.4%9.8CVE-2021-45327Gitea interpretation conflict vulnerabilityGitea before 1.11.2 is affected by Trusting HTTP Permission Methods on the Server Side when referencing the vulnerable admin or user API. which could…EPSS 2.1%9.8CVE-2020-28991Gitea vulnerabilityGitea 0.9.99 through 1.12.x before 1.12.6 does not prevent a git protocol path that specifies a TCP port number and also contains newlines (with URL …EPSS 1.7%9.8CVE-2019-11576Gitea improper authentication vulnerabilityGitea before 1.8.0 allows 1FA for user accounts that have completed 2FA enrollment. If a user's credentials are known, then an attacker could send th…EPSS 1.8%9.8CVE-2018-18926Gitea vulnerabilityGitea before 1.5.4 allows remote code execution because it does not properly validate session IDs. This is related to session ID handling in the go-m…EPSS 3.0%

Source: NIST National Vulnerability Database (record CVE-2019-11229), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.