Vulnerability · Published Jun 5, 2026 · Assigned by CPANSec
CVE-2026-9270DataDog::DogStatsd versions through 0.07 for Perl allow metric injections
Critical 9.1
In plain English
A critical-severity security flaw in DataDog::DogStatsd from BINARY. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities).
Official description
DataDog::DogStatsd versions through 0.07 for Perl allow metric injections. DataDog::DogStatsd does not properly sanitise input, allowing metric injections of data from untrusted sources. The send_stats method does not remove newlines from metric names ($stat variable), allowing attackers to change the metric name prefix. The send_stats method does not validate the content of the value ($delta variable), allowing attackers to inject metrics, especially from methods that do not restrict the data type for the value, such as set, gauge, count and histogram. The send_stats method does not validate the content of the tags, which may contain newlines, pipes and colons that allow metric injections. Note that the SYNOPSIS shows an example of passing a website form "loginName" parameter as a tag, which is unsafe.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| BINARY | DataDog::DogStatsd | 0 – through 0.07 |
Weakness: CWE-93, CWE-150 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N