CVE-2019-19576: RCE via .phar upload in verot/class.upload.php
- Vendors
- Getk2JoomlaworksVerot Project
CVE-2019-19576 affects class.upload.php in verot.net class.upload before 1.0.3 and 2.x before 2.0.4. The library’s dangerous-extension filtering omitted the .phar extension, allowing an attacker to upload a PHAR file where the application relied on class.upload.php to block executable or otherwise unsafe file types. In products that used this library for upload handling, including the K2 extension for Joomla! and other software, this could permit a malicious .phar payload to be accepted and subsequently processed or exposed in a way that leads to code execution.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
If a reachable upload workflow uses the vulnerable library and the uploaded .phar file can be stored in a web-accessible or otherwise executable/processable location, an attacker may achieve remote code execution. At minimum, the flaw bypasses intended upload restrictions for dangerous file types; in affected deployments this can result in full compromise of the web application context.
Mitigation
If you can’t patch tonight, do this now.
Until patched, disable or tightly restrict file-upload functionality that relies on the vulnerable library. Enforce strict server-side allowlisting of permitted extensions and MIME types, explicitly block .phar uploads, store uploads outside the web root, and prevent execution or interpreter handling of uploaded content in upload directories. Where possible, harden web-server configuration so uploaded files cannot be executed.
Remediation
Patch, then assume compromise.
Upgrade verot/class.upload.php to 1.0.3 or later on the 1.x branch, or 2.0.4 or later on the 2.x branch. Also review dependent products such as Joomla! extensions that bundle or vendor this library to ensure the embedded copy is updated. Validate that upload allowlists explicitly reject .phar and other executable/script-capable formats as appropriate for the application.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2019-19576 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2019-19576 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2019-19576?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2019-19576.
- Is there a patch for CVE-2019-19576?
- Upgrade verot/class.upload.php to 1.0.3 or later on the 1.x branch, or 2.0.4 or later on the 2.x branch. Also review dependent products such as Joomla! extensions that bundle or vendor this library to ensure the embedded copy is updated.
- What products are affected by CVE-2019-19576?
- Getk2 K2, Joomlaworks K2, and Verot Project Verot.
- How severe is CVE-2019-19576?
- CVE-2019-19576 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 26.8% (98th percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.