← Back to CVE Explorer

CVE-2026-48946

Full vulnerability record from the local CVENow database.

Description

The K2 frontend article-attachment upload path accepts files whose extension is `.php`, and Apache's standard mod_php matches `\.php$` and executes them under the K2 web user. A K2 Author can upload a `shell.php`, then fetch `/media/k2/attachments/shell.php` and execute arbitrary PHP code in the web server's context.

Severity
MEDIUM
CVSS score
6.3 (v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-06-25 16:16:37.180000
Last modified
2026-10-25 22:10:00.150000
View original CVE JSON
{
  "id": "CVE-2026-48946",
  "sourceIdentifier": "[email protected]",
  "published": "2026-06-25T16:16:37.180",
  "lastModified": "2026-10-25T22:10:00.150",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "The K2 frontend article-attachment upload path accepts files whose extension is `.php`, and Apache's standard mod_php matches `\\.php$` and executes them under the K2 web user. A K2 Author can upload a `shell.php`, then fetch `/media/k2/attachments/shell.php` and execute arbitrary PHP code in the web server's context."
    },
    {
      "lang": "es",
      "value": "La ruta de carga de adjuntos de artículos del frontend de K2 acepta archivos cuya extensión es ’.php’, y el mod_php estándar de Apache coincide con ’\\.php$’ y los ejecuta bajo el usuario web de K2. Un autor de K2 puede cargar un ’shell.php’, luego recuperar /media/k2/attachments/shell.php y ejecutar código PHP arbitrario en el contexto del servidor web."
    }
  ],
  "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:L/I:L/A:L",
          "baseScore": 6.3,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "availabilityImpact": "LOW"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 3.4
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-06-25T00:00:00+00:00",
          "id": "CVE-2026-48946",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-434"
        }
      ]
    }
  ],
  "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"
      ]
    }
  ]
}