CVE-2026-103504
published high CVSS 3.1 · 8.1Gitea API team demotion not applied to unit permissions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 0 through 1.27.3 · Other versions: unaffected | Affected | Not stated | Gitea |
Description
Changing an organization team's permission through the API with only the `permission` field did not rebuild the team's per-unit access, and the requested level was not applied as a cap. After an organization owner demoted a team, for example from admin to read, the team's members kept their previous unit permissions, including write access to the team's repositories. The web form was not affected.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 0 through 1.27.3 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-272 CWE-272: Least Privilege Violation
References
4- Gitea 28.0.0 release announcement https://blog.gitea.com/release-of-28.0.0/
- Fix: go-gitea/gitea pull request #38938 https://github.com/go-gitea/gitea/pull/38938
- go-gitea/gitea v28.0.0 release https://github.com/go-gitea/gitea/releases/tag/v28.0.0
- GitHub Security Advisory GHSA-x8c3-3rp8-2j46 https://github.com/go-gitea/gitea/security/advisories/GHSA-x8c3-3rp8-2j46
Provider assertions
2Gitea · cna
Gitea API team demotion not applied to unit permissions
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0d0ddcbcc9afab38f9471a937cd6cd00cbc80f8d691a453fe8e4888829ef1781
- Ingested
- 07 Oct 2026, 22:38:12 UTC
- Source record
- Official CVE record