Arbitrary Code Injection Affecting gitea package, versions <1.27.1-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

Exploit Maturity
Attacked
EPSS
23.99% (98th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-GITEA-19437050
  • published1 Sept 2026
  • disclosed26 Aug 2026

Introduced: 26 Aug 2026

CVE-2026-60004  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Chainguard gitea to version 1.27.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gitea package and not the gitea package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.