CVE-2026-48944
Severity CVSS v4.0:
Pending analysis
Type:
CWE-22
Path Traversal
Publication date:
25/06/2026
Last modified:
28/06/2026
Description
The K2 frontend article-save handler accepts an `attachment[N][existing]` POST field that is concatenated with `JPATH_SITE/` and passed to `JFile::copy()`. `JPath::clean` does NOT strip `..`, and there is no allow-list of source paths. An Author can therefore copy `configuration.php` (or any other file readable by the web user — including `../../../etc/passwd`) into `/media/k2/attachments/`, then retrieve the contents via the K2 attachment-download endpoint.
Impact
Base Score 3.x
6.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:joomlaworks:k2:*:*:*:*:*:joomla\!:*:* | 2.26 (including) |
To consult the complete list of CPE names with products and versions, see this page



