Description
Gitea versions before 1.25.5 allow a user to change another user's primary email address.
Published: 2026-07-03
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in Gitea prior to version 1.25.5 permits an authenticated user to alter another user's primary email address, bypassing the expected restriction on account data changes. The weakness, identified as CWE‑639, can be leveraged to redirect notification traffic, impersonate a user, or facilitate further social‑engineering attacks. The primary impact is that an attacker who succeeds can take over the victim's account or at least hijack communications intended for that account.

Affected Systems

The Gitea open‑source Git server is affected. All releases before 1.25.5 are vulnerable, as no other vendors or products are listed as impacted.

Risk and Exploitability

The CVSS score of 7.5 signals high severity while the EPSS score of less than 1 % indicates a low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated session and is executed through the normal web interface by using the email change function. Based on the description, the attack vector is inferred as an authenticated, internal user action that can modify another user's primary email address.

Generated by OpenCVE AI on July 23, 2026 at 16:15 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Gitea 1.25.5 or later to apply the vendor patch.
  • Restrict the permission that allows changing primary email addresses so that only administrators or the account owner can perform this action.
  • Monitor audit logs for profile changes, set alerts for unauthorized email modifications, and consider disabling the email change feature if not required.

Generated by OpenCVE AI on July 23, 2026 at 16:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 07 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 06 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server

Fri, 03 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
Description Gitea versions before 1.25.5 allow a user to change another user's primary email address.
Title Gitea email settings allow changing another user's primary email address
Weaknesses CWE-639
References

Subscriptions

Gitea Gitea Open Source Git Server
cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-07-07T16:59:05.668Z

Reserved: 2026-02-22T15:13:33.716Z

Link: CVE-2026-27657

cve-icon Vulnrichment

Updated: 2026-07-07T16:26:35.313Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-23T16:30:09Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key