Return to Threats

Critical Gogs RCE Vulnerability Lets Any Authenticated User Execute Arbitrary Code

thehackernews.com 2026-05-28 SaaS AI risk Critical

Executive Summary

Rapid7 disclosed a critical Gogs flaw (CVSS 9.4) letting any authenticated user run code.

What Happened

A critical security vulnerability has been disclosed in Gogs, a popular open-source self-hosted Git service, that allows an authenticated user to execute arbitrary code under certain conditions. The security flaw, per Rapid7, is rated 9.4 on the CVSS scoring system. It does not have a CVE identifier. "The vulnerability allows any authenticated user to achieve remote code execution (RCE) on

Affected Products

  • Gogs

Vulnerability / Attack Technique

Authenticated RCE

Technical Mechanism

Argument injection.

AI Security Category

Not AI-specific

RealGround Analysis

Self-hosted Git vulnerability.

Recommended Controls

  • Restrict Gogs accounts until patched

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/05/critical-gogs-rce-vulnerability-lets.html

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

Talk to AI CISO