CVE-2026-48946: CWE-434 Unrestricted Upload of File with Dangerous Type in getk2.org K2 extension for Joomla
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.
AI Analysis
Technical Summary
CVE-2026-48946 is an unrestricted file upload vulnerability (CWE-434) in the K2 extension for Joomla. The frontend article-attachment upload path does not restrict file extensions, allowing files with .php extensions to be uploaded. Since Apache's mod_php executes files matching ".php", an attacker with K2 Author privileges can upload a PHP web shell and execute arbitrary code in the context of the web server user by accessing the uploaded file. This vulnerability affects versions 1.0 through 2.26 of the K2 extension.
Potential Impact
An attacker with K2 Author privileges can upload and execute arbitrary PHP code on the web server, potentially leading to code execution, data compromise, or server takeover. The impact includes loss of confidentiality, integrity, and availability of the affected system. However, exploitation requires authenticated author-level access.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict K2 Author privileges to trusted users only and consider disabling or restricting file uploads in the K2 extension. Monitor for suspicious uploaded files and remove any unauthorized .php files from the attachments directory.
CVE-2026-48946: CWE-434 Unrestricted Upload of File with Dangerous Type in getk2.org K2 extension for Joomla
Description
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.
CVSS v3.1
Score 6.3medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-48946 is an unrestricted file upload vulnerability (CWE-434) in the K2 extension for Joomla. The frontend article-attachment upload path does not restrict file extensions, allowing files with .php extensions to be uploaded. Since Apache's mod_php executes files matching ".php", an attacker with K2 Author privileges can upload a PHP web shell and execute arbitrary code in the context of the web server user by accessing the uploaded file. This vulnerability affects versions 1.0 through 2.26 of the K2 extension.
Potential Impact
An attacker with K2 Author privileges can upload and execute arbitrary PHP code on the web server, potentially leading to code execution, data compromise, or server takeover. The impact includes loss of confidentiality, integrity, and availability of the affected system. However, exploitation requires authenticated author-level access.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict K2 Author privileges to trusted users only and consider disabling or restricting file uploads in the K2 extension. Monitor for suspicious uploaded files and remove any unauthorized .php files from the attachments directory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Joomla
- Date Reserved
- 2026-05-26T16:47:13.550Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3d4d4b4853345fc124a309
Added to database: 06/25/2026, 15:46:19 UTC
Last enriched: 07/02/2026, 22:31:27 UTC
Last updated: 08/09/2026, 02:43:25 UTC
Views: 182
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.