CyberSecurityBoardThreat Intel · CVEs · Products
Critical CVEs

Threat Actors Probe Gitea Docker Flaw CVE-2026-20896 13 Days After Disclosure

July 6, 2026

Threat actors have been observed attempting to exploit a recently patched critical security flaw in Gitea Docker images, according to Sysdig. The vulnerability, CVE-2026-20896 (CVSS score: 9.8), stems from the DevOps platform trusting the “X-WEBAUTH-USER” header from any source IP address, effectively allowing an unauthenticated internet client to get elevated access.

Security researcher Ali Mustafa (@rz1027), credited with discovering and reporting the flaw, said the Gitea Docker images shipped an “app.ini” template that hard-codes “REVERSE_PROXY_TRUSTED_PROXIES = *” by default. The “app.ini” file is a core configuration file for managing server parameters, database connections, security behavior, and application settings. With reverse-proxy login enabled, that wildcard trusts every source IP, so anyone who could reach the port could send an X-WEBAUTH-USER header and be authenticated as any user, with no password and no token. With auto-registration on, an admin username gives admin.

The documented safe value for the “REVERSE_PROXY_TRUSTED_PROXIES” internal variable is “127.0.0.0/8,::1/128,” meaning only localhost is allowed as a trusted proxy server. However, the official Docker image doesn’t use this default, hard-coding “*” instead. Thus, when an admin sets “ENABLE_REVERSE_PROXY_AUTHENTICATION = true” to put Gitea behind an authenticating reverse proxy and leaves the “REVERSE_PROXY_TRUSTED_PROXIES” setting to its default value, it allows a X-WEBAUTH-USER custom HTTP header from any source IP that can reach the container.

The vulnerability affects Gitea Docker images versions before and including 1.26.2. It has been addressed in version 1.26.3 released late last month, with the “*” wildcard now removed and reverse-proxy authentication made opt-in. Cloud security company Sysdig has since revealed it detected the first in-the-wild exploitation attempt 13 days after public disclosure of the vulnerability. There are about 6,200 internet-facing Gitea instances.

So far, the activities have been related to initial investigation by the threat actor. While Sysdig saw the first action from an IP from the ProtonVPN service, 159.26.98[.]241, it has not so far progressed to any exploitation or attack progress. Given the severity of the issue, it’s essential that users apply the fixes as soon as possible for optimal protection.

CVEs: CVE-2026-20896, CVE-2026-55200, CVE-2026-46817

Companies: Sysdig, Gitea, ProtonVPN

Products: Gitea Docker