Skip to main content
Mallory
UnratedVulnerability

CVE-2025-65852: Gogs repository deletion missing authorization

Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS-Not scored
EPSS-30-day exploit probability
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
IdentifiersCVE-2025-65852CWE-862

CVE-2025-65852 is a broken access-control vulnerability in Gogs's repository-deletion API. The affected operation verifies that a caller has repository read access but does not additionally enforce repository-owner or administrator authorization before deleting the repository.

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.

An authenticated read-only repository collaborator possessing a valid API token can permanently delete a repository to which they have read access. Deleted data can include source code, Git history, issues, and wiki content, causing severe integrity and availability impact and potentially irreversible data loss where recoverable backups are unavailable.

Mitigation

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

Until patched, restrict or disable repository-deletion API access where feasible. Remove unnecessary read-only collaborators; revoke or rotate API tokens issued to untrusted accounts; monitor API logs for repository-deletion requests; and maintain tested, recoverable repository backups.

Remediation

Patch, then assume compromise.

Upgrade Gogs to version 0.13.4 or later, which adds the required authorization validation for repository deletion. After upgrading, verify that deletion is permitted only for repository owners or administrators.

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-2025-65852 exploited in the wild?
As of Sep 26, 2026, Mallory has no reports of CVE-2025-65852 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2025-65852?
As of Sep 26, 2026, Mallory has found no public exploit for CVE-2025-65852.
Is there a patch for CVE-2025-65852?
Upgrade Gogs to version 0.13.4 or later, which adds the required authorization validation for repository deletion. After upgrading, verify that deletion is permitted only for repository owners or administrators.
Activity feed

Recent activity

1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
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 activityCommunity discussion across Reddit, Mastodon, and other social sources.