CVE-2026-57897

Description

A flaw was found in Gitea. This vulnerability allows for cross-repository information disclosure through the use of Org-Level Actions Run/Job Application Programming Interfaces (APIs). An attacker could exploit this to gain unauthorized access to sensitive information across different repositories.

Statement

An authorization bypass vulnerability in Gitea's organization-level Actions REST API allows authenticated organization members to access workflow run and job details across all repositories within the organization. By querying the /api/v1/orgs/{org}/actions/runs or /api/v1/orgs/{org}/actions/jobs endpoints, an attacker can bypass per-repository access control lists (ACLs) to enumerate action execution data from private repositories or repositories to which they do not have access.

Mitigation

Disable Gitea Actions globally by setting `ENABLE = false` under the `[actions]` section in `app.ini`, or restrict organization membership to trusted users who already have read access to all organization repositories.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score6.5N/A6.5
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredLowN/ALow
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityHighN/AHigh
Integrity ImpactNoneN/ANone
Availability ImpactNoneN/ANone

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

cve.org: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Understanding the Weakness (CWE)

Confidentiality,Integrity,Availability,Access Control

Technical Impact: Modify Memory; Read Memory; Execute Unauthorized Code or Commands; Gain Privileges or Assume Identity; Bypass Protection Mechanism; Other

Frequently Asked Questions

Want to get errata notifications? Sign up here.