← Back to CVE Explorer

CVE-2026-48944

Full vulnerability record from the local CVENow database.

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.

Severity
MEDIUM
CVSS score
6.5 (v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-06-25 16:16:36.950000
Last modified
2026-10-25 22:10:00.150000
View original CVE JSON
{
  "id": "CVE-2026-48944",
  "sourceIdentifier": "[email protected]",
  "published": "2026-06-25T16:16:36.950",
  "lastModified": "2026-10-25T22:10:00.150",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "El gestor de guardado de artículos del frontend de K2 acepta un campo POST “attachment[N][existing]” que se concatena con “JPATH_SITE/” y se pasa a “JFile::copy()”. “JPath::clean” NO elimina “..”, y no hay una lista de permitidos de rutas de origen. Un autor puede, por lo tanto, copiar “configuration.php” (o cualquier otro archivo legible por el usuario web - incluyendo “.. / .. / .. / etc/p4ssd”) en “/media/k2/attachments/”, y luego recuperar el contenido a través del endpoint de descarga de adjuntos de K2."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "getk2.org",
          "product": "K2 extension for Joomla",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "1.0-2.26",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
          "baseScore": 6.5,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "NONE",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 3.6
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-06-25T18:42:56.836321Z",
          "id": "CVE-2026-48944",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-22"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:joomlaworks:k2:*:*:*:*:*:joomla\\!:*:*",
              "versionEndIncluding": "2.26",
              "matchCriteriaId": "75F0068E-23F6-4BDC-97E2-AAD0D06F5D72"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://www.getk2.org/",
      "source": "[email protected]",
      "tags": [
        "Product"
      ]
    }
  ]
}