S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
critical·Product Based Web Vulnerabilities·Updated Aug 30, 2026

CVE-2026-52806 Scanner

CVE-2026-52806 Scanner - Remote Code Execution (RCE) vulnerability in Gogs

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
2.5k
Times Used
continuous scan runs
5.9k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2026-52806
9.9
CVSScritical
Exploitable remotely over the internet · low-privilege account sufficient.

Gogs is an open source self-hosted Git service. Prior to 0.14.3, Gogs allows authenticated users to achieve Remote Code Execution (RCE) on the server by creating a pull request with a specially crafted branch name that injects the --exec flag into the git rebase command during the "Rebase before merging" merge operation. This vulnerability is fixed in 0.14.3.

Attack Vector
Network
Privileges Req.
Low
User Interaction
None
Affected
gogsby gogs
< 0.14.3
Updated Aug 22, 2026View on NVD →
Detail

Gogs is an open-source self-hosted version control service supporting Git repositories, widely used by developers and organizations for version control collaboration. Known for its lightweight and ease of setup, it facilitates private and public Git repositories. Many choose Gogs for its easy deployment capabilities and the ability to scale with user needs. Offering a simple user interface, it accommodates small to medium-sized teams effectively. It allows integration with various tools and services, enhancing workflow efficiency in development environments. Notably, it is utilized in environments where fast Git service deployment is favored.

The Remote Code Execution (RCE) vulnerability in Gogs allows attackers to execute arbitrary code on affected servers. It is a serious security flaw in which authenticated users could exploit specific operations in the application, thus compromising the system. The vulnerability arises due to insufficient input validation during certain Git operations. By manipulating critical inputs, it's possible to execute code remotely, bypassing typical protections. This vulnerability is particularly concerning as it may lead to full system takeover, affecting data integrity and availability. Consequently, addressing such vulnerabilities is crucial to maintaining system security.

The technical aspect of this vulnerability involves the application failing to properly sanitize inputs during Git rebase operations. Specifically, the vulnerability is triggered by injecting the '--exec' flag into the git rebase command through a crafted branch name. This injection takes place during the "Rebase before merging" process, which is an often-used feature in Git operations. Cut-line inputs bypass expected logical processes, enabling unauthorized code execution. These inputs direct the system to perform unintended command operations. Exploiting this involves creating specific pull requests with calculated parameters aimed at command re-execution on the server.

When exploited, this vulnerability can allow malicious actors to gain arbitrary command execution capabilities on the target server. Such actions can result in unauthorized data access or modification, system manipulation, backdoor installations, or even total system compromise. It presents significant risks including data breaches, information theft, and operational disruptions. The integrity of hosted repositories might be compromised, affecting dependent projects and pipelines. It also opens doors to lateral movement within the network, escalating threats beyond initial compromise points.

REFERENCES

Solution Advice
  • Upgrade Gogs to version 0.14.3 or later, where the vulnerability is addressed.
  • Implement additional input validation for Git commands within the server to prevent argument injections.
  • Enable logging and monitoring to detect exploitation attempts and unauthorized access attempts.
  • Perform regular security audits and vulnerability assessments on your installations and repositories.
  • Limit Git operation permissions to restrict critical command execution to only trusted users.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.