Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2022-21687

23
FAUCET Score

CVE-2022-21687 is an arbitrary file read vulnerability affecting gh-ost versions prior to 1.1.3, an online schema migration tool for MySQL. The vulnerability stems from improper sanitization of user input in the -database parameter, allowing an attacker to read arbitrary files. Exploitation requires either direct access to the target host or tricking an administrator into executing a malicious gh-ost command, along with network access to a malicious MySQL server. This vulnerability has a CVSS score of 6.5 (Medium) and is not known to be actively exploited, with no public exploit code or significant community discussion.

Impacted Technologies

VendorProductVersion(s)CPE
< 1.1.3CPE matchmatch criteria
cpe:2.3:a:github:gh-ost:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

6.8MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
HIGH
Integrity Impact
NONE
Availability Impact
NONE
Exploitability Score
2.3
Impact Score
4.0
CvssVersion
3.1

Exploit Intelligence

EPSS Score
1.00%
Probability of exploitation in next 30 days
EPSS Percentile
59.3%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0100 is in the 72nd percentile among its peer group of 26,221 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

github_advisorypatch availablevia nvd_reference
View patch
gopatch availablevia ghsa
Product: github.com/github/gh-ostFixed in: 1.1.3

Vendor Advisories (1)

goGHSA-rrp4-2xx3-mv29medium

Command injection in gh-ost

Feb 1, 2022

References

github.com / github/gh-ost/commit/a91ab042de013cfd8fbb633763438932d9080d8f
PatchThird Party Advisory
github.com / github/gh-ost/security/advisories/GHSA-rrp4-2xx3-mv29
Third Party Advisory