# CVE-2026-58431: Public-only API token restriction is not enforced on team API routes

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-13 · Modified: 2026-08-14
- Aliases: GHSA-h56g-4qw7-2mxg, GO-2026-6059
- Record: https://cvemate.com/vulnerability/CVE-2026-58431 · JSON: https://cvemate.com/vulnerability/CVE-2026-58431/json

## Description

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

## Signals

- CVSS: 4.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.275%, percentile 21.231%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- gitea gitea open source git server: ≤ 1.26.4
- Go gitea.dev (Go): \< 1.27.0

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-h56g-4qw7-2mxg>
- <https://github.com/go-gitea/gitea/releases/tag/v1.27.0>
- <https://blog.gitea.com/gitea-1.27.0-is-released/>
- <https://github.com/go-gitea/gitea>

---

Data as of 2026-12-05T14:33:23.344Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
