Return to Threats

Critical Gitea Flaw Let Unauthenticated Attackers Read Server Files via Org-Mode Markup

thehackernews.com 2026-08-05 AI supply chain Critical

Executive Summary

Gitea CVE-2026-59774 (CVSS 9.8) let unauthenticated attackers read server files via crafted Org-mode markup in a public repo; fixed in 1.27.1.

What Happened

An unauthenticated attacker can read any file the service account can access on Gitea, the self-hosted Git platform, in versions 1.22.1 through 1.27.0. No login, no repository write access. A public repository and crafted Org-mode markup are enough. The flaw is fixed in Gitea 1.27.1. The file-read flaw is tracked as CVE-2026-59774, rated Critical with a CVSS score of 9.8, and received its

Affected Products

  • Gitea

Vulnerability / Attack Technique

Unauthenticated file read

Technical Mechanism

Org-mode rendering flaw.

AI Security Category

Not AI-specific

RealGround Analysis

Self-hosted Git vulnerability.

Recommended Controls

  • Update Gitea

Related RealGround Service

AI Agent SBOM and LLM Mapping · or start with the free AI Agent Security Scanner.

Sources

thehackernews.com: https://thehackernews.com/2026/08/critical-gitea-flaw-let-unauthenticated.html

Summary and analysis written by RealGround from the source above; last updated 2026-10-18.

Talk to AI CISO