
Advisory and technical analysis of CVE-2026-56291, an unauthenticated arbitrary file upload to RCE in Balbooa Forms for Joomla, with exploitation details and patch guidance.
CVE-2026-56291 — Unauthenticated Arbitrary File Upload to RCE in Balbooa Forms (Joomla)
Affected versions: Balbooa Forms ≤ 2.4.0. Fixed in 2.4.1 (released July 9, 2026).
Vulnerability type: CWE-434, unauthenticated arbitrary file upload leading to RCE. CVSS v3.1 = 9.8, v4.0 = 10.0, Critical.
Root cause: The frontend attachment upload handler FormModel::uploadAttachmentFile was fully exposed to anonymous visitors — no authentication, no CSRF token, no file extension allowlist. The extension was taken directly from the attacker-controlled filename, and Joomla's File::makeSafe() does not strip .php. Files landed in images/baforms/uploads/, which is web-accessible and executable.
Exploitation: A single POST to index.php?option=com_baforms&task=form.uploadAttachmentFile uploads a .php webshell, then requesting the file executes commands. No account, session, or precondition required.
CISA KEV: Added July 10, 2026, with a July 13 deadline for federal agencies. Confirmed active exploitation as a zero-day before the patch existed.
Fix: Upgrade to 2.4.1. The patch hardens four layers: server-side extension allowlist, MIME validation, server-generated filenames, and CSRF token enforcement.
Post-patch audit required: Check for stray .php files in images/baforms/uploads/, audit access logs for POST requests to the upload endpoint, and look for unrecognized administrator accounts.