PT-2026-146069
CVE-2026-126349
·
Published
2026-11-12
·
Updated
2026-11-13
Description by
CVSS 3.1
3.1
LowMetricsAV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions
Addressable versions 2.0.0 through 2.9.0
Description
Addressable::IDNA.to unicode decodes Punycode labels containing bidirectional controls, zero-width characters, control characters, or other default-ignorable format characters. Consequently, Addressable::URI#display uri can show a hostname that is visually indistinguishable from another or appears reordered, even though the actual network connections and normalized host use the original encoded hostname. This can be used in applications that show link previews or admin interfaces to make a malicious domain appear trusted. In the pure-Ruby backend, all prohibited characters are decoded. In the native libidn backend, characters added after Unicode 3.2 are affected.Recommendations
Update Addressable to version 2.9.1.
As a temporary workaround, install libidn and the
idn-ruby gem to use the native IDNA implementation, which limits the affected characters.
As a temporary workaround, check displayed hosts for bidirectional and invisible characters and fall back to normalized host if any are found. Found an issue in the description? Have something to add? Feel free to write us 👾