Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
6.3

CVE-2026-48946: K2 Joomla extension lets author run malicious code

CVE-2026-48946 · published 4 months ago
Summary

The K2 add‑on for Joomla lets a site author upload files that end with .php. Because the web server treats those files as executable, an attacker could place a script and have it run on the server, gaining the same rights as the website. Update the extension to the latest version or remove the ability for authors to upload .php files.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
getk2.org k2 extension for joomla 1.0-2.26
joomlaworks k2 <= 2.26
cpe:2.3:a:joomlaworks:k2:*:*:*:*:*:joomla\!:*:*
Original advisory text
Joomla Extension - getk2.org - Privileged RCE vulnerability in K2 extension for Joomla < 2.26
The K2 frontend article-attachment upload path accepts files whose extension is `.php`, and Apache's standard mod_php matches `\.php$` and executes them under the K2 web user. A K2 Author can upload a `shell.php`, then fetch `/media/k2/attachments/shell.php` and execute arbitrary PHP code in the web server's context.
References
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker full control
Severity
6.3 Medium
Exploitation
<1% chance of attack within 30 days
Type
CWE-434Unrestricted File Upload
Timeline
Published25 Jun 2026
Updated4 Nov 2026
First seen25 Jun 2026
Sources
CVE-2026-48946 · MITRE
Track software like this
Free during beta