Close Menu

    Subscribe to Updates

    Get the latest Tech news from SynapseFlow

    What's Hot

    Gogs Zero-Day Exposes Servers to Remote Code Execution

    May 29, 2026

    Hubble Captures M88 on Journey to Center of Virgo Cluster

    May 29, 2026

    Open-ear earbuds are the new headphones for people who want plausible deniability

    May 29, 2026
    Facebook X (Twitter) Instagram
    • Homepage
    • About Us
    • Contact Us
    • Privacy Policy
    Facebook X (Twitter) Instagram YouTube
    synapseflow.co.uksynapseflow.co.uk
    • AI News & Updates
    • Cybersecurity
    • Future Tech
    • Reviews
    • Software & Apps
    • Tech Gadgets
    synapseflow.co.uksynapseflow.co.uk
    Home»Cybersecurity»Gogs Zero-Day Exposes Servers to Remote Code Execution
    Gogs Zero-Day Exposes Servers to Remote Code Execution
    Cybersecurity

    Gogs Zero-Day Exposes Servers to Remote Code Execution

    The Tech GuyBy The Tech GuyMay 29, 2026No Comments3 Mins Read0 Views
    Share
    Facebook Twitter LinkedIn Pinterest Email
    Advertisement


    The popular open source self-hosted Git service Gogs is affected by a critical-severity zero-day vulnerability that exposes servers to remote code execution (RCE), Rapid7 reports.

    Advertisement

    The critical-severity issue, assigned a CVSS score of 9.4, is an argument injection flaw that can be exploited by authenticated attackers via pull requests with malicious branch names.

    In a technical report, Rapid7 explains that the pull requests inject “the –exec flag into git rebase during the ‘Rebase before merging’ merge operation”, leading to command execution with the privileges of the Gogs server process user.

    “A standard merge creates a merge commit joining two branch histories. A rebase before merge replays the head branch’s commits on top of the base branch to produce a linear history,” Rapid7 explains.

    While the ‘Rebase before merging’ operation is not enabled by default, any repository owner or administrator can enable it, and any registered user automatically becomes the owner of repositories they create.

    During rebase, the merge function passes the pull request’s base branch name to the git rebase function without preventing the interpretation of subsequent arguments as flags.

    Advertisement. Scroll to continue reading.

    Insufficient checks and sanitization against argument injection and the fact that git rebase accepts the –exec flag, which tells Gogs to run a shell command after replaying each commit, allows attackers to include malicious arguments in branch names, which will be executed after each replayed commit.

    According to Rapid7, the vulnerability can be exploited without user interaction, as the attacker operates entirely within their own account and repository.

    “Since Gogs ships with open registration enabled by default and no limit on repository creation, an unauthenticated attacker can simply create an account and repository on any default-configured instance,” the cybersecurity firm says.

    Any repository owner can enable rebase merging with a single toggle in settings, and the entire exploit chain can be operated without interaction from any other user. Attackers with write access to repositories that have rebase enabled can exploit the flaw directly.

    “The result is arbitrary command execution as the Gogs server process user, giving the attacker the ability to compromise the server, read every repository on the instance (including other users’ private repos), dump credentials (password hashes, API tokens, SSH keys, 2FA secrets), pivot to other network-accessible systems, and modify any hosted repository’s code,” Rapid7 says.

    According to the cybersecurity firm, Gogs servers across Windows, Linux, and macOS that are running default configurations are affected. Instances with multiple user accounts, a default for many organizations, are impacted the most.

    Rapid7 has released a Metasploit module that automates the full exploit chain, as well as indicators of compromise (IoCs) to help defenders hunt for potential compromises.

    Gogs’ maintainers were notified of the security defect in mid-March. Although they acknowledged receiving the vulnerability report, no patch has been released as of the time of publishing.

    This is the second Gogs zero-day disclosed publicly over the past half a year. In December, Wiz detailed CVE-2025-8110, an improper symbolic link handling issue that had been exploited as a zero-day for months.

    Related: Critical FortiClient EMS Vulnerability Exploited in Fresh Attacks

    Related: Microsoft Patches Exploited UnDefend and RedSun Defender Zero-Days

    Related: New ‘Dirty Frag’ Linux Vulnerability Possibly Exploited in Attacks

    Related: Critical cPanel & WHM Vulnerability Exploited as Zero-Day for Months

    Advertisement
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    The Tech Guy
    • Website

    Related Posts

    Carnival Data Breach Exposed 6 Million People

    May 29, 2026

    Geordie Raises $30 Million for AI Security and Governance Platform

    May 29, 2026

    Russia-Linked ‘GreyVibe’ Attackers Use AI to Supercharge Cyberattacks

    May 28, 2026

    New BTMOB Android Malware Enables Full Device Takeover

    May 28, 2026

    RevEng.AI Raises $15 Million to Hunt for Flaws and Backdoors in Software Binaries

    May 28, 2026

    Vulnerability in Popular Conference Software Granted Attackers a 100% Talk Acceptance Rate

    May 28, 2026
    Leave A Reply Cancel Reply

    Advertisement
    Top Posts

    The iPad Air brand makes no sense – it needs a rethink

    October 12, 202516 Views

    ChatGPT Group Chats are here … but not for everyone (yet)

    November 14, 20258 Views

    Facebook updates its algorithm to give users more control over which videos they see

    October 8, 20258 Views
    Stay In Touch
    • Facebook
    • YouTube
    • TikTok
    • WhatsApp
    • Twitter
    • Instagram
    Advertisement
    About Us
    About Us

    SynapseFlow brings you the latest updates in Technology, AI, and Gadgets from innovations and reviews to future trends. Stay smart, stay updated with the tech world every day!

    Our Picks

    Gogs Zero-Day Exposes Servers to Remote Code Execution

    May 29, 2026

    Hubble Captures M88 on Journey to Center of Virgo Cluster

    May 29, 2026

    Open-ear earbuds are the new headphones for people who want plausible deniability

    May 29, 2026
    categories
    • AI News & Updates
    • Cybersecurity
    • Future Tech
    • Reviews
    • Software & Apps
    • Tech Gadgets
    Facebook X (Twitter) Instagram Pinterest YouTube Dribbble
    • Homepage
    • About Us
    • Contact Us
    • Privacy Policy
    © 2026 SynapseFlow All Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.

    Ad Blocker Enabled!
    Ad Blocker Enabled!
    Our website is made possible by displaying online advertisements to our visitors. Please support us by disabling your Ad Blocker.