---
id: "CVE-2026-119429"
kind: "vulnerability"
aliases: ["CVE-2026-119429"]
title: "phpMyAdmin: hijacked session can strip two-factor authentication"
severity: "medium"
cvss: 5.3
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["mysql", "phpmyadmin", "runtime", "self-hosted"]
not_affected_if: ["no-2fa-configured", "session-protected"]
published_at: "2026-10-30T12:16:40+00:00"
first_seen_at: "2026-10-30T12:30:25+00:00"
updated_at: "2026-10-30T12:32:59+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-119429", "first_seen_at": "2026-10-30T12:30:25+00:00"}]
---

# phpMyAdmin: hijacked session can strip two-factor authentication

phpMyAdmin through 5.2.3 lets anyone holding an authenticated session remove two-factor authentication by posting to its config endpoint without re-authenticating. After that, logins need only the MySQL password.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed version: `phpMyAdmin` version shown on the login page or in `libraries/classes/Version.php` (or the package manager).
- Confirm whether two-factor authentication is enabled for phpMyAdmin accounts in the configuration.

## Fix

- Versions after `5.2.3` are implied as affected-range boundary; the sources do not state a fixed version.

## Timeline

- 2026-10-30T12:30:25+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-119429

## From the sources

phpMyAdmin through 5.2.3 contains a missing re-authentication vulnerability that allows authenticated attackers to remove two-factor authentication by posting the 2fa key to /config/set. Attackers holding a hijacked session can submit key=2fa with a null JSON value to SetConfigController, stripping 2FA so later logins require only the MySQL password.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
