CVE-2026-141539
Addressable native IDNA backend truncates a host at a pct-encoded NUL when normalizing
- Severity
- medium CVSS 4.8 (v3.1)
- Affects
- addressable · sporkmonger
- Weakness
- CWE-158: Improper Neutralization of Null Byte or NUL Character
- Published
- 1 December 2026 by GitHub_M
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.2.5 until 2.10.0, With the native IDNA backend, Addressable::URI#normalized_host passes a percent-encoded NUL after decoding to libidn, which truncates the remainder of the label. An application that checks the original host but uses normalize, origin, display_uri, or normalized_host can be made to send a request to a shortened host that it intended to block. This issue is fixed in version 2.10.0.
Our coverage
We have not written about this one. Know why it matters? Send a tip.