{"api_version":"1","generated_at":"2026-07-04T20:38:17+00:00","cve":"CVE-2026-28740","urls":{"html":"https://cve.report/CVE-2026-28740","api":"https://cve.report/api/cve/CVE-2026-28740.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-28740","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-28740"},"summary":{"title":"Gitea LFS object reuse bypasses Code-unit authorization","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.","state":"PUBLISHED","assigner":"Gitea","published_at":"2026-07-03 21:16:59","updated_at":"2026-07-03 21:16:59"},"problem_types":["CWE-639","CWE-863","CWE-639 CWE-639","CWE-863 CWE-863"],"metrics":[{"version":"3.1","source":"88ee5874-cf24-4952-aea0-31affedb7ff2","type":"Secondary","score":"7.1","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.1","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-2m9v-5q2g-58vq","name":"https://github.com/go-gitea/gitea/security/advisories/GHSA-2m9v-5q2g-58vq","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://blog.gitea.com/release-of-1.26.3-and-1.26.4/","name":"https://blog.gitea.com/release-of-1.26.3-and-1.26.4/","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/go-gitea/gitea/pull/38050","name":"https://github.com/go-gitea/gitea/pull/38050","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.26.3","name":"https://github.com/go-gitea/gitea/releases/tag/v1.26.3","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-28740","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28740","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Gitea","product":"Gitea Open Source Git Server","version":"affected 1.26.2 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"m2hcz","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Gitea Open Source Git Server","vendor":"Gitea","versions":[{"lessThanOrEqual":"1.26.2","status":"affected","version":"0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"reporter","value":"m2hcz"}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-639","description":"CWE-639","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-863","description":"CWE-863","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-03T20:19:39.687Z","orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","shortName":"Gitea"},"references":[{"name":"GitHub Security Advisory","tags":["vendor-advisory"],"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-2m9v-5q2g-58vq"},{"name":"GitHub Pull Request #38050","tags":["patch"],"url":"https://github.com/go-gitea/gitea/pull/38050"},{"name":"Gitea v1.26.3 Release","tags":["release-notes"],"url":"https://github.com/go-gitea/gitea/releases/tag/v1.26.3"},{"name":"Gitea v1.26.4 Release Blog Post","tags":["release-notes"],"url":"https://blog.gitea.com/release-of-1.26.3-and-1.26.4/"}],"title":"Gitea LFS object reuse bypasses Code-unit authorization","x_generator":{"engine":"cvelib 1.8.0"}}},"cveMetadata":{"assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","assignerShortName":"Gitea","cveId":"CVE-2026-28740","datePublished":"2026-07-03T20:19:39.687Z","dateReserved":"2026-03-03T03:25:59.982Z","dateUpdated":"2026-07-03T20:19:39.687Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-03 21:16:59","lastModifiedDate":"2026-07-03 21:16:59","problem_types":["CWE-639","CWE-863","CWE-639 CWE-639","CWE-863 CWE-863"],"metrics":{"cvssMetricV31":[{"source":"88ee5874-cf24-4952-aea0-31affedb7ff2","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":1.8,"impactScore":4.7}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"28740","Ordinal":"1","Title":"Gitea LFS object reuse bypasses Code-unit authorization","CVE":"CVE-2026-28740","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"28740","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Gitea LFS object reuse bypasses Code-unit authorization"}]}}}