Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-48842 — Python checker for CVE-2026-48842, a pre-auth SQL injection in Roundcube Webmail's virtuser_query plugin. Detects version, plugin path, and verifies SQLi via login probe. | Kitploit
Tools/GitHubGitHub/murrez/cve-2026-48842
ReconnaissanceVulnerability ScannersExploitationWeb Application ExploitationInformation GatheringWeb SecurityPenetration Testing
GitHubmurrez/cve-2026-48842

CVE-2026-48842

Python checker for CVE-2026-48842, a pre-auth SQL injection in Roundcube Webmail's virtuser_query plugin. Detects version, plugin path, and verifies SQLi via login probe.

View Repository
610h 24m agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-48842 — Roundcube virtuser_query pre-auth SQLi

Python 3 checker for CVE-2026-48842 in Roundcube Webmail (optional virtuser_query plugin).

PoCbit

This PoC is listed on PoCbit — CVE-2026-48842 on pocbit.org.

Running the PoC prints a PoCbit header; JSONL lines include pocbit / pocbit_page.

ProductRoundcube Webmail
ComponentBuilt-in plugin virtuser_query (DB user/email/host lookup)
Affected1.6.x < 1.6.16, 1.7.x < 1.7.1 (older 1.4/1.5 lines may also be affected if plugin enabled — patch per distro)
Fixed1.6.16, 1.7.1
CVSS 3.18.1 High (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)
CWECWE-89
AuthNone (login / lookup path)

Summary

When virtuser_query is configured ($config['virtuser_query'] in config.inc.php), usernames or emails are substituted into SQL templates via preg_replace('/%u/', $dbh->escape(...), ...). PHP interprets backslashes in the replacement string, undoing SQL escaping — pre-auth SQL injection (fix: use str_replace).

Advisory: Roundcube security updates 2026-05-24

Requirements

root@kitploit:~
pip install -r requirements.txt

Usage

root@kitploit:~
# Detect Roundcube + version + virtuser plugin file
python poc.py -u https://webmail.example.com --json

# Active SQLi probe (SLEEP / error heuristics on login POST)
python poc.py -u https://webmail.example.com --verify

python poc.py --list targets.example.txt --threads 20 --quiet
python poc.py --list targets.example.txt --verify --sqli-delay 5

Notes

  • Exploitability requires virtuser_query enabled on the server (not default on all installs). PoC flags plugin PHP path when reachable.
  • --verify sends crafted _user values to ?_task=login (no valid password needed for injection attempt).
  • Mitigation: upgrade to ≥ 1.6.16 / 1.7.1, or remove virtuser_query from $config['plugins'].

FOFA / discovery hints

root@kitploit:~
body="rcmail" && body="roundcube"
title="Roundcube Webmail"

Legal

Authorized testing only.

Download Tool