{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-0415","id":"CVE-2022-0415","title":"Remote Command Execution in uploading repository file in gogs/gogs","description":"Remote Command Execution in uploading repository file in GitHub repository gogs/gogs prior to 0.12.6.","descriptionLong":"Remote Command Execution in uploading repository file in GitHub repository gogs/gogs prior to 0.12.6.","published":"2022-03-21T10:45:13.000Z","updated":"2026-10-28T02:30:34.958267751Z","reserved":"2022-01-30T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"@huntrdev","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"3.0","score":9.9,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"@huntrdev"},{"version":"3.0","score":9.9,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"huntr.dev"},{"version":"3.0","score":9.9,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["gogs/gogs"],"affectedProducts":[{"vendor":"gogs","product":"gogs/gogs","defaultStatus":null,"versions":[{"lessThan":"0.12.6","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["<0.12.6"],"fixed":["0.12.6"],"advisory":"GHSA-5gjh-5j4f-cpwv"}],"cwes":["CWE-20","CWE-434"],"aliases":["GHSA-5gjh-5j4f-cpwv","GO-2022-0554"],"references":[{"url":"https://huntr.dev/bounties/b4928cfe-4110-462f-a180-6d5673797902","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","web"]},{"url":"https://github.com/gogs/gogs/commit/0fef3c9082269e9a4e817274942a5d7c50617284","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0415.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0415","tags":["advisory"]},{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-5gjh-5j4f-cpwv","tags":["web","advisory"]},{"url":"https://github.com/gogs/gogs/issues/6833","tags":["web"]},{"url":"https://github.com/gogs/gogs/pull/6838","tags":["web"]},{"url":"https://github.com/gogs/gogs","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.65935,"epssPercentile":0.99287,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-0415","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0415","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-0415","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5gjh-5j4f-cpwv","ok":true,"note":"GHSA-5gjh-5j4f-cpwv"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-0415","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["EPSS 66% with CVSS 8.8"],"attention":null}