CVE-2022-30781

HIGHNVD 7.57.5
EchelonGraph scoreMEDIUM confidence

This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit probability: 82.5%, top 1% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: epss, nvd
Weaponized
7.5
EchelonGraph verdictPatch this weekExploitation is likely or a public exploit exists.
  • High exploitation likelihood — EPSS 88%
CISA-KEV: Not listedEPSS: 88%CVSS: 7.5Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

Gitea before 1.16.7 does not escape git fetch remote.

CVSS v3
7.5
EG Score
7.5(medium)
EPSS
99.7%
KEV
Not listed

Published

May 16, 2022

Last Modified

November 21, 2024

Affected Packages

(1 across 1 ecosystem)
Go(1)
PackageVulnerable rangeFixed inDependents
code.gitea.io/gitea1.16.7

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 2× in last 7d / 16× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-11 08:25 UTCEPSS rescore
  2. 2026-07-11 08:25 UTCEPSS rescore
  3. 2026-07-04 06:29 UTCEPSS rescore
  4. 2026-07-04 06:29 UTCEPSS rescore
  5. 2026-07-01 15:04 UTCEPSS rescore
  6. 2026-06-29 10:02 UTCOSV refresh
  7. 2026-06-25 13:48 UTCEPSS rescore
  8. 2026-06-25 13:48 UTCEPSS rescore
  9. 2026-06-23 21:31 UTCEPSS rescore
  10. 2026-06-23 21:31 UTCEPSS rescore
  11. 2026-06-17 17:51 UTCEPSS rescore
  12. 2026-06-17 17:51 UTCEPSS rescore
  13. 2026-06-15 17:46 UTCEPSS rescore
  14. 2026-06-13 22:58 UTCEPSS rescore
  15. 2026-06-12 23:10 UTCEPSS rescore
  16. 2026-06-12 23:10 UTCEPSS rescore
  17. 2026-06-12 01:57 UTCOSV refresh
  18. 2026-06-11 13:58 UTCEPSS rescore
  19. 2026-06-11 13:58 UTCEPSS rescore
  20. 2026-06-10 13:20 UTCEPSS rescore
  21. 2026-06-06 13:46 UTCEPSS rescore
  22. 2026-06-06 13:46 UTCEPSS rescore
  23. 2026-06-05 22:45 UTCEPSS rescore
  24. 2026-06-05 22:45 UTCEPSS rescore
  25. 2026-06-04 13:11 UTCEPSS rescore
Show 14 more
  1. 2026-06-04 13:11 UTCEPSS rescore
  2. 2026-06-01 13:50 UTCEPSS rescore
  3. 2026-06-01 13:50 UTCEPSS rescore
  4. 2026-05-31 00:15 UTCEPSS rescore
  5. 2026-05-31 00:15 UTCEPSS rescore
  6. 2026-05-29 13:43 UTCEPSS rescore
  7. 2026-05-29 13:42 UTCEPSS rescore
  8. 2026-05-28 13:43 UTCEPSS rescore
  9. 2026-05-28 13:43 UTCEPSS rescore
  10. 2026-05-28 13:43 UTCEPSS rescore
  11. 2026-05-27 13:39 UTCEPSS rescore
  12. 2026-05-27 13:39 UTCEPSS rescore
  13. 2026-05-25 22:06 UTCEG score recompute
  14. 2026-05-24 16:51 UTCEPSS rescore

Publicly available exploits

(3 references)

Working exploit code is in the public domain (1 Metasploit module) (1 GitHub PoC) (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.

  • Exploit-DBEDB-51009✓ verified
    First seen Sep 15, 2022

    Gitea 1.16.6 - Remote Code Execution (RCE) (Metasploit)

    Open source ↗
  • GitHub PoCwuhan005/CVE-2022-30781
    First seen May 22, 2022

    🍵 Gitea repository migration remote command execution exploit.

    Open source ↗
  • Metasploitexploit/multi/http/gitea_git_fetch_rce✓ verified
    First seen May 16, 2022

    Gitea Git Fetch Remote Code Execution

    Open source ↗

Frequently asked(5)

What is CVE-2022-30781?
CVE-2022-30781 is a high vulnerability published on May 16, 2022. Gitea before 1.16.7 does not escape git fetch remote.
When was CVE-2022-30781 disclosed?
CVE-2022-30781 was first published in the National Vulnerability Database on May 16, 2022, with the most recent update on November 21, 2024. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2022-30781 actively exploited?
CVE-2022-30781 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 99.7% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2022-30781?
CVE-2022-30781 has a CVSS v3 base score of 7.5 (NVD).
How do I remediate CVE-2022-30781?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2022-30781, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-30781

Explore →

Is Your Infrastructure Affected by CVE-2022-30781?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.