CVE-2022-31011: TiDB authentication bypass vulnerability
Telemetry drift only. No threshold crossed and no authority ruling changed.
CVE record, CISA KEV and EPSS as of 2026-12-06.
CVEs like this one computed, by meaning
What to do now held facts and links
- No fix version is held. The CNA's first reference is the place to look: github.com
- Record your decision, dated and frozen with today's evidence: patch by a date · mitigated by a compensating control · deferred · accepted the risk · not affected
- Check your version against the ranges this record publishes.
What it is stated by the CNA
TiDB is an open-source NewSQL database that supports Hybrid Transactional and Analytical Processing (HTAP) workloads. Under certain conditions, an attacker can construct malicious authentication requests to bypass the authentication process, resulting in privilege escalation or unauthorized access. Only users using TiDB 5.3.0 are affected by this vulnerability. TiDB version 5.3.1 contains a patch for this issue. Other mitigation strategies include turning off Security Enhanced Mode (SEM), disabling local login for non-root accounts, and ensuring that the same IP cannot be logged in as root and normal user at the same time.
- weakness
- CWE-287: Improper Authentication
- affected
- pingcap tidb
- published ranges
- pingcap tidb 5.3.0
- fixed in
- No fix version in held sources.
- fixed by package (from OSV advisories)
- github.com/pingcap/tidb (Go): 0.0.0-20220221072141-27ffd1126da1; 1.1.0-beta.0.20220221072141-27ffd1126da1; 5.3.1 GHSA-4whx-7p29-mq22
- later fixes (from OSV advisories)
- github.com/pingcap/tidb 0.0.0-20220221072141-27ffd1126da1 is inside a range CVE-2024-37820 (GHSA-9g6g-xqv5-8g5w) lists as affected. That advisory is fixed in 8.2.0.github.com/pingcap/tidb 1.1.0-beta.0.20220221072141-27ffd1126da1 is inside a range CVE-2024-37820 (GHSA-9g6g-xqv5-8g5w) lists as affected. That advisory is fixed in 8.2.0.github.com/pingcap/tidb 5.3.1 is inside a range CVE-2024-37820 (GHSA-9g6g-xqv5-8g5w) lists as affected. That advisory is fixed in 8.2.0.
- severity
- 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- assigned by
- GitHub_M
- published
- 2022-05-31
check us github.com github.com
Exploit code held, dated
- exploit code
- None held in the PoC-in-GitHub feed. A public repository changes this brief.
What moved held, dated
| date | EPSS | event |
|---|---|---|
| 1 Jun 2022 | 0.00885 | |
| 7 Mar 2023 | 0.00043 | scoring model v2023.03.01 |
| 8 Mar 2023 | 0.00043 | |
| 22 Dec 2023 | 0.00044 | |
| 17 Mar 2025 | 0.0001 | scoring model v2025.03.14 |
| 2 Jun 2025 | 0.00012 | |
| 7 Jun 2025 | 0.00037 | |
| 8 Jun 2025 | 0.00069 | |
| 11 Jun 2025 | 0.00072 | |
| 15 Jun 2026 | 0.00311 | scoring model v2026.06.15 |
| 29 Sep 2026 | 0.00318 | |
| 20 Oct 2026 | 0.00323 | |
| 28 Nov 2026 | 0.00377 | |
| 1 Dec 2026 | 0.00323 |
14 observations held. A step marked with a scoring model moved because the measurement was replaced, not because the vulnerability changed.
Outside the record model-written, researched, cited
This section reads the record's references and adds cited findings from outside it. It needs an account. Everything above is held facts and is complete without it.
Get started with CVE-2022-31011 (20s setup) Triage in Vesper (no login) · Sign in to add the researched section
What would change this brief held, dated
- CISA KEV
- Not listed in the catalogue we hold. A listing changes this brief.
- exploit probability
- 0.00 on 2026-12-01 (FIRST's EPSS, a probability and not evidence of exploitation). Next band line: 10% (0.10). Crossing a line changes this brief.
- fix
- No fix version is held. One published by the CNA or OSV changes this brief.
How to check this
Every value above is held with two dates: when it was true upstream (as_of) and when we recorded it (tx_from). Re-derive the exploit probability as it stood on any date:
SELECT value, source, source_version, as_of, tx_from
FROM volatile_valid_as_of('CVE-2022-31011', '2026-12-06T23:59:59.999999Z', now());