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…

CVE-2026-48944: CWE-22 Improper Limitation of a Pathname to a Restricted Directory in getk2.com 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.com
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: 06/25/2026, 16:02:00 UTC

Technical Analysis

The K2 frontend article-save handler accepts an `attachment[N][existing]` POST parameter that is concatenated with the Joomla base path `JPATH_SITE/` and passed to `JFile::copy()`. The path cleaning function `JPath::clean` does not remove `..` sequences, and there is no allow-list restricting source file paths. Consequently, an authenticated Author can exploit this to copy arbitrary readable files from the server filesystem into `/media/k2/attachments/`. These files can then be downloaded through the K2 attachment-download endpoint, leading to unauthorized file disclosure. The affected versions are K2 extension for Joomla from 1.0 up to and including 2.26. No official patch or remediation guidance is currently available.

Potential Impact

An authenticated user with Author privileges can read arbitrary files on the server that are accessible to the web user by copying them into a publicly accessible directory and then downloading them. This can lead to disclosure of sensitive information such as configuration files or system files, potentially compromising the confidentiality of the Joomla installation and the underlying server.

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 consider disabling or restricting the K2 attachment functionality to prevent exploitation. Monitor for updates from the vendor regarding an official fix.

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: 06/25/2026, 16:02:00 UTC

Last updated: 06/26/2026, 02:21:06 UTC

Views: 7

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