gh-ost is a triggerless online schema migration solution for MySQL. Versions prior to 1.1.3 are subject to an…
Historical advisory recorded 24 Oct 2026 19:17:43 UTC. Read the latest advisory.
nvd · CVE-2022-21687
Publishedgh-ost is a triggerless online schema migration solution for MySQL. Versions prior to 1.1.3 are subject to an arbitrary file read vulnerability. The attacker must have access to the target host or trick an administrator into executing a malicious gh-ost command on a host running gh-ost, plus network access from host running gh-ost to the attack's malicious MySQL server. The `-database` parameter does not properly sanitize user input which can lead to arbitrary file reads.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2022-21687
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-20
Original publisher date fields
published: 2022-02-01T12:15:08.200
lastModified: 2026-06-17T04:26:45.853
1 source CPE criteria · context only
- cpe:2.3:a:github:gh-ost:*:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON