CVE-2026-48944 Joomla Extension - getk2.org - Exposure of sensitive files via attachment copy in K2 extension for Joomla < 2.26

Medium 6.5 Published Updated

An authenticated Author can exploit a path traversal flaw to copy sensitive files like configuration.php to a public directory and read them.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-48944?

CVE-2026-48944 is a medium-severity path traversal vulnerability in getk2.org K2 extension for Joomla, published on 25 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2026-48944?

It affects 1 product.

Products include Joomlaworks K2.

How do I fix CVE-2026-48944?

No fix has been published for CVE-2026-48944 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-48944 being exploited?

There is no known exploitation of CVE-2026-48944 in the wild and no public exploit code.

Sources

Also known as GHSA-858x-6wp8-wp5c.

Is CVE-2026-48944 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free