Security mailing lists by PureSourceCode

CVE-2026-27775

HIGH 8.8CVSS 3.1

Gitea: Cached Per-Branch Permission Check in Pre-Receive Hook Allows Full Repository Write

Gitea 1.25.5 caches a branch-specific write-permission result across multiple refs in one pre-receive hook session, allowing a per-branch maintainer-edit grant to be reused for other refs and escalate to full repository write access.

Published
3 Jul 2026
Last modified
25 Oct 2026
Assigned by
88ee5874-cf24-4952-aea0-31affedb7ff2
NVD status
Deferred
Weakness
CWE-863
Also known as
GHSA-649p-mmhf-85c7GO-2026-6043
Sources
NVDJSONOSV GHSA-649p-mmhf-85c7JSONOSV GO-2026-6043JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go code.gitea.io/gitea < 1.26.3 1.26.3

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 3 Jul 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Jul 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.