Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2026-58443: Public-only token authorization bypass in Gitea pull request updates

Published Aug 13, 2026 · Updated 11 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.1Critical · v3.1
EPSS0.58%42nd percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
IdentifiersCVE-2026-58443CWE-863 · Incorrect Authorization

CVE-2026-58443 is an incorrect authorization vulnerability in Gitea versions through 1.26.4 that allows repository tokens restricted to public repositories to indirectly modify private pull request head branches. The pull request update API validates the token's public-only restriction against the public base repository, but subsequently authorizes access to the private head repository using the token owner's ordinary permissions without reapplying the token restriction. Consequently, a public-only token with repository write scope can cause server-side merges or rebases of public base commits into a private head branch when its owner has write permission to that branch. The resulting push can also trigger private Gitea Actions workflows. The vulnerability is fixed in Gitea 1.27.0.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Exploitation bypasses the intended isolation of public-only tokens, allowing unauthorized changes to private repository branches despite direct private writes being prohibited for those tokens. This compromises repository integrity and can affect availability through unwanted changes or triggered automation. If Gitea Actions is enabled and a private workflow matches the resulting push event, exploitation can queue workflow runs and associated jobs. The flaw does not provide anonymous private repository access or independently grant permissions beyond the token owner's underlying account permissions.

Mitigation

If you can’t patch tonight, do this now.

Until patched, restrict pull request update capabilities and revoke public-only tokens with write:repository scope that could reach affected private branches. Audit public-to-private fork and pull request relationships, review affected tokens, and rotate potentially exposed credentials. Inspect private repository branch changes and Gitea Actions logs for unexpected pushes or push-triggered workflows following pull request updates through public base repositories. Token rotation alone does not correct the authorization flaw.

Remediation

Patch, then assume compromise.

Upgrade Gitea to version 1.27.0 or later, which fixes the authorization checks for private pull request head repositories.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2026-58443 exploited in the wild?
As of Nov 19, 2026, Mallory has no reports of CVE-2026-58443 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-58443?
Yes. As of Nov 19, 2026, Mallory has reports of a public exploit for CVE-2026-58443.
Is there a patch for CVE-2026-58443?
Upgrade Gitea to version 1.27.0 or later, which fixes the authorization checks for private pull request head repositories.
How severe is CVE-2026-58443?
CVE-2026-58443 has a CVSS v3.1 score of 9.1 (Critical) and an EPSS score of 0.58% (42nd percentile) as of Nov 19, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity9Community discussion across Reddit, Mastodon, and other social sources.