vBulletin2Shell needs no account and no second request. A single POST from a logged-out visitor makes the server run arbitrary operating-system commands. Security researcher Duarte Santos named the flaw, VulnCheck published the record as CVE-2026-137330 on December 2, 2026, and a working proof of concept is already public. The target is self-hosted vBulletin forums in the 6.2 line that have not been updated to the matching patch level.
The severity leaves little room for debate. Santos rates it 9.8 on CVSS 3.1; VulnCheck scores it 9.3 on CVSS 4.0. Both land in critical territory. If you run a public forum, the right way to finish this article is by checking your own version number.
What vBulletin2Shell really is
At the root sits a PHP object injection, catalogued as CWE-502. This class of bug appears when attacker-supplied data flows unchecked into PHP’s unserialize() function. unserialize() turns a string back into PHP objects. With no class restriction, an attacker can instantiate objects of any class the project ships and trigger their magic methods, such as __destruct() or __toString(). Chained together, those methods form a gadget chain that ends in a dangerous function call.
In vBulletin the vulnerable call lives in includes/vb5/template/bbcode.php. The path there starts innocently: logged-out visitors can render almost any template through the /ajax/render/contententry_editor endpoint, and the POST fields they send become template variables. The BBCode tag [ATTACH=CONFIG]n1[/ATTACH] tells the parser to read the settings of a fake attachment. That field goes straight into unserialize() with no allowed-classes limit. Here is the request as documented in Duarte Santos’ write-up:
curl -s https://forum.example.com/ajax/render/contententry_editor \
-H 'X-Requested-With: XMLHttpRequest' \
--data 'editPost=1' \
--data-urlencode 'conversation[rawtext]=[ATTACH=CONFIG]n1[/ATTACH]' \
--data 'conversation[attachments][0][nodeid]=1' \
--data-urlencode 'conversation[attachments][0][settings]=<serialized object>'
The real payload hides in that final settings field: a serialized two-object array. The first object, vB_Mail_Transport_PhpMailer_Smtp, forces the autoloader to load the bundled Guzzle library. The second object starts the chain through GuzzleHttp\Cookie\FileCookieJar::__destruct(), on to PumpStream::__toString(), and finally to HandlerStack::resolve(). That method applies an attacker-chosen list of functions to a string and lands on shell_exec("id").
How the command output comes back
The response trick is as clever as it is nasty. The chain ends by calling constant(base64_encode(shell_exec("id"))), handing the base64-encoded command output to PHP as the name of a constant. Since that constant does not exist, PHP raises an error whose message contains the encoded name, and the message surfaces in the JSON response. The attacker reads the output of the command straight from the server’s answer, with no file to write and no second connection to open.
The commands run as the web server user, usually www-data. That is not root, but it is enough to read the forum’s configuration file. The file holds the database credentials, and with those an attacker reaches private messages, email addresses, and password hashes. The pattern echoes the GeoServer chain from late November, which also reached code execution without a login, and the legacy .NET CSRF library, where deserialization again opened the door.
Reproducing the flaw in a lab
I did not attack a live server. Instead I rebuilt the heart of the problem on an isolated test VM to show why the patch works. All it takes is a class with a __destruct() method that runs a callback, plus a serialized object as the payload:
O:11:"CacheWriter":2:{s:8:"callback";s:6:"marker";s:3:"arg";s:2:"id";}
The difference between the vulnerable and the fixed call is the whole story. Without a class restriction, the gadget fires the moment the object is cleaned up. With allowed_classes => false, PHP only builds an inert __PHP_Incomplete_Class object, and no magic method runs:
$o = unserialize($payload); // gadget fires on cleanup
unset($o); // [GADGET FIRED] marker(id)
$o2 = unserialize($payload, ['allowed_classes' => false]);
echo get_class($o2); // __PHP_Incomplete_Class, nothing runs
The run confirms both outcomes: the callback executes in the first case and not in the second. That is exactly what the vBulletin patch does. It makes the affected unserialize() call stop rebuilding objects at all, so the gadget chain has nothing left to grab, even though the Guzzle classes still sit in the codebase.
Affected versions and what to do
According to the VulnCheck advisory, every release below 6.2.2 Patch Level 1 is affected, along with 6.2.3 before Patch Level 1 and 6.2.4 before Patch Level 1. The fixed builds are 6.2.4 Patch Level 1, 6.2.3 Patch Level 1, and 6.2.2 Patch Level 1. The timeline is worth a pause: vBulletin shipped the patches on November 19, 2026, in a deliberately vague note about “security issues in the search and private messaging APIs.” The technical detail only arrived with Santos’ write-up in early December. Anyone who shrugged off the November note now faces a publicly documented bug with a ready-made PoC.
The steps are straightforward. On 6.2.4, 6.2.3, or 6.2.2, apply the matching patch level from the members area; on anything older, move straight to 6.2.4 Patch Level 1. Your current version shows up in the generator tag in the home page source, though without the patch level. If you cannot patch at once, block POST requests to /ajax/render/contententry_editor at your WAF and also block the routestring=ajax/render/contententry_editor parameter in both the query string and the body, because vBulletin accepts the endpoint that way too. vBulletin Cloud is already patched automatically and needs no manual work.
As of December 3, watchTowr and The Hacker News reported no exploitation in the wild, and the flaw is not in CISA’s Known Exploited Vulnerabilities catalog. With a public PoC in circulation, treat that as a snapshot rather than an all-clear. If you run a public vBulletin forum, check your patch level today and comb your logs for POST hits on that endpoint. The same scrutiny pays off wherever no PHP update has landed since the autumn, the kind of environment covered in the fixes around PHP 8.6. For the full detail, read Duarte Santos’ write-up, the VulnCheck advisory, and the NVD record for CVE-2026-137330.



