CVE-2018-18925Gogs
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Gogs · Gogs We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Gogs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gogs | gogs | ≤ 0.11.66 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory