# CVE-2026-103504: Gitea API team demotion not applied to unit permissions

- Severity: High 8.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-10-06T19:24:26.369Z
- Modified: 2026-10-07T21:17:07.427Z
- Weaknesses: CWE-272
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- gitea.dev: up to 1.27.3

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-x8c3-3rp8-2j46> (vendor-advisory)
- <https://github.com/go-gitea/gitea/pull/38938> (patch)
- <https://blog.gitea.com/release-of-28.0.0/> (release-notes)
- <https://github.com/go-gitea/gitea/releases/tag/v28.0.0> (release-notes)

## Sources

- CVE List: [CVE-2026-103504](https://www.cve.org/CVERecord?id=CVE-2026-103504), CVE Terms of Use, modified 2026-10-07
- NVD: [CVE-2026-103504](https://nvd.nist.gov/vuln/detail/CVE-2026-103504), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2026-103504 · Whole record: https://cve.day/CVE-2026-103504.json · Rebuilt by cve.day 2026-11-25T22:59:42.491Z
