CVE-2026-24451

highpriority · track · 0EPSS 0.004 · 39 %ileDEEURUUS
grimoire priorityP2 · Scheduled
Exploitable?
—
no known exploitation
Likely / severe?
0.45% (39th) EPSS
CVSS 7.5 · high
Is it mine?
10 products
Check your exposure
Who says so?
5 sources
cnnvd · enisa_euvd · fstec_bdu · osv

EPSS · scored 2026-10-26

Gitea 1.26.2 allows fork synchronization to continue after a parent repository changes from public to private, exposing data to a fork that should no longer be authorized.

01

cvss

Technical severity, 0–10. One row per scoring source.

7.5
010

base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.9–7.5

v3.17.5highAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:Nsecondary · FSTEC (BDU) RU
v3.17.5highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:Nsecondary · ENISA EU
v3.17.5highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:Nsecondaryexploitability 3.9 · impact 3.6
v3.17.5highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:Nsecondary · OSV
v3.16.9mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:Usecondary · CVSS-BT (t0sche)
02

ssvc

A stakeholder decision — act, attend, or track — from exploitation and impact.

Exploitation: poc · Automatable: yes · Technical Impact: partialcoordinatorcisa_ssvcUS
03

weaknesses

The CWE weakness classes this flaw belongs to.

04

affected products (10)

Products and version ranges known to be affected.

05

advisories (3)

Vendor and ecosystem advisories describing this.

  • WID-SEC-W-2026-2027Gitea: Mehrere SchwachstellenDeutsch2026-06-21csaf · cert_bundDE

    Ein Angreifer kann mehrere Schwachstellen in Gitea ausnutzen, um erweiterte Berechtigungen zu erlangen, sich als Benutzer auszugeben, Sicherheitsmaßnahmen zu umgehen, Daten zu manipulieren und vertrauliche Informationen offenzulegen.

  • GHSA-wrf9-r3h7-7x5vGitea: Fork Synchronization Continues After Parent Repository Changes from Public to Private2026-07-21ghsa · osvUS

    ### Summary The `POST /api/v1/repos/{owner}/{repo}/merge-upstream` endpoint continues to synchronize commits from a parent repository after the parent repository has been changed from public to private. A fork created while the parent repository was public can still receive commits made after the parent repository becomes private. As a result, content added during the private period becomes available through the fork repository after synchronization. ### Details Gitea provides the `merge-upstream` API to synchronize a fork with its parent repository. A typical workflow is: 1. A repository is public. 2. Another user creates a fork. 3. The fork owner uses `merge-upstream` to receive updates from the parent repository. However, if the parent repository is later changed from public to private, the synchronization endpoint continues to import new commits from the parent repository into the fork. In testing on Gitea 1.26.2, a fork owner who can no longer directly access the parent repository is still able to synchronize newly created commits from the parent repository into the fork by calling `merge-upstream`. As a result, commits created after the visibility change can be propagated into the fork through the normal fork synchronization workflow. ### PoC #### Proof-of-Concept Code https://anonymous.4open.science/r/Gitea_PoC-EC93/4_poc_merge_upstream #### PoC Details 1. User `alice` creates a public repository `alice/P`. 2. User `bob` forks the repository, creating `bob/P`. 3. `alice` changes `alice/P` from public to private. 4. Verify that `bob` can no longer directly access the parent repository: ```http GET /api/v1/repos/alice/P ``` Response: ```http 404 Not Found ``` ```http GET /api/v1/repos/alice/P/contents/README.md ``` Response: ```http 404 Not Found ``` 5. While the repository is private, `alice` commits a new file: ```text secret.txt ``` 6. Verify that `bob` cannot directly access the new file from the parent repository: ```http GET /api/v1/repos/alice/P/contents/secret.txt ``` Response: ```http 404 Not Found ``` 7. `bob` synchronizes the fork: ```http POST /api/v1/repos/bob/P/merge-upstream ``` Response: ```http 200 OK ``` 8. The newly added file is now available through the fork repository: ```http GET /api/v1/repos/bob/P/contents/secret.txt ``` Response: ```http 200 OK ``` The attached PoC reproduces the behavior end-to-end. As a control test, attempting to access the private-period commit directly through the fork's Git API before synchronization fails: ```http GET /api/v1/repos/bob/P/git/commits/<private-period-commit-sha> ``` Response: ```http 404 Not Found ``` This indicates that the commit becomes available in the fork only after the `merge-upstream` operation synchronizes it from the parent repository. ### Impact A fork created while a repository is public can continue receiving updates from the parent repository after the parent repository is changed to private. Consequently, content committed after the visibility change may become available through fork synchronization even when the fork owner can no longer directly access the parent repository. The impact is limited to content that is synchronized from the parent repository into the affected fork. The issue does not allow modification of the parent repository or access to repositories that were never forked.

  • GO-2026-6081Gitea: Fork Synchronization Continues After Parent Repository Changes from Public to Private in code.gitea.io/gitea2026-07-27vendor · osvUS

    Gitea: Fork Synchronization Continues After Parent Repository Changes from Public to Private in code.gitea.io/gitea

06

also known as (6)

Other names and identifiers for this entity.

07

sources

Which sources assert this record, and when.

08

references (13)

External citations — patches, advisories, analysis.

scry

Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.

Free scan