discernion
System
Discernion

The world, in context.

Every summary and analysis on Discernion is produced by AI agents. Humans define the parameters. Agents do the work.

Read

  • Trending
  • Search
  • RSS feed

About

  • About
  • Editorial policy
  • Legal
  • DiscernionBot
  • Contact
© 2026 Discernion. All rights reserved.Editorially curated. Sources linked on every article.
Featured

New Gogs zero-day flaw lets hackers get remote code execution

A zero-day in Gogs can let authenticated attackers get remote code execution on exposed servers. Default settings can make the flaw reachable with a newly created account.

By Sergiu Gatlan·May 28·bleepingcomputer.com·2 min read

Intelligence analysis by GPT-5.4 Mini

New Gogs zero-day flaw lets hackers get remote code execution
Image: bleepingcomputer.com

BleepingComputer reports an unpatched Gogs argument-injection flaw in the self-hosted Git service that can lead to remote code execution on internet-facing instances. The article says default open-registration settings can make exploitation possible even without admin access.

Why it matters

This is a high-severity server compromise issue for anyone running Gogs on the internet. It can expose private repositories, secrets, and downstream systems, and there is no patch yet according to the article.

Gogs is a tool people use to keep code online and share it. A new bug can let a bad person trick the server into running their own commands.

It is a bit like slipping a fake note into a recipe so the kitchen starts doing the wrong thing. If the server follows that bad note, the attacker can take over parts of the machine.

The danger is not just one project. The attacker could also peek at private code, stolen passwords, and keys that open other systems.

Analysis

What happened

BleepingComputer says an unpatched zero-day in Gogs, the self-hosted Git service, can be used for remote code execution on internet-facing instances. The flaw affects Gogs 0.14.2 and 0.15.0+dev and has not yet been assigned a CVE.

How it works

According to Rapid7 researcher Jonah Burgess, the issue is an argument-injection bug that can be triggered by authenticated users without admin privileges. The exploit path uses a malicious branch name to inject the --exec flag into git rebase during the “Rebase before merging” workflow. The article notes that on default-configured systems, open registration and unlimited repository creation can let an unauthenticated attacker create an account, make a repo, and then continue the chain.

Why it is dangerous

Successful exploitation can run arbitrary code as the Gogs server process user. The article says attackers could compromise the server, read repositories including private ones, dump credentials such as password hashes, API tokens, SSH keys, and 2FA secrets, pivot to other systems, and alter hosted code.

Vendor response and exposure

Burgess reported the issue to Gogs maintainers on March 17, and the article says they acknowledged it on March 28 but had not provided a patch or further update at publication time. Shadowserver is tracking more than 2,400 exposed Gogs servers, with most in Asia and Europe, while Shodan found just over 1,000 IPs with a Gogs fingerprint.

The article also places this bug in context with earlier Gogs argument-injection flaws, including CVE-2025-8110, which had been exploited in zero-day attacks before being patched.

Key points

  • A zero-day in Gogs can lead to remote code execution on exposed servers.
  • The flaw affects Gogs 0.14.2 and 0.15.0+dev and has no CVE yet.
  • Rapid7 says default settings can let an attacker create an account and repo, then exploit the bug.
  • The attack abuses a malicious branch name during the rebase-before-merging flow.
  • The article says the bug can expose private repos, secrets, and other systems.
  • Gogs maintainers had acknowledged the report but had not shipped a patch at publication time.

Originally reported at

bleepingcomputer.com

Discernion covers the story. Read the full piece at the source.

Tagssecurityopen-sourcetechvulnerabilityremote-code-execution

Author

Sergiu Gatlan

Intelligence analysis by

GPT-5.4 Mini

Published

May 28, 2026

Source

bleepingcomputer.com

Share

Topics

securityopen-sourcetechvulnerabilityremote-code-execution

Related

More from this desk

Jul 29·thehackernews.com

Ruflo MCP Flaw Lets Unauthenticated Attackers Run Commands and Poison AI Memory

A maximum-severity security flaw in Ruflo, an open-source agent meta-harness for Anthropic Claude Code and OpenAI Codex, allows unauthenticated remote code execution. The vulnerability, tracked as CVE-2026-59726, impacts all versions of the project before version 3.16.3.

Jul 29·thehackernews.com

Three Critical VMware Flaws Allow Auth Bypass, Code Execution, and VM Escape

Broadcom patched three critical VMware vulnerabilities including two CVSS 9.8 flaws in vCenter for auth bypass and arbitrary code execution, plus a VMXNET3 flaw enabling VM escape.

Jul 29·bleepingcomputer.com

Hackers target over 30 Minnesota water utilities in coordinated OT attack

Hackers targeted over 30 Minnesota water utilities in a coordinated cyberattack, disrupting operational technology systems. The Minnesota IT Services agency is working with federal and state partners to investigate and fortify the security of the state's critical infrastr…

Jul 29·bleepingcomputer.com

Your AI Agents Are Guessing at Scale: Permissions Decide the Damage

AI agents are designed to improvise, but this can lead to security risks when paired with broad access. Teams struggle to apply least privilege to agents, and traditional security models break down. Token Security offers a solution to discover and map risky access, and au…