PT-2026-46972 · Datadog · Dogstatsd
CVE-2026-9270
·
Published
2026-06-05
·
Updated
2026-06-11
CVSS v3.1
9.1
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
DataDog::DogStatsd versions prior to 0.08
Description
DataDog::DogStatsd does not properly sanitize input, allowing metric injections from untrusted sources. The
send stats() function fails to remove newlines from the $stat variable, which enables attackers to modify the metric name prefix. Additionally, the send stats() function does not validate the content of the $delta variable, allowing for the injection of metrics, particularly when using methods that do not restrict data types, such as set, gauge, count, and histogram. The function also fails to validate tags, which may contain newlines, pipes, and colons that facilitate metric injections.Recommendations
Update to a version later than 0.07.
As a temporary mitigation, avoid passing untrusted input, such as website form parameters, directly into tags or the
send stats() function.Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Dogstatsd