CVE-2026-141539: Addressable native IDNA backend truncates a host at a pct-encoded NUL when normalizing
Affects addressableSource GCVE Database
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
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 4.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:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| RubyGemsaddressable | Affected
| Fixed in
|
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
- github.com/sporkmonger/addressable/security/advisories/GHSA-mrrj-5mhw-rcf2 (opens in a new tab)
- github.com/sporkmonger/addressable/commit/19da0e8a2f4aed2328b25cbde83d7053890d8972 (opens in a new tab)
- github.com/sporkmonger/addressable (opens in a new tab)
- github.com/sporkmonger/addressable/releases/tag/addressable-2.10.0 (opens in a new tab)