CVE-2026-60004: Gitea Code Injection Vulnerability

Published Aug 25, 2026
·
Updated

Gitea contains a code injection vulnerability that allows an attacker with repository write access to send a malicious patch to the diffpatch API endpoint to plant an executable Git hook and run shell commands as the Gitea service account.

Affected Software

1 affected component
Gitea Gitea

Event History

Aug 25, 2026
CVE Published
via CISA·12:00 AM
Known Exploited
via CISA·12:00 AM
Data Sourced
via CISA·12:00 AM
RemedyDescriptionAffected Software

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs write access to a repository in the affected Gitea instance. They can use that access to submit a malicious patch to the diffpatch API endpoint.

2

What level of access could successful exploitation provide?

Successful exploitation can plant an executable Git hook and run shell commands as the Gitea service account. The resulting access is limited by the privileges assigned to that service account.

3

Is there evidence of active exploitation?

Yes. The vulnerability is flagged as exploited and was listed in the Known Exploited Vulnerabilities catalog on 2026-08-25.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203