CVE-2026-48944
MEDIUMJoomla Extension - getk2.com - Exposure of sensitive files via attachment copy in K2 extension for Joomla < 2.26
Title source: cnaDescription
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 (1)
Core 1
Core References
Product product
https://www.getk2.org/
Scores
CVSS v3
6.5
EPSS
0.0029
EPSS Percentile
21.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (3)
getk2.com/K2 extension for Joomla
1.0-2.26
getk2.org/K2 extension for Joomla
1.0-2.26
joomlaworks/k2
< 2.26
Published
Jun 25, 2026
Tracked Since
Jun 25, 2026