CVE-2025-34104 in Matomo products
An authenticated remote code execution vulnerability exists in Piwik (now Matomo) versions prior to 3.0.3 via the plugin upload mechanism. In vulnerable versions, an authenticated user with Superuser privileges can upload and activate a malicious plugin (ZIP archive), leading to arbitrary PHP code execution on the u...
Affects 0 products from 3 vendors. Facts below cite their sources.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
An authenticated remote code execution vulnerability exists in Piwik (now Matomo) versions prior to 3.0.3 via the plugin upload mechanism. In vulnerable versions, an authenticated user with Superuser privileges can upload and activate a malicious plugin (ZIP archive), leading to arbitrary PHP code execution on the underlying system. Starting with version 3.0.3, plugin upload functionality is disabled by default unless explicitly enabled in the configuration file.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-34104 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-254894-I |
| Published | 2025-07-15 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-306: Missing Authentication for Critical Function
Software does not perform any authentication for functionality that requires a verified identity.
CWE-434: Unrestricted Upload of File with Dangerous Type
Application allows file uploads without validating type, enabling upload of executable code or web shells.
Related attack patterns (CAPEC)
CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-434
CAPEC-12 Choosing Message Identifier via CWE-306
CAPEC-36 Using Unpublished Interfaces or Functionality via CWE-306
CAPEC-62 Cross Site Request Forgery via CWE-306
CAPEC-166 Force the System to Reset Values via CWE-306
Show all 6
CAPEC-216 Communication Channel Manipulation via CWE-306
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
An authenticated remote code execution vulnerability exists in Piwik (now Matomo) versions prior to 3.0.3, allowing Superuser-privileged users to upload and activate a malicious plugin, leading to arbitrary PHP code execution. This could compromise the integrity and availability of the affected system, especially in OT environments where such systems may be used for monitoring and analytics.
The vulnerability is triggered when an authenticated user with Superuser privileges uploads a malicious plugin (ZIP archive) to the Piwik/Matomo system. The plugin upload mechanism does not properly validate the contents of the uploaded ZIP file, allowing for the execution of arbitrary PHP code on the underlying system. This can lead to full system compromise, data exfiltration, and potential disruption of critical operations.
Compensating controls AI-drafted, review before use
Implement strict access controls and least privilege principles for users with Superuser privileges. Monitor and log all plugin upload activities. Regularly review and audit user permissions and plugin installations.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2025-34104?
An authenticated remote code execution vulnerability exists in Piwik (now Matomo) versions prior to 3.0.3, allowing Superuser-privileged users to upload and activate a malicious plugin, leading to arbitrary PHP code execution. This could compromise the integrity and availability of the affected system, especially in OT environments where such systems may be used for monitoring and analytics.
Is CVE-2025-34104 actively exploited?
No confirmed active exploitation of CVE-2025-34104 as of 2026-09-25.
How do I remediate CVE-2025-34104?
Priority: MEDIUM.
What systems are affected by CVE-2025-34104?
CVE-2025-34104 affects Matomo; Piwik; Plugin.
What NERC-CIP standard applies to CVE-2025-34104?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows an authenticated user to execute arbitrary code, which could compromise the security of the electronic security perimeter and the systems within it.
What IEC 62443 requirement maps to CVE-2025-34104?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves the execution of unauthorized code, which can compromise the security of the industrial control system and its components.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Matomo","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.