Skip to main content

K2 for Joomla CVE-2026-48944

| EUVDEUVD-2026-39440 MEDIUM
Path Traversal (CWE-22)
2026-06-25 Joomla GHSA-858x-6wp8-wp5c
6.5
CVSS 3.1 · Vendor: Joomla
Share

Severity by source

Vendor (Joomla) PRIMARY
6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI
6.5 MEDIUM

PR:L reflects mandatory Author-level authentication; C:H because arbitrary web-readable files including database credentials are exfiltrated; no integrity or availability impact occurs.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Joomla).

CVSS VectorVendor: Joomla

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

3
Analysis Generated
Jun 25, 2026 - 19:23 vuln.today
CVSS changed
Jun 25, 2026 - 19:22 NVD
6.5 (MEDIUM)
CVE Published
Jun 25, 2026 - 15:24 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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.

AnalysisAI

Path traversal in the K2 extension for Joomla (versions 1.0-2.26) allows authenticated Authors to copy arbitrary web-readable files - including Joomla's database credential file configuration.php and OS files such as /etc/passwd - into a publicly accessible directory for retrieval. The article-save handler's attachment[N][existing] POST parameter is concatenated with JPATH_SITE/ and passed directly to JFile::copy() without stripping ../ sequences or enforcing a source-path allow-list, making traversal trivial. No public exploit has been identified at time of analysis and the vulnerability is not listed in CISA KEV, but the confidentiality impact is severe on multi-author Joomla sites where Author accounts may be widely distributed.

Technical ContextAI

K2 is a PHP-based content management extension for the Joomla CMS, distributed by getk2.com (CPE: cpe:2.3:a:getk2.com:k2_extension_for_joomla:*:*:*:*:*:*:*:*). The flaw resides in the frontend article-save handler, which processes a POST field named attachment[N][existing] representing the path of an existing attachment file. This value is prefixed with JPATH_SITE/ - the Joomla webroot constant - and supplied directly to Joomla's JFile::copy() function. Although JPath::clean() is available in the Joomla framework for path normalization, it does not strip ../ traversal sequences, and the handler applies no allow-list restricting source paths to a safe subdirectory. This is a textbook CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) flaw: user-controlled input traverses outside the intended directory tree. The copied file lands in /media/k2/attachments/, a web-accessible location, from which it can be retrieved via K2's attachment-download endpoint.

RemediationAI

Consult the vendor advisory at https://www.getk2.org/ and apply any K2 release beyond 2.26 that addresses the path traversal in the article-save handler - no confirmed patch version is available in the current intelligence data, so monitor the vendor channel actively. As an immediate compensating control, disable frontend article submission in K2's component settings or via Joomla's global configuration, which removes the vulnerable POST endpoint from the attack surface entirely; note this will prevent Authors from submitting articles via the frontend. Restrict the Joomla Author role to fully trusted users and audit existing Author accounts for unnecessary grants. Enforce PHP open_basedir restrictions scoped to the Joomla webroot to prevent JFile::copy() from reading files outside the intended directory tree - test this in staging first, as it may affect legitimate K2 attachment handling. Additionally, consider relocating configuration.php outside JPATH_SITE using Joomla's defines override, which prevents the PHP process from copying it even if the traversal is triggered.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Share

CVE-2026-48944 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy