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.
References
| Link | Resource |
|---|---|
| https://www.getk2.org/ | Product |
Configurations
History
26 Jun 2026, 17:43
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Joomlaworks
Joomlaworks k2 |
|
| References | () https://www.getk2.org/ - Product | |
| CPE | cpe:2.3:a:joomlaworks:k2:*:*:*:*:*:joomla\!:*:* |
25 Jun 2026, 19:16
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.5 |
25 Jun 2026, 16:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-25 16:16
Updated : 2026-06-28 19:16
NVD link : CVE-2026-48944
Mitre link : CVE-2026-48944
CVE.ORG link : CVE-2026-48944
JSON object : View
Products Affected
joomlaworks
- k2
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
