CVE-2026-47267 Gogs: SSRF in webhook deliveries

High 8.3 Published Updated

Attackers can exploit webhook redirects to access internal network resources, bypassing previous local IP restrictions in Gogs.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-47267?

CVE-2026-47267 is a high-severity server-side request forgery vulnerability in gogs, published on 24 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Gogs is an open source self-hosted Git service. Prior to 0.14.3, the fix for CVE-2022-1285 prevents adding webooks or running webhooks with URLs with a hostname that resolves in localCIDRs. However, webhooks still follow redirects allowing to access hostname inside localCIDRs. This vulnerability is fixed in 0.14.3.

Weakness: CWE-918

Which versions are affected by CVE-2026-47267?

3 open source packages ship an affected version, including gogs.io/gogs.

PackageAffectedFixed in
gogs.io/gogs GoAll versionsNone
gogs.io/gogs GoAll versions0.14.3
gogs.io/gogs GoAll versions0.14.3

How do I fix CVE-2026-47267?

Upgrade gogs.io/gogs to 0.14.3 or later.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2026-47267 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47267 exists.

Sources

Also known as GHSA-c4v7-xg93-qf8g, GO-2026-5312.

Is CVE-2026-47267 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free