Skip to content
Heist/ feed
Back to feed
Medium

adminer — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-100695

Adminer before 6.0.2 contains a cross-site scripting vulnerability where the CONNECTION_ID() database result is interpolated into JavaScript without proper escaping, allowing a malicious database server to execute arbitrary JavaScript in the authenticated Adminer origin. In co-located deployments where the database has FILE privileges and can write to the webroot, attackers can use the XSS to submit authenticated SQL requests that write PHP files via INTO DUMPFILE, achieving remote code execution as the web server account.

Products
adminer
Affected versions
4.2.1-1, 4.2.1-1ubuntu1, 4.2.1-1ubuntu1+esm1, 4.3.1-2, 4.5.0-1, 4.6.1-1, 4.6.2-1, 4.6.2-1ubuntu0.1~esm1, 4.7.2-1, 4.7.4-1, 4.7.5-1, 4.7.6-1, 4.7.6-1ubuntu0.1~esm1, 4.7.9-2, 4.8.1-1, 4.8.1-1ubuntu1, 4.8.1-2, 5.2.1+dfsg-1, 5.3.0+dfsg-1, 5.4.0+dfsg-1, 5.4.1+dfsg-1, 5.4.2+dfsg-1, 5.4.4+dfsg-1, 6.0.0-1
Fixed versions
Not specified
CVEs
CVE-2026-100695
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:56 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-100695

core-osv · Original source

Published 26 Sept 2026, 14:16 UTC

Adminer before 6.0.2 contains a cross-site scripting vulnerability where the CONNECTION_ID() database result is interpolated into JavaScript without proper escaping, allowing a malicious database server to execute arbitrary JavaScript in the authenticated Adminer origin. In co-located deployments where the database has FILE privileges and can write to the webroot, attackers can use the XSS to submit authenticated SQL requests that write PHP files via INTO DUMPFILE, achieving remote code execution as the web server account.

osv:UBUNTU-CVE-2026-100695

adminer

Fixed versions: Not specified

adminer

Fixed versions: Not specified

adminer

Fixed versions: Not specified

adminer

Fixed versions: Not specified

adminer

Fixed versions: Not specified

adminer

Fixed versions: Not specified

adminer

Fixed versions: Not specified

Complete source record
{
  "id": "1359efc3c6b3f51882b8dd4901e6cccd8af1e64623e7435aac42d390a6ffa9ad",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-100695",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-100695",
    "summary": "Adminer before 6.0.2 contains a cross-site scripting vulnerability where the CONNECTION_ID() database result is interpolated into JavaScript without proper escaping, allowing a malicious database server to execute arbitrary JavaScript in the authenticated Adminer origin. In co-located deployments where the database has FILE privileges and can write to the webroot, attackers can use the XSS to submit authenticated SQL requests that write PHP files via INTO DUMPFILE, achieving remote code execution as the web server account.",
    "evidence": "osv:UBUNTU-CVE-2026-100695",
    "products": [
      {
        "name": {
          "value": "adminer",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.2.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.2.1-1ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.2.1-1ubuntu1+esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "adminer",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.3.1-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.5.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.6.1-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.6.2-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.6.2-1ubuntu0.1~esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "adminer",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.7.2-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.7.4-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.7.5-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.7.6-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.7.6-1ubuntu0.1~esm1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "adminer",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.7.9-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4.8.1-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "adminer",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.8.1-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4.8.1-1ubuntu1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4.8.1-2",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "adminer",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.4.1+dfsg-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "5.4.2+dfsg-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "5.4.4+dfsg-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "6.0.0-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "adminer",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.2.1+dfsg-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "5.3.0+dfsg-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "5.4.0+dfsg-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "5.4.1+dfsg-1",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-100695",
      "aliases": [
        "UBUNTU-CVE-2026-100695"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        },
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "adminer",
            "purl": "pkg:deb/ubuntu/adminer?arch=source&distro=esm-apps%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "4.2.1-1",
            "4.2.1-1ubuntu1",
            "4.2.1-1ubuntu1+esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-100695.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "adminer",
                "binary_version": "4.2.1-1ubuntu1+esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "adminer",
            "purl": "pkg:deb/ubuntu/adminer?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "4.3.1-2",
            "4.5.0-1",
            "4.6.1-1",
            "4.6.2-1",
            "4.6.2-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-100695.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "adminer",
                "binary_version": "4.6.2-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "adminer",
            "purl": "pkg:deb/ubuntu/adminer?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "4.7.2-1",
            "4.7.4-1",
            "4.7.5-1",
            "4.7.6-1",
            "4.7.6-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-100695.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "adminer",
                "binary_version": "4.7.6-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "adminer",
            "purl": "pkg:deb/ubuntu/adminer?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "4.7.9-2",
            "4.8.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-100695.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "adminer",
                "binary_version": "4.8.1-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "adminer",
            "purl": "pkg:deb/ubuntu/adminer?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "4.8.1-1",
            "4.8.1-1ubuntu1",
            "4.8.1-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-100695.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "adminer",
                "binary_version": "4.8.1-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "adminer",
            "purl": "pkg:deb/ubuntu/adminer?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "5.4.1+dfsg-1",
            "5.4.2+dfsg-1",
            "5.4.4+dfsg-1",
            "6.0.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-100695.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "adminer",
                "binary_version": "6.0.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "adminer",
            "purl": "pkg:deb/ubuntu/adminer?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "5.2.1+dfsg-1",
            "5.3.0+dfsg-1",
            "5.4.0+dfsg-1",
            "5.4.1+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-100695.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "adminer",
                "binary_version": "5.4.1+dfsg-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:57:52.993024872Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-100695"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-100695",
        "https://www.cve.org/CVERecord?id=CVE-2026-100695",
        "https://github.com/vrana/adminer/security/advisories/GHSA-7c5h-q78c-fpxx",
        "https://www.vulncheck.com/advisories/adminer-before-6.0.2-xss-via-connection-id-escalating-to-rce"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-100695",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 357713,
  "published_at": "2026-09-26T14:16:00+00:00"
}