All vulnerabilities

Servers and applications

CVE-2018-20303

In pkg/tool/path.go in Gogs before 0.11.82.1218, a directory traversal in the file-upload functionality can allow an attacker to create a file under data/sessions on the server, a similar issue to CVE-2018-18925.

Severity
High 7.5
Published
20 Dec 2018
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
0.11.82.1218
Exploit chance
3.3% in the next 30 daysHigher than 88% of CVEs. EPSS by FIRST, 10 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · No login needed · No user action needed
Attacker can
Change data
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Sources
NVD

Affected software

SoftwareAffected versions
GogsServers and applications · cpe:a:gogs:gogs
  • Every version before 0.11.82.1218

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2018-20303
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2018-20303