Live threats

All CVEs / Gogs

CVE-2022-1285Gogs

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
1.2%
probability of exploitation in 30 days · percentile 69
Auth required
No
Published
Jun 1, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-918
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

What happens

Server-Side Request Forgery (SSRF) in GitHub repository gogs/gogs prior to 0.12.8.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gogs.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go gogs.io/gogs < 0.12.8 0.12.8 go get gogs.io/gogs@v0.12.8
Go gogs.io/gogs < 0.12.8 0.12.8 go get gogs.io/gogs@v0.12.8

Per OSV / GitHub Advisories (GHSA-w689-557m-2cvq, GO-2022-0583). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gogsgogs< 0.12.8

Official sources

References

Links published by the sources. Open them with care.