{"api_version":"1","generated_at":"2026-06-05T17:38:47+00:00","cve":"CVE-2026-9270","urls":{"html":"https://cve.report/CVE-2026-9270","api":"https://cve.report/api/cve/CVE-2026-9270.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-9270","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-9270"},"summary":{"title":"DataDog::DogStatsd versions through 0.07 for Perl allow metric injections","description":"DataDog::DogStatsd versions through 0.07 for Perl allow metric injections.\n\nDataDog::DogStatsd does not properly sanitise input, allowing metric injections of data from untrusted sources.\n\nThe send_stats method does not remove newlines from metric names ($stat variable), allowing attackers to change the metric name prefix.\n\nThe 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.\n\nThe send_stats method does not validate the content of the tags, which may contain newlines, pipes and colons that allow metric injections.\n\nNote that the SYNOPSIS shows an example of passing a website form \"loginName\" parameter as a tag, which is unsafe.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-06-05 16:16:41","updated_at":"2026-06-05 17:04:07"},"problem_types":["CWE-93","CWE-150","CWE-93 CWE-93 Improper Neutralization of CRLF Sequences","CWE-150 CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences"],"metrics":[],"references":[{"url":"https://www.cve.org/CVERecord?id=CVE-2026-46719","name":"https://www.cve.org/CVERecord?id=CVE-2026-46719","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-46741","name":"https://www.cve.org/CVERecord?id=CVE-2026-46741","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-46720","name":"https://www.cve.org/CVERecord?id=CVE-2026-46720","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-9270","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9270","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"BINARY","product":"DataDog::DogStatsd","version":"affected 0.07 custom","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[{"source":"CNA","title":"","value":"Ensure that metric names, values and tags come from trusted sources or are properly sanitised.","time":"","lang":"en"}],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"DataDog-DogStatsd","product":"DataDog::DogStatsd","programRoutines":[{"name":"DataDog::DogStatsd::send_stats"},{"name":"DataDog::DogStatsd::set"},{"name":"DataDog::DogStatsd::gauge"},{"name":"DataDog::DogStatsd::count"},{"name":"DataDog::DogStatsd::histogram"}],"repo":"https://github.com/binary-com/dogstatsd-perl","vendor":"BINARY","versions":[{"lessThanOrEqual":"0.07","status":"affected","version":"0","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"DataDog::DogStatsd versions through 0.07 for Perl allow metric injections.\n\nDataDog::DogStatsd does not properly sanitise input, allowing metric injections of data from untrusted sources.\n\nThe send_stats method does not remove newlines from metric names ($stat variable), allowing attackers to change the metric name prefix.\n\nThe 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.\n\nThe send_stats method does not validate the content of the tags, which may contain newlines, pipes and colons that allow metric injections.\n\nNote that the SYNOPSIS shows an example of passing a website form \"loginName\" parameter as a tag, which is unsafe."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-93","description":"CWE-93 Improper Neutralization of CRLF Sequences","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-150","description":"CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-06-05T14:49:39.714Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"url":"https://www.cve.org/CVERecord?id=CVE-2026-46741"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-46719"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-46720"}],"source":{"discovery":"UNKNOWN"},"title":"DataDog::DogStatsd versions through 0.07 for Perl allow metric injections","workarounds":[{"lang":"en","value":"Ensure that metric names, values and tags come from trusted sources or are properly sanitised."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-9270","datePublished":"2026-06-05T14:49:39.714Z","dateReserved":"2026-05-22T10:23:06.050Z","dateUpdated":"2026-06-05T14:49:39.714Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-05 16:16:41","lastModifiedDate":"2026-06-05 17:04:07","problem_types":["CWE-93","CWE-150","CWE-93 CWE-93 Improper Neutralization of CRLF Sequences","CWE-150 CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"9270","Ordinal":"1","Title":"DataDog::DogStatsd versions through 0.07 for Perl allow metric i","CVE":"CVE-2026-9270","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"9270","Ordinal":"1","NoteData":"DataDog::DogStatsd versions through 0.07 for Perl allow metric injections.\n\nDataDog::DogStatsd does not properly sanitise input, allowing metric injections of data from untrusted sources.\n\nThe send_stats method does not remove newlines from metric names ($stat variable), allowing attackers to change the metric name prefix.\n\nThe 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.\n\nThe send_stats method does not validate the content of the tags, which may contain newlines, pipes and colons that allow metric injections.\n\nNote that the SYNOPSIS shows an example of passing a website form \"loginName\" parameter as a tag, which is unsafe.","Type":"Description","Title":"DataDog::DogStatsd versions through 0.07 for Perl allow metric i"}]}}}