Public mode

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

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Public-only API token restriction is not enforced on team API routes

cve-program · severity unknownEUVD CVSS 3.1 4.3 CVSS 3.1 · 134c704f-9b21-4f2e-91b3-4a467353bcc0 · Secondary 4.3 MEDIUMCVSS_V3 Publisher rating MODERATEFixed by gitea.dev 1.27.0osv · severity unknownFixed by gitea.dev 1.27.0KEV status unknown

cve-program · CVE-2026-58431

Published

Public-only API token restriction is not enforced on team API routes

Read the publisher's advisory

euvd · EUVD-2026-58158

Published

Public-only API token restriction is not enforced on team API routes

Read the publisher's advisory

nvd · CVE-2026-58431

Published

Public-only API token restriction is not enforced on team API routes

Read the publisher's advisory

osv · GHSA-h56g-4qw7-2mxg

Published

### Summary Gitea's `/api/v1/teams/{id}` API routes do not correctly enforce the `public-only` access token restriction. A `public-only` token is intended to limit API access to public repositories and public organizations. However, several team API routes continue to return private team repository metadata and private team activity feed entries when called with a `public-only` token. ### Details The `/api/v1/teams/{teamid}` route group uses: ```go orgAssignment(false, true) ``` This loads `ctx.Org.Team`, but does not load `ctx.Org.Organization`. The `checkTokenPublicOnly` middleware checks organization visibility through `ctx.Org.Organization`. When `ctx.Org.Organization` is nil, the organization visibility check silently passes. In addition, the team repository handlers return repositories without applying repository-level `public-only` filtering: ```go repo_model.GetTeamRepositories(...) convert.ToRepo(...) ``` They do not call: ```go ctx.TokenCanAccessRepo(repo) ``` The team activity feed handler also sets: ```go IncludePrivate: true ``` but does not apply: ```go opts.ApplyPublicOnly(ctx.PublicOnly) ``` ### PoC Vulnerability is verified on latest gitea release (1.26.2) and nightly build. Frist, create a `public-only` organization-scoped token for a user who is a member of a team in a private org with private repositories: <img width="1075" height="577" alt="image" src="https://github.com/user-attachments/assets/4a01d0ab-f67c-47c9-94b1-e74ddd77d7bc" /> <img width="649" height="375" alt="image" src="https://github.com/user-attachments/assets/b5d91962-088e-40f4-bc51-88a17946e6d8" /> Use the returned token to request team repositories: <img width="1728" height="190" alt="image" src="https://github.com/user-attachments/assets/0f15878f-5806-431d-958c-ffb39bf7c1e9" /> Expected result: Private repositories should be hidden or rejected for a public-only token. Actual result: Private team repository metadata is returned. The team activity feed endpoint can be tested similarly: <img width="1728" height="237" alt="image" src="https://github.com/user-attachments/assets/280a5ddf-ad14-4769-86a8-1fdad858287c" /> ### Impact A `public-only` token can access private team resources that should be hidden from that token.

Read the publisher's advisory

osv · GO-2026-6059

Published

Gitea: Public-only API token restriction is not enforced on team API routes in gitea.dev

Read the publisher's advisory

Affected versions, risk and source history

Exploitation and risk

Source status

CISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.

Which CVEs have scores here?

This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.

No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.

Risk history

Compare earlier KEV listings and EPSS scores. Advisory wording and affected versions have a separate history.

When does an EPSS score appear as a change?

A prediction change is reported when EPSS rises from below 10% to 10% or higher. Every daily score change from the last 30 days stays in this history. Before that, it keeps KEV changes and moves between EPSS bands (0.1%, 1%, 5%, 10%, 20%, 50% and 90%).

Advisory history

16 saved versions

See how the publisher's advisory changed over time. Each link opens the version saved at that time. The publisher's update date can differ from the date shown here.

How advisory history works

Each link identifies one complete publisher record. History can include advisories that previously shared an identifier; an identifier removed by a publisher no longer establishes a current relationship. A historical link shows only that record and earlier saved versions. Failed checks and unchanged reads do not create new versions.

19 Nov 2026 17:49:22 UTC

Public-only API token restriction is not enforced on team API routes

euvd · EUVD-2026-58158 · Published

17 Nov 2026 17:35:06 UTC

Public-only API token restriction is not enforced on team API routes

euvd · EUVD-2026-58158 · Published

15 Nov 2026 16:46:55 UTC

Public-only API token restriction is not enforced on team API routes

euvd · EUVD-2026-58158 · Published

13 Nov 2026 16:01:25 UTC

Public-only API token restriction is not enforced on team API routes

euvd · EUVD-2026-58158 · Published

11 Nov 2026 15:00:22 UTC

Public-only API token restriction is not enforced on team API routes

euvd · EUVD-2026-58158 · Published

9 Nov 2026 14:06:42 UTC

Public-only API token restriction is not enforced on team API routes

euvd · EUVD-2026-58158 · Published

7 Nov 2026 13:24:04 UTC

Public-only API token restriction is not enforced on team API routes

euvd · EUVD-2026-58158 · Published

5 Nov 2026 12:41:08 UTC

Public-only API token restriction is not enforced on team API routes

euvd · EUVD-2026-58158 · Published

3 Nov 2026 11:59:55 UTC

Public-only API token restriction is not enforced on team API routes

euvd · EUVD-2026-58158 · Published

1 Nov 2026 11:23:02 UTC

Public-only API token restriction is not enforced on team API routes

euvd · EUVD-2026-58158 · Published

30 Oct 2026 10:50:11 UTC

Public-only API token restriction is not enforced on team API routes

euvd · EUVD-2026-58158 · Published

28 Oct 2026 08:36:25 UTC

Public-only API token restriction is not enforced on team API routes

euvd · EUVD-2026-58158 · Published

25 Oct 2026 14:19:16 UTC

Public-only API token restriction is not enforced on team API routes

nvd · CVE-2026-58431 · Published

24 Oct 2026 13:19:41 UTC

Gitea: Public-only API token restriction is not enforced on team API routes

osv · GHSA-h56g-4qw7-2mxg · Published

24 Oct 2026 13:19:41 UTC

Gitea: Public-only API token restriction is not enforced on team API routes in gitea.dev

osv · GO-2026-6059 · Published

23 Oct 2026 15:48:27 UTC

Public-only API token restriction is not enforced on team API routes

cve-program · CVE-2026-58431 · Published

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 21 Nov 04:33 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current