All intelligence
// vulnerability record
cached · NVD via COSMOS syncCVE-2026-48944
MEDIUMpublished 2026-06-25 16:16 UTC · 3 days ago · modified 2026-06-26 17:43 UTC
6.5
CVSS / 10
// 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.
// cvss 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
// weaknesses (CWE)
- CWE-22