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
25 Oct 2026, 22:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
Information
Published : 2026-06-25 16:16
Updated : 2026-10-25 22:10
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')
