CVE-2018-20303: Gogs

High severity, CVSS 7.5. EPSS: 3.2% chance of exploitation in the next 30 days.

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.

Affected products

  • Gogs Gogs: before 0.11.82.1218 (fixed in 0.11.82.1218)

Published 2018-12-20. Last modified 2026-06-17.