Live threats

All CVEs / Gogs

CVE-2018-18925Gogs

Critical 9.8 No auth neededHigh EPSS

Priority
77
CVSS 3.0
9.8
EPSS
31.1%
probability of exploitation in 30 days · percentile 99
Auth required
No
Published
Nov 4, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-384
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as demonstrated by a ".." session-file forgery in the file session provider in file.go. This is related to session ID handling in the go-macaron/session code for Macaron.

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 products (CPE)

VendorProductVersions
gogsgogs≤ 0.11.66

Official sources

References

Links published by the sources. Open them with care.