DEV Community

Cover image for CISA Reports Actively Exploited Gitea Critical RCE Vulnerability
BeyondMachines for BeyondMachines

Posted on Originally published at beyondmachines.net

CISA Reports Actively Exploited Gitea Critical RCE Vulnerability

Summary

Gitea patched a critical remote code execution vulnerability (CVE-2026-60004) that attackers are actively exploiting to install crypto-miners on self-hosted instances. The flaw allows users with write access to inject malicious Git hooks via the diffpatch API, potentially exposing database credentials and system secrets.

Take Action:

Update self-hosted Gitea instances to version 1.27.1 immediately. Now it's urgent, since hackers are actively attacking you. If you can't patch right away, disable public registration to prevent new outsiders from obtaining repository write access. This does not protect against existing users who already have the required permissions.


Read the full article on BeyondMachines


This article was originally published on BeyondMachines

Top comments (0)