{"id":"CVE-2026-103504","revision":"6e14a1eb8f0941fa9bee11157d892460","records":[{"revision":"6e14a1eb8f0941fa9bee11157d892460","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-103504","aliases":[],"title":"Gitea API team demotion not applied to unit permissions","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.","state":0,"publishedAt":"2026-10-06T19:24:26.369+00:00","modifiedAt":"2026-10-07T20:15:03.095+00:00","affected":[{"ecosystem":"Vendor product","name":"gitea.dev","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Gitea\",\n                    \"product\": \"Gitea\",\n                    \"packageName\": \"gitea.dev\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"1.27.3\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://github.com/go-gitea/gitea/security/advisories/GHSA-x8c3-3rp8-2j46","https://github.com/go-gitea/gitea/pull/38938","https://blog.gitea.com/release-of-28.0.0/","https://github.com/go-gitea/gitea/releases/tag/v28.0.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-103504","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-103504","identifiers":["CVE-2026-103504"]},"retained":false,"historicalAffected":[]}],"coverage":[]}