CVE Catalog

CVE-2026-96404

HighCVSS 8.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.41%

34th percentile - higher than 34% of all known CVEs

Summary

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.

Risk Assessment

An attacker can gain full administrative access to Gitea without knowing the password, potentially leading to complete takeover of the instance and data compromise.

Recommendation

Update Gitea to a patched version and ensure `INSTALL_LOCK` is set to `true` in production environments.

Other vulnerabilities in Gitea

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS