# CVE-2026-28740: Gitea LFS object reuse bypasses Code-unit authorization

- Severity: High 7.1 (CVSS:3.1, scored by Gitea) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-07-03T20:19:39.687Z
- Modified: 2026-10-25T15:10:00.147Z
- Also known as: GHSA-2m9v-5q2g-58vq, GO-2026-6029
- Weaknesses: CWE-639, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Gitea

## 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.

(As written by CVE List.)

## Affected

- Gitea Gitea Open Source Git Server: up to 1.26.2
- gitea.dev (Go): before 1.26.3
- code.gitea.io/gitea (Go): before 1.26.3

## Every score

- Gitea: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N`

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-2m9v-5q2g-58vq> (advisory, vendor-advisory, web)
- <https://github.com/go-gitea/gitea/pull/38050> (patch, web)
- <https://github.com/go-gitea/gitea/releases/tag/v1.26.3> (release-notes, web)
- <https://blog.gitea.com/release-of-1.26.3-and-1.26.4/> (release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-28740> (advisory)
- <https://github.com/go-gitea/gitea/commit/1c7b7ea72df7cf81e88b8e09049608254d32e56e> (web)
- <https://github.com/go-gitea/gitea/commit/7b4a1a1a118501b9d0260301dfed7f52dfc36ee9> (web)
- <https://blog.gitea.com/release-of-1.26.3-and-1.26.4> (web)
- <https://github.com/go-gitea/gitea> (package)

## Sources

- CVE List: [CVE-2026-28740](https://www.cve.org/CVERecord?id=CVE-2026-28740), CVE Terms of Use, modified 2026-07-07
- GitHub Advisory Database: [GHSA-2m9v-5q2g-58vq](https://github.com/advisories/GHSA-2m9v-5q2g-58vq), CC-BY-4.0, modified 2026-07-22
- Go Vulnerability Database: [GO-2026-6029](https://pkg.go.dev/vuln/GO-2026-6029), CC-BY-4.0, modified 2026-07-22
- NVD: [CVE-2026-28740](https://nvd.nist.gov/vuln/detail/CVE-2026-28740), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-28740 · Whole record: https://cve.day/CVE-2026-28740.json · Rebuilt by cve.day 2026-11-25T22:59:27.118Z
