CVE-2026-48945
Received Received - Intake
K2 Gallery Archive Path Traversal Vulnerability

Publication date: 2026-06-25

Last updated on: 2026-06-25

Assigner: Joomla! Project

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 Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-25
Last Modified
2026-06-25
Generated
2026-06-25
AI Q&A
2026-06-25
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
joomla k2 *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-434 The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The vulnerability exists in the K2 article gallery upload path, which accepts zip or tar archives and extracts their contents under the directory /media/k2/galleries/<id>/.

While image files (gif, jpg, jpeg, png, webp) are renamed to safe names during extraction, non-image files, including potentially dangerous files like .php scripts, are extracted without renaming and remain executable.

This means that an attacker can upload a malicious archive containing executable files that will be accessible and executable via direct HTTP access on the server.

Impact Analysis

This vulnerability can allow an attacker to upload and execute arbitrary code on the affected server by placing executable files such as PHP scripts in the gallery upload directory.

As a result, the attacker could potentially take control of the server, access sensitive data, modify or delete content, or use the server as a foothold for further attacks.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-48945. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart