CVE Tools

CVE-2022-1993

Path Traversal in gogs/gogs

Published: Jun 8, 2022Updated: Nov 21, 2024 Sources: CVE List NVD GHSACWE-22

Description

Path Traversal in GitHub repository gogs/gogs prior to 0.12.9.

In plain language

AI Worth attention

If you run Gogs version prior to 0.12.9, an attacker who has basic access can trick it into reading or writing files outside its normal folders—so you should patch.

Executive summary

CVE-2022-1993 is a path traversal issue in gogs/gogs before 0.12.9 that allows an authenticated user with low-level privileges to manipulate file paths and read/write files outside the intended application directory over the network.

If affected, business impact
Sensitive file exposureUnauthorized file modificationService disruption riskCredential/secret leakage

What to do now

  1. Check your Gogs version and confirm it is prior to 0.12.9.
  2. Review whether any non-admin accounts exist that could be “low-level” users in your setup.
  3. Upgrade Gogs to 0.12.9 or later (fixed version).
  4. If you cannot upgrade right away, restrict network access to Gogs and limit who can log in, then plan the upgrade immediately after.
Patch / advisory Usually a quick update

CVSS Vector Breakdown

AV:NAC:LPR:LUI:NS:UC:HI:HA:N
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:LPrivileges Required
Low
UI:NUser Interaction
None
Scope
S:UScope
Unchanged
Impact
C:HConfidentiality
High
I:HIntegrity
High
A:NAvailability
None

Weaknesses

Affected Products

Exploitability

1 exploit source identified

Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.

View exploit details
Official Patch Available

Attack Graph

Products CVE Techniques Tactics

Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.

MITRE ATT&CK

2 techniques
Collection
Discovery
View detailed technique mapping

References

and 3 more references View all →

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2022-1993 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows

We use analytics cookies to see which pages and articles actually help people. Decline and none of them run — the site works the same. What we store