LIVE · cybersecurity feed
Live wire
CVE-2026-20896critical

Critical Gitea Docker Bug Under Active Exploitation Exposes Repositories and Secrets

A critical vulnerability in Gitea's Docker images, identified as CVE-2026-20896, allows attackers to bypass authentication using a single HTTP header. This flaw, stemming from insecure default configurations that trust any IP address for reverse proxy authentication, enables unauthorized access to repositories and sensitive data. Researchers have observed active exploitation of this vulnerability shortly after its disclosure.

zeroday.news · 25d ago

Attackers are actively exploiting a critical vulnerability in Gitea's official Docker images, enabling them to bypass authentication and gain access to sensitive repositories and secrets. The flaw, identified as CVE-2026-20896, carries a high severity score of 9.8.

The vulnerability specifically affects Gitea Docker images prior to version 1.26.3. Researchers from Sysdig observed the first exploitation attempts in the wild approximately 13 days after the vulnerability was disclosed.

The exploit involves sending a single, specially crafted HTTP header. This header allows an attacker to impersonate any user, including administrators, by leveraging an insecure default configuration within the official Gitea Docker images.

The root cause of the issue lies in the default configuration of the `REVERSE_PROXY_TRUSTED_PROXIES` setting. In the affected Docker images, this is set to a wildcard (`*`), meaning that any IP address is treated as a trusted reverse proxy. This misconfiguration allows any entity that can reach the Gitea container's HTTP port to send the `X-WEBAUTH-USER` header and authenticate as a legitimate user without needing a password or token.

This vulnerability is specific to the official Gitea Docker images. Standard Gitea installations or self-built instances that do not use these default Docker configurations are not affected, provided they adhere to secure default settings which typically restrict trusted proxies to the local machine.

The potential impact of a successful exploitation is significant. Attackers can gain access to private repositories, committed secrets such as API keys and database credentials, CI/CD configurations, and deploy keys.

Gitea versions 1.26.3 and 1.26.4 have addressed this vulnerability. In these updated versions, reverse-proxy authentication has been made an opt-in feature, and the default configuration no longer trusts all IP addresses.

While the exact number of vulnerable systems remains unknown, a Shodan query identified approximately 6,200 Gitea instances exposed to the internet. Users are strongly advised to update their Gitea Docker images immediately to the latest patched versions to protect their source code and sensitive data.

giteadockervulnerabilityauthentication bypassexploitation
ShareXLinkedInWhatsAppFacebook

More News

view all →
breach

Hermes AI agent used to automate attack on Thai Finance Ministry

A threat actor used the open-source Hermes AI agent in unattended "YOLO" mode to automate post-exploitation activity during an alleged breach of Thailand's Ministry of Finance. [...]

security

Hackers hijack hotel Wi-Fi DNS to steal Microsoft 365 accounts

Hackers are changing the DNS settings on Wi-Fi devices at hotels and conference centers to redirect users to fake Microsoft 365 login pages. [...]

security

BGP ORIGIN attribute manipulation and its impact on the Internet

By doing in-depth testing, we found nearly 70% of BGP paths experience ORIGIN attribute rewrites by transit providers seeking traffic advantages. We examine the global impact of this practice and argue for deprecating ORIGIN in route selection.

security

Andy Burnham signals continuity on UK cyber policy, reappoints minister despite scrapping ministry

The new British prime minister is retaining Liz Lloyd in a cyber policy role, making her one of the few Keir Starmer allies remaining in government.

security

'Wrench' attacks against crypto holders appear to be on the rise

There are more reports than ever before of strong-arm tactics like home invasions and kidnappings against cryptocurrency holders, researchers say.

vulnerability

Microsoft blames massive Microsoft 365 outage on maintenance bug

Microsoft says a bug in its automated network maintenance request system caused Thursday's massive outage by mistakenly removing IP routes from more devices than intended, disrupting Azure and Microsoft 365 services. [...]