{"id":786097,"date":"2026-07-08T03:17:09","date_gmt":"2026-07-08T03:17:09","guid":{"rendered":"https:\/\/www.newsbeep.com\/au\/786097\/"},"modified":"2026-07-08T03:17:09","modified_gmt":"2026-07-08T03:17:09","slug":"patch-now-weeks-after-being-addressed-hackers-are-targeting-a-critical-gitea-vulnerability","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/au\/786097\/","title":{"rendered":"Patch now! Weeks after being addressed, hackers are targeting a critical Gitea vulnerability"},"content":{"rendered":"<p>Security researchers are warning of active exploitation of an almost perfect-10 vulnerability in code repository management platform, Gitea.<\/p>\n<p>CVE-2026-20896 was <a href=\"https:\/\/blog.gitea.com\/release-of-1.26.3-and-1.26.4\/\" target=\"_blank\" rel=\"noopener nofollow\">patched in releases 1.26.3 and Gitea 1.26.4<\/a>, which were made available on June 21; however, 13 days later, hackers are targeting the bypass authentication flaw.<\/p>\n<p>\n        You\u2019re out of free articles for this month    <\/p>\n<p>&#13;<\/p>\n<p>\u201cCVE-2026-20896 exploited 13 days after disclosure. One HTTP header. Access on any internet-facing Gitea,\u201d <a href=\"https:\/\/www.linkedin.com\/feed\/update\/urn:li:share:7479652556885954560\/\" target=\"_blank\" rel=\"noopener nofollow\">warned Michael Clark<\/a>, Threat Research Director at cloud security firm Sysdig.<\/p>\n<p>&#13;<\/p>\n<p>The issue, according to Clark, is that Gitea\u2019s Docker image ships with reverse-proxy authentication enabled, which in turn leads to Gitea trusting any source IP address \u201cso an unauthenticated internet client becomes whoever it claims to be,\u201d including admin.<\/p>\n<p>&#13;<\/p>\n<p>\u201cNo password. No token. One header. Sysdig sensors caught the first in-the-wild hit 13 days after the advisory, a VPN-exit scanner that grabbed access,\u201d Clark said.<\/p>\n<p>&#13;<\/p>\n<p>Clark said that once authenticated, a malicious user could then gain read and write access to code and anything else accidentally committed to the repository, such as database credentials, API keys, and deploy tokens.<\/p>\n<p>&#13;<\/p>\n<p>Security researcher Ali Mustafa, who found and reported the flaw, <a href=\"https:\/\/github.com\/rz1027\/CVE-2026-20896\" target=\"_blank\" rel=\"noopener nofollow\">goes into more detail about how it works<\/a>.<\/p>\n<p>&#13;<\/p>\n<p>\u201cThe documented-safe default, the one in app.example.ini, is 127.0.0.0\/8,::1\/128: loopback only, so out of the box just the local proxy is trusted. The official Docker image doesn&#8217;t use that. Its app.ini template hard-codes * (docker\/root\/etc\/templates\/app.ini:55, and docker\/rootless\/etc\/templates\/app.ini:52 for the rootless image). * matches every source IP, so the allowlist check does nothing. Turn on reverse-proxy login and now anyone who can reach the port can send the header, not just your proxy. With auto-registration on, the account is created on the spot. Send an admin&#8217;s username and you&#8217;re the admin.\u201d<\/p>\n<p>&#13;<\/p>\n<p>As of two days ago, connected device search engine Shodan was indexing more than 6,000 internet-facing Gitea instances, Clark said.<\/p>\n<p>&#13;<\/p>\n<p>You can <a href=\"https:\/\/blog.gitea.com\/release-of-1.26.3-and-1.26.4\/\" target=\"_blank\" rel=\"noopener nofollow\">find the latest, patched versions here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"Security researchers are warning of active exploitation of an almost perfect-10 vulnerability in code repository management platform, Gitea.&hellip;\n","protected":false},"author":2,"featured_media":786098,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[64,63,105],"class_list":["post-786097","post","type-post","status-publish","format-standard","has-post-thumbnail","category-technology","tag-au","tag-australia","tag-technology"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/posts\/786097","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/comments?post=786097"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/posts\/786097\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/media\/786098"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/media?parent=786097"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/categories?post=786097"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/tags?post=786097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}