Read the docs
TI-2018-14365 Aliases CVE-2018-20303GHSA-9hxg-w7qf-hh93

In pkg/tool/path.go in Gogs before 0.11.82.1218, a directory traversal in the file-upload…

Priority LOW 39CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

EPSS 0.03291 88th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed gogs.io/gogs (Go): 0.11.80-0.20181218063808-ff93d9dbda5c

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—gogs.io/gogs (Go)before 0.11.80-0.20181218063808-ff93d9dbda5c0.11.80-0.20181218063808-ff93d9dbda5cPatch availableGHSA-9hxg-w7qf-hh93
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • gogs.io/gogs (Go) Vendor— Affected before 0.11.80-0.20181218063808-ff93d9dbda5c Fixed in 0.11.80-0.20181218063808-ff93d9dbda5c Patch available GHSA-9hxg-w7qf-hh93

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*before 0.11.82.1218VulnerableGogs
  • cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:* Versions before 0.11.82.1218 Vulnerable ·Gogs

Remediation

  • Fix · GHSA-9hxg-w7qf-hh93 gogs.io/gogs (Go) Fixed in 0.11.80-0.20181218063808-ff93d9dbda5c Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-20303
  2. 2026-10-03 Alias added: GHSA-9hxg-w7qf-hh93

References

  • TI-2025-07419 File overwrite in file update API in Gogs KEVCVSS 4.0HIGH 8.7
  • TI-2022-01876 OS Command Injection in gogs/gogs CVSS 3.1CRITICAL 9.8
  • TI-2024-36988 Gogs has a Path Traversal in file update API CVSS 4.0HIGH 8.7
  • TI-2022-01744 Remote Command Execution in gogs/gogs CVSS 3.1CRITICAL 10.0
  • TI-2025-39562 Gogs's update .git/config file allows remote command execution CVSS 4.0CRITICAL 9.3
  • TI-2026-20951 Gogs: Cross-repository LFS object overwrite via missing content hash verification CVSS 3.1CRITICAL 9.3
See all 48 →

Sources