Skip to main content

Emoncms CVE-2025-60938

HIGH
Improper Input Validation (CWE-20)
2025-10-24 cve@mitre.org
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Emoncms web interface
  2. Delivery
    Reach /admin/upload-custom-firmware feature
  3. Exploit
    Submit crafted firmware-upload parameters
  4. Execution
    Bypass insufficient input validation
  5. Impact
    Execute arbitrary OS commands on host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Requires an authenticated Emoncms session with access to the administrative firmware-management feature at the /admin/upload-custom-firmware endpoint; exploitation is performed by supplying malicious values in the firmware-upload parameters filename, port, baud_rate, core, and/or autoreset, which are insufficiently validated. Limiting factors: valid credentials are required (CVSS PR:L, so this is not an unauthenticated flaw), the attacker must be able to reach the custom-firmware upload function, and the vulnerability is confined to Emoncms 11.7.3 as listed; no user interaction by a victim is needed (UI:N). The exact input-to-command path is not described in the available sources.

Impact

Signals point to a moderate, authentication-gated risk rather than an urgent emergency. The supplied CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.5) indicates a network-reachable flaw that nonetheless requires valid credentials (PR:L), with full confidentiality, integrity and availability impact consistent with arbitrary command execution. EPSS is low at 0.61% (49th percentile), the vulnerability is NOT in CISA KEV, and the exploitation status is that a public PoC reference exists (the linked GitHub issue) but it is not verified as working exploit code. The vendor/priority decision label is 'this_week', which aligns with a notable-but-not-immediate posture rather than act_now/emergency. One divergence worth flagging: the input CVSS uses AC:H, but the description characterizes the root cause only as insufficient input validation of several parameters and does not describe any timing, race, or attacker-uncontrolled precondition that would justify high attack complexity - the trigger mechanism is not described in the available sources, so the AC:H rating cannot be corroborated and may understate ease of exploitation for an authenticated user. Net: this is a credible post-authentication RCE on a niche product, meaningful for anyone running Emoncms with untrusted or low-trust accounts, but the authentication requirement, low EPSS, absence from KEV, and unverified PoC argue against treating it as a mass-exploitation priority.

Exploit ScenarioDerived

An attacker who already holds valid Emoncms credentials reaches the /admin/upload-custom-firmware endpoint and submits a firmware upload request with malicious values in parameters such as filename, port, baud_rate, core, or autoreset. Because these user-controlled inputs are insufficiently validated, the crafted values are processed by the host in a way that results in arbitrary OS command execution. A public PoC reference exists (GitHub issue 1941); it is not verified as working exploit code, and the exact trigger is not described in the available sources.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

Authenticated remote code execution in Emoncms 11.7.3 lets a user who already holds a valid session with access to the administrative firmware-management feature run arbitrary commands on the host through the /admin/upload-custom-firmware endpoint. The flaw is improper input validation (CWE-20) of the user-controlled filename, port, baud_rate, core and autoreset parameters; no victim interaction is required, but credentials and reachability of that administrative function are prerequisites, so the risk is authentication-gated rather than open to anonymous attackers. Public reporting is currently limited to an upstream GitHub issue (emoncms/emoncms#1941) that is a reference only and is not verified as working exploit code; EPSS is low at 0.61% (49th percentile) and there is no CISA KEV confirmation of active exploitation, though the vendor-priority signal places it in the 'this_week' handling window.

RemediationAI

No vendor-released patch or fixed version is identified in the available data; the only actionable upstream reference is GitHub issue https://github.com/emoncms/emoncms/issues/1941, which should be tracked for a fix commit or a patched release tag before any version number is relied upon. Because exploitation requires a valid authenticated session with access to the administrative firmware-management feature, the practical near-term control is to restrict and monitor that access: limit /admin/upload-custom-firmware to trusted source networks or authenticated administrative accounts only, and audit any use of the custom-firmware upload function, since the parameters filename, port, baud_rate, core and autoreset are the injection surface and cannot be trusted as validated until a fix lands. Run the Emoncms service under an account with the minimum privileges it needs so that a successful command injection is contained, and treat any unexpected process execution spawned from the web server as a compromise indicator. Until a patched release is published and confirmed, treat the firmware-upload feature as a high-risk administrative function rather than a routine one.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Emoncms is an open-source energy-monitoring web application written primarily in PHP, and the affected component is its custom-firmware upload workflow exposed at /admin/upload-custom-firmware. The root cause class is CWE-20 (Improper Input Validation): values supplied by the user for the filename, port, baud_rate, core and autoreset fields are accepted without adequate validation before being consumed by the firmware-upload logic, which is the classic precondition for command or argument injection when such parameters are subsequently handed to a system-level flashing utility. The exact input-to-command path and the specific downstream utility involved are not described in the available sources, so the precise injection sink should be treated as unconfirmed. Scoring note: the supplied CVSS vector is CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (7.5), while our independent assessment scores the same impact with AC:L; both agree on network reachability, low privileges required, no user interaction and high confidentiality/integrity/availability impact. CPE data pins the affected build to cpe:2.3:a:openenergymonitor:emoncms:11.7.3, and the only public reference is the upstream issue tracker entry at https://github.com/emoncms/emoncms/issues/1941.

Know when Emoncms gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 7.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-reachable endpoint needing a valid account (PR:L) and no described complicating precondition (AC:L, diverging from input AC:H); unvalidated params yield command execution so C/I/A:H.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Emoncms 11.7.3 has a remote code execution vulnerability in the firmware upload feature that allows authenticated users to execute arbitrary commands on the target system. The vulnerability stems from insufficient input validation of user-controlled parameters including filename, port, baud_rate, core, and autoreset within the /admin/upload-custom-firmware endpoint.

Executive ViewAI

Why It Matters

CVE-2025-60938 is a high-severity vulnerability in Emoncms 11.7.3, an open-source energy monitoring platform, allowing authenticated administrative users to execute arbitrary commands on the host. This could lead to full system compromise, data breaches, or service disruption if an attacker gains administrative access. Leadership should prioritize patching or mitigation due to the potential impact on energy data integrity and operational continuity.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting access to the vulnerable administrative endpoint, implementing strict input validation, and monitoring for anomalous activity.

Threat Intelligence Overview

EPSS Score
0.6%
Top 51% exploitable
Prevalence
Low
niche open-source energy-monitoring platform, limited enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

59
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)CVE.org

cpe:2.3:a:openenergymonitor:emoncms:11.7.3:*:*:*:*:*:*:*

References

Advisories & patches

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy