Skip to main content
Public proof of conceptFix available

CVE-2022-0415

A public proof of concept exists; no exploitation attested.

  • Published2022-03-21
  • Fixed in0.12.6
  • WeaknessCWE-20 · CWE-434

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Remote Command Execution in uploading repository file in GitHub repository gogs/gogs prior to 0.12.6.

Timeline

dates in UTC
  1. 2022-03-2111:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-11-03 03:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2022-0415?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2022-0415?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD · OSV
Gogs
BranchAffectedFixed in
0.12< 0.12.60.12.6

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • golang-github-gogits-go-gogs-clientUbuntu:26.10all versions · no fixed version listed
  • golang-github-gogits-go-gogs-clientUbuntu:26.04:LTSall versions · no fixed version listed
  • golang-github-gogits-go-gogs-clientUbuntu:25.10all versions · no fixed version listed
  • golang-github-gogits-go-gogs-clientUbuntu:24.04:LTSall versions · no fixed version listed
  • golang-github-gogits-go-gogs-clientUbuntu:22.04:LTSall versions · no fixed version listed
  • golang-github-gogits-go-gogs-clientUbuntu:20.04:LTSall versions · no fixed version listed

Full record on NVD

Fix

  1. Update Gogs to 0.12.6

Advisories and patches

Detection

read 2026-11-02 22:42 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVSS 3.18.8read 2026-10-23
  • CNACVSS 3.09.9known since 2026-10-23
  • NVDCVSS 2.06.5read 2026-10-23
  • CNAweakness (CWE)CWE-20known since 2026-10-23
  • NVDweakness (CWE)CWE-434read 2026-10-23
  • FIRST EPSSEPSS score65.9 %read 2026-11-02
  • ProjectDiscoverydetectionread 2026-11-02
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHIGH2022-03-28

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2022-03-21
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-5gjh-5j4f-cpwv

Frequently asked questions

What is CVE-2022-0415?

Remote Command Execution in uploading repository file in GitHub repository gogs/gogs prior to 0.12.6.

Is CVE-2022-0415 actively exploited?

Active exploitation of CVE-2022-0415 has not been confirmed. Its EPSS score was 65.9% on 2026-11-02, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-0415?

CVE-2022-0415 has a CVSS v3 base score of 8.8 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running gogs.io/gogs? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record