Hispasec•August 31, 2026•🇪🇸Translated from Spanish

Over 8,300 Gitea Servers Remain Exposed to Remote Code Execution via CVE-2026-60004

Thousands of Gitea instances reachable from the internet remained unpatched at the end of August against CVE-2026-60004, a critical flaw that permits remote command execution. The fix arrived with Gitea 1.27.1, and the vulnerability has already been listed as actively exploited in the CISA KEV catalog.

The Gitea ecosystem, one of the most widely used platforms for hosting Git repositories in self-managed environments, faces a serious issue: as of August 27, 2026, 8,393 internet-exposed instances were still vulnerable to CVE-2026-60004, a critical remote code execution flaw. The situation is concerning because the vulnerability is not theoretical; active exploitation has been observed and the window for applying the patch has narrowed significantly.

The defect combines two elements that together allow an attacker to execute commands on the server. First, the diffpatch endpoint can be abused to inject content. Second, that content can lead to the installation and execution of a Git hook controlled from within the repository itself. The end result is a server running commands without the attacker needing prior operating-system access. Execution occurs without administrator privileges but with the permissions of the account running the service, typically the system user under which Gitea operates.

In many deployments this level of access is sufficient to enable data exfiltration of configuration secrets, database credentials, integration tokens, OAuth credentials, and sensitive environment variables. The actual impact depends on deployment isolation and permission models, especially when the instance runs on a shared host or with overly permissive rights.

Exploitation requires write access to a repository, yet a common weak point exists: open user registration is enabled by default in many installations. This allows an attacker to register, create a repository, and complete the attack chain without prior credentials, particularly when email confirmation is not required and anti-automation controls are absent.

The project addressed CVE-2026-60004 in Gitea 1.27.1, published on July 27, 2026. Nevertheless, the volume of unpatched instances indicates a broad attack surface, with heightened exposure for services that publish their forge directly on the internet. CISA added the flaw to the Known Exploited Vulnerabilities catalog on August 25 and set August 28 as the remediation deadline for U.S. federal agencies.

In some reported incidents, attackers used the access to deploy cryptocurrency-mining software on Docker-based installations. This pattern aligns with typical behavior against exposed services: rapid intrusion, immediate monetization, and minimal persistence. No public attribution to a specific actor or campaign has been confirmed.

Recommended actions include updating Gitea to at least version 1.27.1 and, where possible, prioritizing 1.27.2. Administrators should disable open registration if not essential or harden it with email confirmation and CAPTCHA. Indicators of compromise to review include anomalous creation or execution of Git hooks, unusual patterns on the diffpatch endpoint, sustained CPU usage, and unexpected binary downloads from the instance.

If intrusion is suspected, immediate steps include rotating all credentials and secrets, from configuration keys and database credentials to integration tokens and OAuth secrets. To reduce future exposure, network access should be restricted to necessary ranges and write permissions tightly controlled. In Docker deployments, container isolation, outbound connectivity restrictions, and network/permission hardening are advised, as command execution inside the container can escalate if the environment contains additional weaknesses.

Users of reverse-proxy authentication headers should also verify their configuration: the official Gitea Docker image is affected by a separate authentication bypass, CVE-2026-20896, when headers such as X-WEBAUTH-USER are enabled.

Related articles

Habr•Vulnerabilities & Exploits

Enodia: Open-Source Go Tool Automates Service Inventory, EOL Tracking and CVE Correlation

A DevOps engineer has released enodia, a single-binary Go CLI that discovers real versions of services across large heterogeneous environments and correlates them with end-of-life calendars and vulnerability databases. The tool was built after manual Ansible-based inventories and existing solutions such as endoflife.date, nvchecker, Renovate and Uptime Kuma proved insufficient for covering both infrastructure and application services while also providing actionable lifecycle, patch and branch status. Enodia uses product-specific probes for 123 technologies including PostgreSQL, MySQL, MariaDB, Jira, Confluence, Bitbucket, VMware vCenter, ESXi, pfSense and multiple Linux distributions, falling back to a generic URL-plus-regex probe when needed. Data collection is deliberately separated from evaluation so that inventory.jsonl files can be generated inside air-gapped networks and later analysed where CVE feeds are available. The project also contributed dozens of missing products and corrected EOL dates to the endoflife.date project and integrates both NVD and Russia’s FSTEC BDU vulnerability databases. Special handling was added for MySQL/MariaDB connection-error counters, version-string masquerading, and vendor-specific update nomenclature to avoid false reports.

BoletimSec•Vulnerabilities & Exploits

Telegram Voice Call Flaw Allows Remote Code Execution on Android Devices

Security researchers disclosed a vulnerability in Telegram for Android that enables remote code execution on a victim's device simply by answering a voice call. The attacker requires only a standard account, and the flaw was present in versions 8.6.2 through 12.10.3 released between March 2022 and September 2026. Telegram addressed the issue in version 12.10.4, released at the end of September 2026. The root cause lies in improper handling of the MediaState message exchanged during calls, specifically when processing rotation values and missing video state fields, leading to out-of-bounds memory reads. The same underlying fix was deployed earlier to shared call libraries, iOS, and desktop clients, but reached Android later. Researchers confirmed the impact only on private calls running on ARM64 Android devices, with no evidence of exploitation in the wild or public CVE assignment as of October 29, 2026.

安全客•Vulnerabilities & Exploits

360 Security Cloud Opens PHP2Shell Vulnerability Self-Check Platform to Government and Enterprise Users

360 Security Cloud has launched a dedicated self-assessment platform that allows organizations to scan their PHP-based websites and systems for the PHP2Shell vulnerability. The service is now available to government agencies, large enterprises, and small-to-medium businesses. Users can apply by scanning a provided QR code to determine how many of their assets run PHP, identify affected versions, and check whether any systems have already been compromised. The platform addresses key questions about exposure: the number of PHP-powered sites and systems, the presence of vulnerable versions, and signs of prior intrusion. The announcement emphasizes that the tool helps organizations proactively assess risk without requiring external assistance. The original Chinese report was published on October 30, 2026, and the service is positioned as a practical response to ongoing PHP-related security concerns.

Habr•Vulnerabilities & Exploits

Liferay Community Edition Misconfiguration Exposes Plaintext Passwords in Government Systems via CWE-319

A detailed analysis reveals how the use of Liferay Community Edition in a closed government information system led to the transmission of user passwords in plaintext through transactional emails. The issue stemmed from default notification templates that included the [$PASSWORD$] macro, combined with unadjusted system variables pointing to localhost instead of the production domain. Despite proper OAuth 2.0 delegation and CSRF protections, the misconfigured password change workflow sent permanent credentials in clear text to user inboxes. The root cause was traced to custom portlets that incorrectly reused the New Password Notification trigger intended only for administrator-initiated resets. Remediation involves removing the password macro from email templates and updating portal-ext.properties to enforce production host settings. The case highlights how open-source enterprise platforms require thorough hardening beyond initial code audits when deployed in high-security environments.