Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 78%

CVE-2026-48944: CWE-22 Improper Limitation of a Pathname to a Restricted Directory in getk2.org K2 extension for Joomla

0
Medium
VulnerabilityCVE-2026-48944cvecve-2026-48944cwe-22
Published: 06/25/2026 (06/25/2026, 15:24:45 UTC)
Source: CVE Database V5
Vendor/Project: getk2.org
Product: K2 extension for Joomla

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.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected software

Affected versions
1.0-2.26

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/02/2026, 22:31:17 UTC

Technical Analysis

The K2 frontend article-save handler in versions 1.0 to 2.26 accepts an `attachment[N][existing]` POST parameter that is concatenated with the Joomla root path (`JPATH_SITE/`) and passed to `JFile::copy()`. The path cleaning function `JPath::clean` does not remove directory traversal sequences (`..`), and there is no allow-list restricting source paths. Consequently, an authenticated Author can copy any file readable by the web user, including sensitive files like `configuration.php` or `/etc/passwd`, into the `/media/k2/attachments/` directory. These files can then be accessed via the K2 attachment-download endpoint, leading to unauthorized disclosure of sensitive information.

Potential Impact

An authenticated user with Author privileges can exploit this vulnerability to read arbitrary files on the server that are accessible by the web user. This can lead to disclosure of sensitive configuration files or system files, potentially exposing credentials or system information. The vulnerability does not allow modification or deletion of files, nor does it impact availability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict Author-level access to trusted users only and monitor for suspicious activity related to attachment uploads and downloads. Avoid exposing sensitive files via the web server and consider disabling the K2 attachment-download feature if not required.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Joomla
Date Reserved
2026-05-26T16:47:13.550Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a3d4d4b4853345fc124a303

Added to database: 06/25/2026, 15:46:19 UTC

Last enriched: 07/02/2026, 22:31:17 UTC

Last updated: 08/08/2026, 12:41:11 UTC

Views: 58

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses