Vulnerability advisory
CVE-2026-28740
Gitea LFS object reuse bypasses Code-unit authorization
Also known as GHSA-2m9v-5q2g-58vqGO-2026-6029
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/go-gitea/gitea ↗ | |
| All commits before 4aa0d704f2c7d30351016b740bfc45247fd77efa | 4aa0d704f2c7d30351016b740bfc45247fd77efa |
Also listed as affected (43)
| |
Description
Gitea versions up to and including 1.26.2 allow Git LFS object reuse to authorize private source objects for users who have repository access but lack Code-unit access.
References
- Advisoryblog.gitea.com/release-of-1.26.3-and-1.26.4/ ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28740.json ↗
- Advisorygithub.com/go-gitea/gitea/releases/tag/v1.26.3 ↗
- Advisorygithub.com/go-gitea/gitea/security/advisories/GHSA-2m9v-5q2g-58vq ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-28740 ↗
- Fixgithub.com/go-gitea/gitea/pull/38050 ↗