Skip to main content

K2 for Joomla EUVDEUVD-2026-39440

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

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain or register Joomla Author credentials
  2. Delivery
    Craft article-save POST with path traversal in attachment[N][existing]
  3. Exploit
    JFile::copy() copies target file to /media/k2/attachments/
  4. Execution
    Retrieve staged file via K2 download endpoint
  5. Impact
    Extract database credentials and Joomla secret key

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid Joomla Author-level account (or higher role) on the target site - this is the primary and most significant limiting factor. The K2 extension must be installed, enabled, and configured to allow frontend article submission; hardened Joomla deployments that restrict the frontend editing interface are not directly exposed. The targeted file must be readable by the PHP web server process - configuration.php is virtually always readable by the PHP process on standard deployments, but files protected by OS-level permissions (e.g., root-owned /etc/shadow) cannot be exfiltrated. Two HTTP requests are required: one POST to the article-save handler to trigger the copy, and one GET to the attachment-download endpoint to retrieve the staged file. Exploitation is not limited by platform, operating system, or database engine - any standard Joomla/K2 deployment on a shared or dedicated host is in scope given the above conditions.

Impact

The NVD-assigned CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N, 6.5) is consistent with an independent assessment: network-delivered, low complexity, requiring only Author-level credentials, with high confidentiality impact and no integrity or availability consequence. The primary real-world risk is exfiltration of configuration.php, which stores the Joomla database hostname, username, password, database name, and secret key - a credential disclosure that could enable full site compromise via a secondary database attack. The PR:L requirement is the key limiting factor: mass opportunistic exploitation is not viable without a valid Author account, making this a meaningful risk for Joomla sites with open registration, compromised contributor accounts, or insider threat exposure. EPSS data was not supplied in the intelligence feed, and the vulnerability does not appear in CISA KEV; no public exploit code has been identified at time of analysis. The wildcard CPE version field (*) indicates the vendor has not confirmed a patched release version in the available data, leaving defenders with an uncertain patch status. Overall priority is moderate-to-high for any Joomla deployment running K2 with frontend article submission enabled and non-trivial Author populations.

Exploit ScenarioDerived

An authenticated Joomla Author submits a crafted article-save POST request with the field attachment[0][existing] set to a value such as ../../configuration.php, causing JFile::copy() to replicate the Joomla database configuration file into /media/k2/attachments/configuration.php. The attacker then issues a second HTTP request to the K2 attachment-download endpoint to retrieve the staged file, obtaining the database hostname, credentials, and Joomla secret key. No public exploit code has been identified at time of analysis, but the attack requires only a valid Author account and standard HTTP tooling with no special encoding or timing constraints.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 25, 2026

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.

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.

Affected VersionsENISA

K2 extension for Joomla 1.0-2.26

Affected Packages

euvd k2_extension_for_joomla no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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

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

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
popular Joomla content extension, but Joomla-specific install base
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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

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