Security advisory
An issue was discovered in phpMyAdmin before 4.8.5. When the AllowArbitraryServer configuration setting is set to true, with the use of a rogue MySQL server, an attacker can read any file on the server that the web server's user can access. This is related to the mysql.allow_local_infile PHP configuration, and the inadvertent ignoring of "options(MYSQLI_OPT_LOCAL_INFILE" calls.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-6799
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:51 UTC · Revision 1
Source evidence
An issue was discovered in phpMyAdmin before 4.8.5. When the AllowArbitraryServer configuration setting is set to true, with the use of a rogue MySQL server, an attacker can read any file on the server that the web server's user can access. This is related to the mysql.allow_local_infile PHP configuration, and the inadvertent ignoring of "options(MYSQLI_OPT_LOCAL_INFILE" calls.
osv:CVE-2019-6799
Complete source record
{
"id": "ba4d49cc69f88a043b56013fd54da6b5867ebfb7dd048c111d130fc29eb229ca",
"url": "https://osv.dev/vulnerability/CVE-2019-6799",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-6799",
"summary": "An issue was discovered in phpMyAdmin before 4.8.5. When the AllowArbitraryServer configuration setting is set to true, with the use of a rogue MySQL server, an attacker can read any file on the server that the web server's user can access. This is related to the mysql.allow_local_infile PHP configuration, and the inadvertent ignoring of \"options(MYSQLI_OPT_LOCAL_INFILE\" calls.",
"evidence": "osv:CVE-2019-6799",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2019-6799",
"aliases": [
"CVE-2019-6799",
"GHSA-c8wj-q36q-3wg4"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/phpmyadmin/phpmyadmin",
"type": "GIT",
"events": [
{
"introduced": "6da64cc3b2ba4439574f914f51e161645375be96"
},
{
"last_affected": "56ba19808f020fa8ac63366d450c3928564a91b8"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:phpmyadmin:phpmyadmin:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0.0"
},
{
"last_affected": "4.8.4"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-6799.json"
}
}
],
"modified": "2026-10-24T10:30:45.547190783Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2019/02/msg00039.html",
"https://www.phpmyadmin.net/security/PMASA-2019-1/"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2019-6799",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 436141,
"published_at": "2019-01-26T17:29:00.45+00:00"
}