Every CVE Search/ Get API key

CVE-2018-18925

Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as...

9.8 CriticalPublic exploit

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

31.1%Up 30.2 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

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.

Record
CVE-2018-18925
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-384
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2018-18925
Updated
2026-11-02
EUVDEUVD-2018-10632 No score

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.

Record
EUVD-2018-10632
Updated
2026-11-03
GitHub AdvisoriesGHSA-59hg-cj84-76w9 9.8

Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as...

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.

Record
GHSA-59hg-cj84-76w9
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-384
Updated
2026-11-02
OSV 9.8

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.

Record
CVE-2018-18925
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02

Affected products

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
NucleiGogs (Go Git Service) 0.11.66 - Remote Code Execution
PoC in GitHubj4k0m/CVE-2018-189252021-09-12

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, Nuclei, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-18925 is a critical vulnerability (CVSS 9.8) in Gogs, published November 4, 2018. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 31.1%, the 98th percentile. No source names a fixed version.

References

MoveEnter Open