{
  "id": "CVE-2026-56705",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-56705",
  "published_at": "2026-08-25T01:30:03.759Z",
  "title": "Adminer before 5.4.3 Remote Code Execution via MSSQL PDO DSN Injection",
  "vendor": "vrana",
  "product": "adminer",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-08-25T20:59:55Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 0.8,
    "repo": "Boreas37/CVE-2026-56705",
    "source": "github"
  },
  "poc_repo_count": 2,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Adminer before 5.4.3 fails to sanitize the server field before constructing a PDO DSN string, allowing unauthenticated attackers to inject ODBC parameters via semicolons. Attackers can inject TraceFile and TraceOn parameters to write PHP code to the web root, achieving remote code execution when the trace file is accessed.",
  "cwe": "CWE-73",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [
    {
      "repo": "Boreas37/CVE-2026-56705",
      "url": "https://github.com/Boreas37/CVE-2026-56705",
      "created_at": "2026-08-25T20:59:55Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-10-15T11:10:18Z"
    },
    {
      "repo": "ChiefYoru/Exploit-CVE-2026-56705",
      "url": "https://github.com/ChiefYoru/Exploit-CVE-2026-56705",
      "created_at": "2026-08-26T05:08:55Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-08-07T06:13:36Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "vrana",
        "product": "adminer",
        "ranges": [
          "\u003c 5.4.3"
        ],
        "fixed_in": [
          "5.4.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade adminer to 5.4.3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/vrana/adminer/security/advisories/GHSA-r4x9-5m63-3vxw"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/adminer.php",
      "query_markers": [
        "mssql=",
        "username=\u003c?php echo \"RCE\".\"56705\".\"OK\";?\u003e"
      ],
      "headers": [
        {
          "name": "Cookie",
          "value": "adminer_sid={var}"
        }
      ],
      "ports": [
        8081
      ],
      "protocol": "http",
      "repos": [
        "Boreas37/CVE-2026-56705"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "Boreas37/CVE-2026-56705/CVE-2026-56705.yaml:57"
      ]
    },
    {
      "method": "GET",
      "path_template": "/pwn56705.php",
      "ports": [
        8081
      ],
      "protocol": "http",
      "repos": [
        "Boreas37/CVE-2026-56705"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "Boreas37/CVE-2026-56705/CVE-2026-56705.yaml:62"
      ]
    },
    {
      "method": "POST",
      "path_template": "/adminer.php",
      "body_markers": [
        "auth[driver]=mssql",
        "auth[server]=",
        "auth[username]=\u003c?php echo \"RCE\".\"56705\".\"OK\";?\u003e",
        "auth[password]=x"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        8081
      ],
      "protocol": "http",
      "repos": [
        "Boreas37/CVE-2026-56705"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "Boreas37/CVE-2026-56705/CVE-2026-56705.yaml:51"
      ]
    },
    {
      "method": "GET",
      "path_template": "/{var}",
      "query_markers": [
        "c="
      ],
      "ports": [
        8081
      ],
      "protocol": "http",
      "repos": [
        "Boreas37/CVE-2026-56705"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Boreas37/CVE-2026-56705/poc.py:105"
      ]
    }
  ],
  "rules": []
}
