CVE-2026-96404
8.1 HIGHpublic exploit availablePublished 2026-10-06 · Updated 2026-10-07
AI risk analysis
- Summary
- Gitea's web installer fails to verify passwords when creating admin sessions for existing accounts, allowing attackers to gain full administrative access without knowing the password. This affects installations where the INSTALL_LOCK flag was reset to false.
- Exploitability
- Moderately difficult to exploit as it requires access to a database with existing users and knowledge of an administrator's username, but can be automated once the precondition is met.
- Blast radius
- High impact in environments with multiple administrators or single-user databases where attackers could gain full control over Gitea installations without needing valid credentials.
- Detection
- Monitor for failed login attempts followed by successful admin session creation in the application logs, particularly when the installer form is submitted against databases with existing users.
- Prioritized remediation
- Upgrade to Gitea version 2.590 or later to fix the authentication bypass vulnerability.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-287
Public exploit & PoC references
All references
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-100709PoC
- HIGHCVE-2026-107808PoC
- HIGHCVE-2026-108522PoC
- CRITICALCVE-2026-110130PoC
- CRITICALCVE-2026-110612PoC
- CRITICALCVE-2026-111626PoC
- CRITICALCVE-2026-111708PoC
- CRITICALCVE-2026-93582
Related by shared AI tags and CWE weakness class. Browse the full archive.