Skip to main content
VulnerabilityPublished

CVE-2026-141539: Addressable native IDNA backend truncates a host at a pct-encoded NUL when normalizing

Affects addressableSource GCVE Database

0
Compare
Authoritative record:CVE-2026-141539· Medium 4.8

Not known to be exploited · CVSS 4.8 Medium : upgrade to 2.10.0 when convenient.

Data as of 2 Dec 2026, 00:18 UTC

CVSS 3.1 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.14.8
Patch
Available – fixed in 2.10.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.

What to do

Upgrade addressable to 2.10.0.

Affected software

ProductAffectedFixed in
RubyGemsaddressableAffected
  • >=2.2.5 <2.10.0
Fixed in
  • 2.10.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in Addressable version 2.10.0, which preserves labels containing NUL characters during normalization. Until upgrading, applications should ensure they consistently check and use the same host form—preferably the normalized host (e.g., uri.normalize.host) if that is used for requests. Alternatively, reject URIs containing '%00' in the host or remove the idn-ruby gem to force use of the pure-Ruby backend, which is not affected.

Description

Addressable versions 2.2.5 through before 2.10.0, when used with the native IDNA backend provided by the idn-ruby gem, improperly truncate hostnames at a percent-encoded NUL character during normalization. This causes discrepancies between the original URI host and its normalized form, potentially allowing bypass of host-based denylist checks if an application inconsistently compares or uses these forms. The issue is fixed in version 2.10.0 by preserving labels containing NUL characters as the pure-Ruby backend does.

References

Community reviews

Loading reviews…