Skip to main content

Mojolicious::Plugin::Statsd CVE-2026-46740

MEDIUM
Improper Neutralization of CRLF Sequences ('CRLF Injection') (CWE-93)
2026-05-26 9b29abf9-4ab0-4765-b253-1875cd9b441e
5.3
CVSS 3.1 · Vendor: 9b29abf9-4ab0-4765-b253-1875cd9b441e
View

Attack ChainAIDerived

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

  1. Access
    Send HTTP request with crafted metric-delimiter characters
  2. Delivery
    Application passes unsanitized input to Plugin::Statsd metric API
  3. Exploit
    Plugin constructs raw statsd UDP payload including injected delimiters
  4. Execution
    Backend statsd daemon parses injected protocol fields
  5. Impact
    False or forged metrics recorded in monitoring backend

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization CRLF sequence sanitization
Exploitation Conditions

Exploitation requires that the target Mojolicious application passes data derived from untrusted external sources (HTTP request parameters, headers, user-provided identifiers, etc.) directly into metric name or set-value arguments of Mojolicious::Plugin::Statsd without prior sanitization of newline ('\n'), colon (':'), or pipe ('|') characters. Applications that use only hardcoded or internally generated metric names and values are not exploitable. The CVSS vector AV:N/AC:L/PR:N/UI:N reflects that no authentication is required and the network path to the application is sufficient - but the application must have a code path where attacker-controlled strings reach the statsd metric API. Exploitation is limited to metric data integrity: there is no code execution, no file system access, and no impact outside the statsd backend.

Impact

CVSS 5.3 Medium with vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N indicates network-reachable, low-complexity, unauthenticated exploitation with limited integrity impact and no confidentiality or availability impact. EPSS at 0.01% (1st percentile) strongly corroborates low real-world exploitation interest. KEV status is negative and no POC code has been identified. The scope is unchanged (S:U), meaning the injected metrics cannot escalate beyond the statsd backend. The practical impact is corrupted or forged monitoring data - an attacker could inflate counters, inject phantom timers, or pollute gauges in a metrics dashboard. This does not represent a path to code execution, data exfiltration, or service disruption. Risk is elevated only in environments where statsd metrics feed automated alerting or autoscaling decisions, where metric poisoning could indirectly cause operational harm. Overall, this is a genuine but low-severity data-integrity issue.

Exploit ScenarioDerived

An attacker submits a crafted HTTP request to a Mojolicious application where a user-supplied value (such as a search query, username, or event label) is passed directly as a statsd metric name or set value. The string 'legit_metric\ninjected_metric:9999|c' would cause the plugin to emit two UDP datagrams to the statsd backend - the intended metric and an attacker-crafted counter - corrupting monitoring dashboards or triggering false alerts. No public POC exists, but the attack requires only knowledge of statsd protocol delimiters and the ability to influence metric input values.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 28, 2026

Metric injection in Mojolicious::Plugin::Statsd through version 0.04 for Perl allows remote unauthenticated attackers to inject arbitrary statsd metrics by supplying crafted values containing newlines, colons, or pipe characters - the delimiters of the statsd wire protocol. Applications that pass untrusted input directly into metric names or set values are affected. No public exploit exists and EPSS is 0.01% (1st percentile), placing this firmly in the low-priority tier despite network accessibility; exploitation requires attacker-controlled data to flow into metric collection paths.

RemediationAI

Upgrade Mojolicious::Plugin::Statsd to version 0.06 or later via CPAN (cpanm Mojolicious::Plugin::Statsd or cpan Mojolicious::Plugin::Statsd). Version 0.06 replaces the plugin's own statsd protocol construction with Net::Statsd::Tiny v0.4.0+, which sanitizes metric names and values against delimiter injection. The fix is confirmed in the MetaCPAN changelog (https://metacpan.org/release/RRWO/Mojolicious-Plugin-Statsd-0.06/changes) and the GitHub commit patch (https://github.com/robrwo/perl-Mojolicious-Plugin-Statsd/commit/f049156982a2c0b8050f173e24a04a29ddd64853.patch). If an immediate upgrade is not possible, the compensating control is to sanitize all metric names and values in application code before passing them to the plugin - specifically, strip or reject strings containing newline characters ('\n', '\r'), colons (':'), and pipe characters ('|'). This workaround adds validation overhead and must be applied at every call site, making it error-prone; the upgrade is strongly preferred.

Affected ProductsAI

Mojolicious::Plugin::Statsd versions through 0.04 for Perl are affected. Version 0.05 is not mentioned in available data and should be treated as potentially affected. The fixed release is version 0.06, confirmed by the MetaCPAN changelog at https://metacpan.org/release/RRWO/Mojolicious-Plugin-Statsd-0.06/changes and the upstream patch commit f049156982a2c0b8050f173e24a04a29ddd64853 at GitHub. No CPE string was provided in the source data; the module is distributed via CPAN under the RRWO author namespace.

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

The statsd protocol encodes metrics as colon-delimited key:value pairs separated by pipes for type and sample rate, with newlines separating multiple metrics in a single UDP packet (e.g., 'page.load:120|ms'). CWE-93 (Improper Neutralization of Special Elements in Output Used by a Downstream Component) describes exactly this class of injection: user-controlled strings are embedded into a structured protocol output without sanitizing the protocol's own delimiter characters. The original Mojolicious::Plugin::Statsd adapter constructed statsd payloads directly via sprintf in Perl (e.g., sprintf '%s:%d|ms', $name, $time), without stripping or rejecting newlines ('\n'), colons (':'), or pipes ('|') from the $name or value inputs. A related vulnerability, CVE-2026-46720, affected the Net::Statsd::Tiny dependency at a similar layer. The fix in version 0.06 removes the plugin's own protocol-construction logic entirely, delegating to Net::Statsd::Tiny v0.4.0+, which addresses the sanitization at the client library level.

Know when the next one hits your stack

  • 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 (9b29abf9-4ab0-4765-b253-1875cd9b441e) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Primary rating from Vendor (9b29abf9-4ab0-4765-b253-1875cd9b441e) · only source for this CVE.

CVSS VectorVendor: 9b29abf9-4ab0-4765-b253-1875cd9b441e

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

Lifecycle Timeline

2
CVSS changed
May 28, 2026 - 16:22 NVD
5.3 (MEDIUM)
CVE Published
May 26, 2026 - 23:16 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

Mojolicious::Plugin::Statsd versions through 0.04 for Perl allowed metric injections.

The metric names and set values were not checked for newlines, colons or pipes. Metrics generated from untrusted sources could inject additional statsd metrics.

Version 0.06 changes the module from being a statsd client to using a separate statsd client. It defaults to using a version of Net::Statsd::Tiny that fixes a similar issue (CVE-2026-46720).

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Social Media
1
Sightings
Data Quality
5 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

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