
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-1986 is an OS Command Injection vulnerability affecting the GitHub repository gogs/gogs in versions prior to 0.12.9. The vulnerability was discovered and reported on June 3, 2022 (CVE Mitre).
The vulnerability is related to improper validation of file paths in the repository's file editor functionality. The issue was fixed in version 0.12.9 through improved validation of path separators and git-related paths (GitHub Commit).
This vulnerability allows attackers to perform OS Command Injection attacks against affected Gogs installations, potentially leading to unauthorized command execution on the hosting system (Huntr).
Users are advised to upgrade their Gogs installations to version 0.12.9 or later to address this vulnerability. The fix includes improved validation of repository paths and handling of path separators across different operating systems (GitHub Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."