CVE-2026-96404

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*

History

13 Oct 2026, 15:36

Type Values Removed Values Added
References () https://blog.gitea.com/release-of-28.0.0/ - () https://blog.gitea.com/release-of-28.0.0/ - Release Notes
References () https://github.com/go-gitea/gitea/pull/39400 - () https://github.com/go-gitea/gitea/pull/39400 - Patch
References () https://github.com/go-gitea/gitea/releases/tag/v28.0.0 - () https://github.com/go-gitea/gitea/releases/tag/v28.0.0 - Release Notes
References () https://github.com/go-gitea/gitea/security/advisories/GHSA-9h7g-h754-c8x2 - () https://github.com/go-gitea/gitea/security/advisories/GHSA-9h7g-h754-c8x2 - Exploit, Mitigation, Vendor Advisory
First Time Gitea gitea
Gitea
CPE cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*

07 Oct 2026, 15:17

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.1
CWE CWE-287

06 Oct 2026, 20:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-06 20:17

Updated : 2026-10-13 15:36


NVD link : CVE-2026-96404

Mitre link : CVE-2026-96404

CVE.ORG link : CVE-2026-96404


JSON object : View

Products Affected

gitea

  • gitea
CWE
CWE-287

Improper Authentication