Gitea: Cross-Repo Information Disclosure via Org-Level Actions Run/Job APIs (CVE-2026-57897)
A vulnerability in Gitea's org-level Actions API allows any organization member to enumerate workflow runs and jobs across all repositories in that organization without per-repository access control. This includes private repositories and those where the user has no explicit permissions. The issue arises because the API endpoints list runs and jobs based solely on org membership, lacking checks for repository-level permissions. The vulnerability affects Gitea versions prior to 1.27.0.
AI Analysis
Technical Summary
Gitea's org-level Actions REST endpoints GET /api/v1/orgs/{org}/actions/runs and GET /api/v1/orgs/{org}/actions/jobs are protected only by organization membership and token presence, but do not enforce per-repository access controls. The underlying database queries join on repository ownership by the organization but omit any filtering based on team membership, repository collaboration, or explicit permissions. Consequently, any org member can retrieve workflow run and job data from all repositories within the organization, including private repositories and those where the user has no access. The per-repository API endpoints correctly restrict access, returning 404 for unauthorized users, confirming the leak is unique to the org-level API surface. This vulnerability is classified under CWE-200 (Information Exposure) and CWE-863 (Incorrect Authorization).
Potential Impact
Any user who is a member of an organization in Gitea can access sensitive workflow run and job information from all repositories in that organization, including private repositories and those where the user has no granted permissions. This leads to unauthorized information disclosure of potentially sensitive CI/CD workflow metadata and job details. There is no indication of code execution or integrity impact, but confidentiality is compromised.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict organization membership to trusted users only to limit exposure. Monitor for vendor updates addressing this authorization flaw in org-level Actions API endpoints.
Gitea: Cross-Repo Information Disclosure via Org-Level Actions Run/Job APIs (CVE-2026-57897)
Description
A vulnerability in Gitea's org-level Actions API allows any organization member to enumerate workflow runs and jobs across all repositories in that organization without per-repository access control. This includes private repositories and those where the user has no explicit permissions. The issue arises because the API endpoints list runs and jobs based solely on org membership, lacking checks for repository-level permissions. The vulnerability affects Gitea versions prior to 1.27.0.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Gitea's org-level Actions REST endpoints GET /api/v1/orgs/{org}/actions/runs and GET /api/v1/orgs/{org}/actions/jobs are protected only by organization membership and token presence, but do not enforce per-repository access controls. The underlying database queries join on repository ownership by the organization but omit any filtering based on team membership, repository collaboration, or explicit permissions. Consequently, any org member can retrieve workflow run and job data from all repositories within the organization, including private repositories and those where the user has no access. The per-repository API endpoints correctly restrict access, returning 404 for unauthorized users, confirming the leak is unique to the org-level API surface. This vulnerability is classified under CWE-200 (Information Exposure) and CWE-863 (Incorrect Authorization).
Potential Impact
Any user who is a member of an organization in Gitea can access sensitive workflow run and job information from all repositories in that organization, including private repositories and those where the user has no granted permissions. This leads to unauthorized information disclosure of potentially sensitive CI/CD workflow metadata and job details. There is no indication of code execution or integrity impact, but confidentiality is compromised.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict organization membership to trusted users only to limit exposure. Monitor for vendor updates addressing this authorization flaw in org-level Actions API endpoints.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-frpw-3h2q-4jj6
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-57897"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a600aa29c2644c7f8fdfcba
Added to database: 07/22/2026, 00:11:14 UTC
Last enriched: 07/22/2026, 00:38:49 UTC
Last updated: 07/22/2026, 00:38:49 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.