Public mode

No access to your tenant or devices. Every item links to its source. What this means

Some sources or documents need attention: 275/275 feeds/APIs · 469/469 docs · 9/9 advisories · checked 21:58 UTC Customize Public modeDiscuss ChangeIntel on Discord

Gitea LFS object reuse bypasses Code-unit authorization

Collected exploitation and prediction evidence

Risk source coverage

CISA KEV is observed exploitation evidence. FIRST EPSS is a dated prediction of exploitation in the next 30 days. Missing scores are unknown. This collector requests predictions only for explicit CVE aliases in the public NuGet archive; Microsoft release views retain their existing prediction scope.

No collected risk observation for these identifiers. This does not establish absence of exploitation or a zero probability.

cve-program · CVE-2026-28740

Published

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.

Source published
3 Jul 2026 20:19:39 UTC
Source modified
7 Jul 2026 16:58:26 UTC
Observed here
23 Oct 2026 15:48:27 UTC
Source terms
CVE Program Terms of Use

Original source record · Cite this exact observation · Complete original publisher JSON

This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: cve-program · CVE Program Terms of Use. Source text is retained; field grouping and change labels are provided by ChangeIntel.

CVSS 3.1 · 7.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N

euvd · EUVD-2026-41643

Published

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.

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Jul 3, 2026, 8:19:39 PM

dateUpdated: Jul 7, 2026, 4:58:26 PM

Source published
Jul 3, 2026, 8:19:39 PM (timezone not stated)
Source modified
Jul 7, 2026, 4:58:26 PM (timezone not stated)
Observed here
7 Nov 2026 06:34:13 UTC
Source terms
ENISA EUVD · source terms and attribution apply

Original source record · Cite this exact observation · Complete original publisher JSON

This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: euvd · ENISA EUVD · source terms and attribution apply. Source text is retained; field grouping and change labels are provided by ChangeIntel.

EUVD CVSS 3.1 · 7.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N

nvd · CVE-2026-28740

Published

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.

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Deferred

Weakness classifications: CWE-639 · CWE-863

Original publisher date fields

published: 2026-07-03T21:16:59.890

lastModified: 2026-10-25T15:10:00.147

Source published
3 Jul 2026 21:16:59 UTC
Source modified
25 Oct 2026 15:10:00 UTC
Observed here
27 Oct 2026 07:23:38 UTC
Source terms
NIST NVD usage terms; underlying source attribution retained

Original source record · Cite this exact observation · Complete original publisher JSON

This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: nvd · NIST NVD usage terms; underlying source attribution retained. Source text is retained; field grouping and change labels are provided by ChangeIntel.

CVSS 3.1 · 88ee5874-cf24-4952-aea0-31affedb7ff2 · Secondary · 7.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N

osv · GHSA-2m9v-5q2g-58vq

Published

## Summary A user with Code write access to one repository may be able to associate an existing Git LFS object from a private source repository with their target repository, even when they do not have Code access to the source repository that currently owns the LFS object. The issue appears to be caused by the source-object authorization check using broad repository accessibility instead of requiring Code-unit access to at least one repository that owns the requested LFS object. ## Impact This issue breaks the expected authorization boundary between repository units. A user who does not have Code access to a private source repository should not be able to reuse or associate Git LFS objects owned by that repository. However, because the source-object accessibility check accepts broad repository access, non-Code access such as Issues access may be sufficient for the LFS object to be treated as accessible. If the reused object becomes downloadable through the attacker-controlled target repository after metadata association, this can result in cross-repository Git LFS content disclosure. The target repository write authorization is still enforced. The problem is specifically in the authorization decision for whether the source LFS object is accessible and may be reused. ## Preconditions The attacker needs: * an authenticated Gitea account; * Code write access to a target repository; * non-Code access, such as Issues access, to a private source repository; * knowledge of an existing Git LFS object OID and size from the private source repository. ## Affected Area The issue affects the Git LFS upload/object reuse path. Relevant paths: ```text services/lfs/server.go ``` Relevant handlers: ```text BatchHandler UploadHandler ``` Both paths can call: ```go git_model.LFSObjectAccessible(ctx, ctx.Doer, p.Oid) ``` The helper is located in: ```text models/git/lfs.go ``` The authorization check uses: ```go repo_model.AccessibleRepositoryCondition(user, unit.TypeInvalid) ``` When `unit.TypeInvalid` is used, the repository access condition can include broad repository access, such as organization team membership through `team_repo` and `team_user`, without requiring that the user has access to the Code unit of the source repository. By contrast, Code-specific repository access checks use a concrete unit type and include `team_unit` validation. ## Validation I reproduced this locally using Gitea's Go test harness. Validated against commit: ```text dac41a124fd34820a3c8caf3b3592ba62cd514ff ``` The PoC creates the following scenario: 1. The attacker has Code write access to the target repository. 2. The source repository is private. 3. The attacker does not have Code access to the source repository. 4. The attacker only has Issues access to the source repository through an organization team. 5. An LFS object exists in the source repository. 6. `LFSObjectAccessible(ctx, attacker, oid)` returns `true`. 7. `NewLFSMetaObject(ctx, targetRepo.ID, pointer)` successfully creates LFS metadata for the target repository. Test result: ```text === RUN TestLFSObjectAccessibleAllowsNonCodeSourceAccess --- PASS: TestLFSObjectAccessibleAllowsNonCodeSourceAccess PASS ok gitea.dev/models/git ``` No live instance was tested. Validation was performed only against a local test database. ## Security Expectation A user should not be allowed to reuse or associate an LFS object from a private source repository unless they have Code access to that source repository, or another permission level explicitly intended to grant access to repository file contents. Non-Code permissions such as Issues access should not authorize access to Git LFS object content or allow Git LFS object reuse. ## Suggested Fix `LFSObjectAccessible` should require Code-unit access to at least one repository that owns the requested LFS object. The check should avoid using `unit.TypeInvalid` for this source-object authorization decision. A Code-specific repository access condition should be used instead. A regression test should cover: * private source repository; * user has Issues-only access to the source repository; * user does not have Code access to the source repository; * user has Code write access to the target repository; * known LFS object exists in the source repository; * object reuse must be rejected unless the user has Code access to the source repository. ## Suggested Severity Suggested severity: Medium to High. The severity depends on whether the associated LFS object becomes downloadable through the target repository after reuse. If the object becomes downloadable through the target repository, the issue should be considered High because it can lead to cross-repository Git LFS content disclosure. Suggested CVSS v3.1 if content disclosure is confirmed: ```text CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N ``` Rationale: * network reachable through Git LFS endpoints; * requires authentication; * requires knowledge of the LFS object OID and size; * no user interaction required; * breaks repository-level authorization expectations; * primary impact is confidentiality of private Git LFS content; * limited integrity impact through unauthorized LFS metadata association in the target repository. ## Evidence I can provide the local regression test and passing test log privately if needed.

Source published
21 Jul 2026 20:29:43 UTC
Source modified
22 Jul 2026 21:11:16 UTC
Observed here
24 Oct 2026 13:19:41 UTC
Source terms
GitHub Advisory Database · CC-BY-4.0

Original source record · Cite this exact observation · Complete original publisher JSON

This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: osv · GitHub Advisory Database · CC-BY-4.0. Source text is retained; field grouping and change labels are provided by ChangeIntel.

CVSS_V3 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N

Publisher rating · HIGH

osv · GO-2026-6029

Published

Gitea: Git LFS object reuse allows non-Code access to authorize private source objects in code.gitea.io/gitea

Source published
22 Jul 2026 20:36:35 UTC
Source modified
22 Jul 2026 21:00:25 UTC
Observed here
24 Oct 2026 13:19:41 UTC
Source terms
OSV · upstream source license applies

Original source record · Cite this exact observation · Complete original publisher JSON

This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: osv · OSV · upstream source license applies. Source text is retained; field grouping and change labels are provided by ChangeIntel.

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 7 Nov 21:58 UTC · 275 of 275 readable · 273 fully read · documentation 469/469 current