Addressable Gem Patches Host Truncation Flaw in Native IDNA Backend

2 min read
Source: CVEs | Zero Wire | Cloudflare Radar
Addressable Gem Patches Host Truncation Flaw in Native IDNA Backend
Photo: CVEs | Zero Wire | Cloudflare Radar
TL;DR

A medium-severity vulnerability in the Addressable Ruby gem, which allows attackers to truncate hostnames via percent-encoded null bytes, has been patched in version 2.10.0. The flaw affects applications using the native IDNA backend and could redirect requests to unintended hosts.

Key points

  • CVE-2026-141539 affects Addressable versions 2.2.5 through 2.10.0 when the native IDNA backend is active.
  • The vulnerability allows a percent-encoded null byte to truncate the host label, potentially bypassing security checks.
  • The fix was released in version 2.10.0 on November 23, 2026, by maintainer Bob Aman.
  • The CVSS 3.1 score is 4.8 (Medium) due to high attack complexity but no required privileges or user interaction.

Background

Recent security advisories have highlighted medium-severity flaws in various software, including Dell's Secure Connect Gateway and Tanium's Zone Server. Addressable is a widely used Ruby gem for URI handling, and this patch addresses a specific issue with internationalized domain name processing.

Why it matters

This vulnerability could allow attackers to bypass host-based security controls by tricking applications into sending requests to shortened, unintended hosts. Patching is critical for applications relying on Addressable for URI normalization.

What to watch

Developers should update their Addressable gem to version 2.10.0 or later. Alternatively, they can apply workarounds such as rejecting URIs with %00 in the host or removing the idn-ruby gem to force the pure-Ruby backend.

Share this article

Want the full story? Read the original reporting

Read on CVEs | Zero Wire | Cloudflare Radar