Advisories
Act nowExploited · Confirmed

gitea.dev, code.gitea.io/gitea: Gitea Code Injection Vulnerability

There is evidence it is being used against people now, on something Phylax follows.

Does it affect what I run?

Checked in your browser. The version you type is not sent anywhere.

Who is affected

  • gitea.dev (Go): from 1.17.0, before 1.27.1
  • code.gitea.io/gitea (Go): from 1.17.0, with no fixed release listed
  • gitea.dev (Go): every version, before 1.27.1

The fix

  • gitea.dev (Go) fixed in 1.27.1

    go
    go get gitea.dev@v1.27.1
    Check what is installed
    go list -m gitea.dev
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Go dependency gitea.dev to 1.27.1 or the nearest later release, to fix CVE-2026-60004. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.

Fix commands generated from the advisory's versions. No model wrote them.

In plain words

Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.

Evidence

Timeline

  1. First published here, as "Listed".
  2. Evidence added: CISA's assessment in the CVE record says exploitation is active. (CISA Vulnrichment (SSVC and KEV fields inside CVE records))
  3. Level changed from "Listed" to "Act now".
  4. Fixed releases changed: added gitea.dev 1.27.1.