{"id":"CVE-2026-103504","aliases":["CVE-2026-103504"],"related":[],"kind":"vulnerability","state":"published","title":"Gitea API team demotion not applied to unit permissions","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-06T19:24:26.369Z","modified":"2026-10-07T21:17:07.427Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":["CWE-272"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.27.3","status":"affected"}],"vendor":"Gitea","product":"Gitea","package":"gitea.dev","source":"cvelist"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-x8c3-3rp8-2j46","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/pull/38938","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://blog.gitea.com/release-of-28.0.0/","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.0.0","tags":["release-notes"],"sources":["cvelist","nvd"]}],"credits":["https://github.com/1K0CT","https://github.com/bircni","https://github.com/wxiaoguang"],"assigner":"Gitea","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-07T20:14:37.385Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-103504","url":"https://www.cve.org/CVERecord?id=CVE-2026-103504","licence":"CVE Terms of Use","modified":"2026-10-07T20:15:03.095Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-103504","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-103504","licence":"Public domain","modified":"2026-10-07T21:17:07.427Z"}],"updatedAt":"2026-11-25T22:59:42.491Z","epss":{"score":0.00259,"percentile":0.18824,"date":"2026-12-01T12:00:22.000Z"}}