{"id":"CVE-2026-112887","state":"PUBLISHED","title":"Gitea Actions task token private repository enumeration","description":"Gitea Actions task tokens authenticate to the REST API as a shared system user with a negative ID, which repository, organization, project and key filters treated as having no owner restriction, and the token carried no API scope to restrict user-scoped routes. A user who can run a workflow could use the job's token with `GET /api/v1/user/repos` to list every repository on the instance, including private repositories of other users and organizations, with their metadata. Repository contents remained protected by per-repository permission checks. System users now own nothing, and `/api/v1/user` routes other than `GET /api/v1/user` accept only individual and bot accounts.","publishedAt":"2026-11-01T09:48:30.659Z","updatedAt":"2026-11-06T15:41:17.743Z","severity":{"score":4.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","source":"CISA-ADP"},"assigner":"Gitea","products":["Gitea Gitea"],"affected":[{"vendor":"Gitea","product":"Gitea","packageName":"gitea.dev","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"28.3.0","versionType":"semver"}]}],"references":["https://github.com/go-gitea/gitea/security/advisories/GHSA-8r36-6j2c-3gmv","https://github.com/go-gitea/gitea/pull/39945","https://github.com/go-gitea/gitea/pull/40115","https://blog.gitea.com/release-of-28.3.0/","https://github.com/go-gitea/gitea/releases/tag/v28.3.0"],"weaknesses":["CWE-200","CWE-862"],"ingestedAt":"2026-11-06T15:48:06.655Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/112xxx/CVE-2026-112887.json","commit":"3e4667f978e9559ee696c6581b051a0499206a23","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-112887","state":"PUBLISHED","datePublished":"2026-11-01T09:48:30.659Z","dateUpdated":"2026-11-06T15:41:17.743Z","assignerShortName":"Gitea","assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateReserved":"2026-11-01T08:50:49.253Z"},"containers":{"cna":{"title":"Gitea Actions task token private repository enumeration","descriptions":[{"lang":"en","value":"Gitea Actions task tokens authenticate to the REST API as a shared system user with a negative ID, which repository, organization, project and key filters treated as having no owner restriction, and the token carried no API scope to restrict user-scoped routes. A user who can run a workflow could use the job's token with `GET /api/v1/user/repos` to list every repository on the instance, including private repositories of other users and organizations, with their metadata. Repository contents remained protected by per-repository permission checks. System users now own nothing, and `/api/v1/user` routes other than `GET /api/v1/user` accept only individual and bot accounts."}],"affected":[{"vendor":"Gitea","product":"Gitea","packageName":"gitea.dev","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"28.3.0","versionType":"semver"}]}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-8r36-6j2c-3gmv","name":"GitHub Security Advisory GHSA-8r36-6j2c-3gmv","tags":["vendor-advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/39945","name":"Fix: go-gitea/gitea pull request #39945","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/pull/40115","name":"Fix backport to release/v28: go-gitea/gitea pull request #40115","tags":["patch"]},{"url":"https://blog.gitea.com/release-of-28.3.0/","name":"Gitea 28.3.0 release announcement","tags":["release-notes"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.3.0","name":"go-gitea/gitea v28.3.0 release","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-200","lang":"en","type":"CWE","description":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor"},{"cweId":"CWE-862","lang":"en","type":"CWE","description":"CWE-862: Missing Authorization"}]}],"providerMetadata":{"shortName":"Gitea","orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateUpdated":"2026-11-01T09:48:30.659Z"},"credits":[{"lang":"en","value":"https://github.com/csidhant","type":"reporter"},{"lang":"en","value":"https://github.com/bircni","type":"remediation developer"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":4.3,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-11-06T15:40:31.678456Z","id":"CVE-2026-112887","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-06T15:41:17.743Z"}}]}}}