{"affected":[{"product":"addressable","source":"CNA: GitHub_M","vendor":"sporkmonger","versions":[{"status":"affected","version":">= 2.0.0, < 2.9.1"}]}],"cveId":"CVE-2026-126348","cwes":["CWE-20","CWE-1007"],"description":"Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.0.0 until 2.9.1, the pure-Ruby Addressable::IDNA.to_unicode implementation decodes invalid Punycode A-labels instead of returning them unchanged. Labels that decode to ASCII text or fail to convert back to the same A-label can therefore make Addressable::URI#display_uri show a trusted-looking host while host, normalized_host, and the connection target retain the attacker-controlled encoded host. A trusted-name comparison using Addressable::IDNA.to_unicode output can also treat two different hosts as the same without displaying the URI. The native libidn implementation, to_ascii, and normalized_host are unaffected. This issue is fixed in version 2.9.1.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":4.3,"severity":"medium","source":"CNA: GitHub_M","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},{"score":4.3,"severity":"medium","source":"NVD: security-advisories@github.com","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"}],"modifiedAt":1794521959930,"publishedAt":1794520675237,"references":[{"source":"CNA: GitHub_M","tags":["x_refsource_CONFIRM"],"url":"https://github.com/sporkmonger/addressable/security/advisories/GHSA-9crm-g4mf-wc5j"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/sporkmonger/addressable/commit/b8a59cc0e03f8704f1d7c8122fc8f7ef8548362d"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/sporkmonger/addressable/releases/tag/addressable-2.9.1"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/sporkmonger/addressable/commit/b8a59cc0e03f8704f1d7c8122fc8f7ef8548362d"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/sporkmonger/addressable/releases/tag/addressable-2.9.1"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/sporkmonger/addressable/security/advisories/GHSA-9crm-g4mf-wc5j"}],"remediation":[],"revision":"41fef10213bc219c66f9865875e8a258b3e0e68aaa055264824f781d235da48c","sources":[{"modifiedAt":1794520675237,"name":"CNA: GitHub_M","retrievedAt":1794522598712,"url":"https://www.cve.org/CVERecord?id=CVE-2026-126348"},{"modifiedAt":1794521959930,"name":"NVD","retrievedAt":1794529644469,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126348"}],"ssvc":null,"status":"published","title":"Addressable display_uri can show misleading hosts with invalid Punycode A-labels","updatedAt":1794529644469}