CVE-2026-58511

Webhook Authorization Header Returned in Plaintext via API

Published Aug 13, 2026 CVSS 3.1 · 2.7 Low EPSS < 1% KEV · Not listed
Description
Webhook Authorization Header Returned in Plaintext via API

Analysis

AI-generated

Technical impact

The vulnerability causes the webhook authorization header, normally containing a secret token, to be returned by the Gitea API in plaintext. An attacker who can read the API response can capture the token and use it to authenticate webhook requests. The exposure undermines the confidentiality of the secret and could allow the attacker to impersonate the webhook service. There is no evidence that this flaw enables arbitrary code execution or other higher‑level privileges beyond misuse of the credential.

Affected Systems

The affected product is the Gitea Open Source Git Server. All releases that continue to expose the authorization header in API responses are susceptible. The CVE data does not specify exact version ranges; however, the references to release 1.27.0 and a security advisory imply that the issue existed in versions preceding the advisory. No information indicates that the flaw has been fixed in any released version.

Risk and Exploitability

The flaw is an information‑exposure weakness (CWE‑200). The CVSS score of 2.7 indicates low overall risk. Exploitation requires access to the API endpoint that provides webhook data. Because the EPSS score is unavailable and the CVE is not listed in the CISA KEV catalog, the likelihood of exploitation in the wild is uncertain. Nevertheless, any party that can read the API will gain the token and could cause unauthorized webhook activity.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor‑supplied patch that removes the authorization header from API responses, or upgrade to a version in which the flaw is addressed if available.
  • Restrict API access to trusted administrators or service accounts only so that only privileged users can view webhook data.
  • Review existing webhooks and rotate any secret tokens that might have been exposed by the vulnerability.

Generated by OpenCVE AI on August 13, 2026 at 20:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-3r5c-2xxx-h872 Gitea: Webhook Authorization Header Returned in Plaintext via API
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 2.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server
Type Values Removed Values Added
Description Webhook Authorization Header Returned in Plaintext via API
Title Webhook Authorization Header Returned in Plaintext via API
Weaknesses CWE-200
References
Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Aug 13, 2026, 6:50 PM
Reserved
Jul 8, 2026, 9:19 AM
Status
Deferred
Published
Aug 13, 2026, 5:17 PM
Modified
Aug 26, 2026, 4:53 PM