PT-2026-52467 · Getk2.Com · K2 Extension For Joomla
Matan Bahar
+1
·
Published
2026-06-25
·
Updated
2026-06-25
·
CVE-2026-48944
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
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.Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
K2 Extension For Joomla