CVE-2026-96404
Analyzed Analyzed - Analysis Complete

BaseFortify

Vulnerability report for CVE-2026-96404, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-06

Last updated on: 2026-10-13

Assigner: Gitea Limited

Description

When Gitea's web installer is reachable against a database that already contains users, such as after `INSTALL_LOCK` has been reset to `false`, submitting the install form with an administrator username matching an existing account issued an authenticated session for that account without verifying its password. If the account is an administrator, the session grants full administrative access, including changing the account's password. Databases with a single user also did not require the reinstall confirmation.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-06
Last Modified
2026-10-13
Generated
2026-10-19
AI Q&A
2026-10-07
EPSS Evaluated
2026-10-18
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
gitea gitea to 28.0.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-287 When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in Gitea's web installer allows an attacker to gain administrative access without a password if the installer is accessible on a database that already has users. When the install form is submitted with an administrator username matching an existing account, it creates an authenticated session for that account without verifying the password. If the account is an administrator, this grants full administrative privileges, including the ability to change the account's password.

Detection Guidance

Check Gitea logs for repeated admin session creation attempts without password verification. Inspect database for users with admin privileges created during unexpected reinstallation events.

Impact Analysis

This vulnerability could allow an unauthorized attacker to gain full control over a Gitea instance if they can access the web installer on a database with existing users. This includes resetting passwords, modifying configurations, or accessing sensitive data stored in the repository.

Compliance Impact

This vulnerability could potentially lead to unauthorized administrative access if an attacker exploits it to gain full control over a Gitea instance. This may impact compliance with GDPR or HIPAA if sensitive data is exposed or altered without proper authorization.

Mitigation Strategies

Set INSTALL_LOCK to true in Gitea configuration to prevent reinstallation. Verify admin accounts and reset passwords for any accounts that may have been compromised during the vulnerability window.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-96404. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart