{
  "id": "CVE-2026-86583",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-86583",
  "published_at": "2026-09-23T21:27:34.729Z",
  "title": "Import and export users and customers \u003c= 2.4.17 - Authenticated (Subscriber+) Privilege Escalation via CSV Escape-Character Mismatch in Export/Import Round Trip via display_name and nickname Profile Fields",
  "vendor": "carazo",
  "product": "Import and export users and customers",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/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-11-04T18:10:33Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 41.9,
    "repo": "saretawa/CVE-2026-86583",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "The Import and export users and customers plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 2.4.17 via the plugin's own export and re-import workflow. The vulnerability exists because the exporter writes CSV cells using fputcsv() with a NUL byte (\\0) as the escape character, while the importer parses the same file using SplFileObject::fgetcsv() with only a single delimiter argument, causing PHP's default backslash escape character to be applied instead; because the export column layout places display_name immediately before the role column and nickname immediately after, an attacker can store crafted values in those two profile fields — saved by WordPress core via the standard profile page — such that the escape mismatch causes the parser to merge the display_name cell into the role field and rebalance the column count via nickname, yielding administrator as the parsed role for their own row when it reaches the import_user function's add_role function. This makes it possible for authenticated attackers with Subscriber-level access or above to escalate their privileges to Administrator. Exploitation requires a site administrator to trigger the plugin's documented export re-import migration with both \"Update existing users\" and \"Update roles for existing users\" set to \"yes\".",
  "cwe": "CWE-266",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [
    {
      "repo": "saretawa/CVE-2026-86583",
      "url": "https://github.com/saretawa/CVE-2026-86583",
      "created_at": "2026-11-04T18:10:33Z",
      "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": "2020-07-15T10:10:08Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "carazo",
        "product": "Import and export users and customers",
        "ranges": [
          "\u003c= 2.4.17"
        ],
        "fixed_in": null
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/wp-admin/profile.php",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "saretawa/CVE-2026-86583"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "saretawa/CVE-2026-86583/exploit.py:36",
        "saretawa/CVE-2026-86583/exploit.py:93"
      ]
    },
    {
      "method": "POST",
      "path_template": "/wp-admin/profile.php",
      "body_markers": [
        "_wpnonce=",
        "_wp_http_referer=/wp-admin/profile.php",
        "action=update",
        "user_id=",
        "email=",
        "first_name=hack,y\\",
        "last_name=",
        "nickname=,administrator,x",
        "display_name=",
        "url=",
        "description=",
        "pass1=",
        "pass2=",
        "color-nonce=",
        "admin_color=fresh",
        "admin_bar_front=1",
        "locale="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "saretawa/CVE-2026-86583"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "saretawa/CVE-2026-86583/exploit.py:51"
      ]
    },
    {
      "method": "POST",
      "path_template": "/wp-login.php",
      "headers": [
        {
          "name": "Cookie",
          "value": "wordpress_test_cookie=WP Cookie check"
        }
      ],
      "body_markers": [
        "log=",
        "pwd=",
        "wp-submit=Log In",
        "redirect_to=",
        "testcookie=1"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "saretawa/CVE-2026-86583"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "saretawa/CVE-2026-86583/exploit.py:19"
      ]
    }
  ],
  "rules": []
}
