CVE-2026-48945: CWE-434 Unrestricted Upload via archive extraction in getk2.org K2 extension for Joomla
The K2 article gallery upload path accepts a zip/tar archive, extracts it under `/media/k2/galleries/<id>/`, and only renames image files (gif/jpg/jpeg/png/webp) to safe names — non-image files (including `.php`) are extracted as-is and remain executable via direct HTTP access.
AI Analysis
Technical Summary
CVE-2026-48945 describes an unrestricted file upload vulnerability (CWE-434) in the K2 extension for Joomla. The extension's article gallery upload path accepts zip or tar archives and extracts their contents under `/media/k2/galleries/<id>/`. Only image files (gif, jpg, jpeg, png, webp) are renamed to safe filenames, but non-image files, including PHP scripts, are extracted without renaming or sanitization. These files remain executable and accessible via direct HTTP access, potentially allowing an attacker to upload and execute arbitrary code on the server. The affected versions are from 1.0 up to 2.26. No official patch or remediation guidance is currently available from the vendor.
Potential Impact
An attacker can upload archives containing malicious non-image files (e.g., PHP scripts) that are extracted and remain executable on the server. This could allow unauthorized code execution or other malicious actions via direct HTTP access to the uploaded files. The CVSS score of 5.3 reflects a medium impact primarily on confidentiality, with no direct impact on integrity or availability reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict or disable archive uploads in the K2 article gallery upload feature if possible. Monitor and control file upload permissions and web server execution rights in the `/media/k2/galleries/` directory to prevent execution of unauthorized files.
CVE-2026-48945: CWE-434 Unrestricted Upload via archive extraction in getk2.org K2 extension for Joomla
Description
The K2 article gallery upload path accepts a zip/tar archive, extracts it under `/media/k2/galleries/<id>/`, and only renames image files (gif/jpg/jpeg/png/webp) to safe names — non-image files (including `.php`) are extracted as-is and remain executable via direct HTTP access.
CVSS v3.1
Score 5.3medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-48945 describes an unrestricted file upload vulnerability (CWE-434) in the K2 extension for Joomla. The extension's article gallery upload path accepts zip or tar archives and extracts their contents under `/media/k2/galleries/<id>/`. Only image files (gif, jpg, jpeg, png, webp) are renamed to safe filenames, but non-image files, including PHP scripts, are extracted without renaming or sanitization. These files remain executable and accessible via direct HTTP access, potentially allowing an attacker to upload and execute arbitrary code on the server. The affected versions are from 1.0 up to 2.26. No official patch or remediation guidance is currently available from the vendor.
Potential Impact
An attacker can upload archives containing malicious non-image files (e.g., PHP scripts) that are extracted and remain executable on the server. This could allow unauthorized code execution or other malicious actions via direct HTTP access to the uploaded files. The CVSS score of 5.3 reflects a medium impact primarily on confidentiality, with no direct impact on integrity or availability reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict or disable archive uploads in the K2 article gallery upload feature if possible. Monitor and control file upload permissions and web server execution rights in the `/media/k2/galleries/` directory to prevent execution of unauthorized files.
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: 6a3d4d4b4853345fc124a306
Added to database: 06/25/2026, 15:46:19 UTC
Last enriched: 07/02/2026, 22:31:22 UTC
Last updated: 08/09/2026, 17:06:41 UTC
Views: 66
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.