
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-141539 is a security feature bypass vulnerability in the Addressable Ruby gem's native IDNA backend, where a percent-encoded NUL byte (%00) in a hostname causes Addressable::URI#normalized_host to truncate the remainder of the hostname label when passed to libidn. This allows an attacker to craft a URL that bypasses host-based allow/block checks in applications that validate the raw host but use normalized forms for outbound requests. The vulnerability affects Addressable versions >= 2.2.5 and <= 2.9.2 when the idn-ruby gem is installed; the pure-Ruby IDNA backend is not affected. It was published on November 23, 2026, and assigned a CVSS v3.1 base score of 4.8 (Medium) (Github Advisory, GitHub Security Advisory).
The root cause is improper neutralization of NUL bytes when processing internationalized domain names (CWE-158, CWE-626). When the native IDNA backend (via idn-ruby) is active, Addressable::URI#normalized_host percent-decodes the hostname and passes each label to libidn; libidn interprets the NUL byte (\0) as a C-string terminator and silently drops the rest of the label. For example, http://internal.example%00x/ normalizes to http://internal.example/. Methods such as #host and #to_s preserve the original encoded form, while #normalize, #normalized_host, #normalized_authority, #normalized_site, #origin, #display_uri, and #== all return or compare against the truncated host. An application is only vulnerable if it mixes these two representations — e.g., performing a denylist check on uri.host but making the outbound request via uri.normalize or uri.origin (Github Advisory, GitHub Security Advisory).
Successful exploitation allows an unauthenticated remote attacker to bypass host-based security controls (e.g., denylists or SSRFs protections) in Ruby applications that use Addressable with the native IDNA backend. The attacker can cause the application to send requests to a host it intended to block, resulting in low confidentiality impact (access to restricted resources) and low integrity impact (unauthorized outbound requests), with no availability impact. The vulnerability is particularly relevant in server-side request forgery (SSRF) mitigation logic and webhook URL validation scenarios (Github Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (Github Advisory). The EPSS score is 0.0, reflecting very low current exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires high attack complexity, as the attacker must supply a crafted URL to an application that specifically mixes raw and normalized host representations for security checks.
idn-ruby gem installed, which performs host-based security checks (e.g., SSRF protection, webhook URL validation) using uri.host or uri.to_s but makes outbound requests using uri.normalize, uri.origin, or uri.display_uri.internal.example is blocked: http://internal.example%00attacker.com/.uri.host, which returns internal.example%00attacker.com — not matching the blocked host internal.example, so the check passes.uri.normalize or uri.origin to build the outbound request, libidn truncates the label at the NUL, and the request is sent to internal.example — the host the application intended to block (Github Advisory, GitHub Security Advisory).Host header does not match the URL as submitted by the user.%00 (percent-encoded NUL) in the hostname field (e.g., internal.example%00somestring); web server or proxy logs showing requests to internal resources originating from the application tier.Upgrade the addressable gem to version 2.10.0, which fixes the native IDNA backend to leave labels containing a NUL byte unchanged (consistent with the pure-Ruby backend behavior) (Github Advisory, Addressable 2.10.0 Release). If immediate upgrade is not possible, apply one of the following workarounds: (1) validate the host using the same normalized value used for the outbound request (e.g., check uri.normalize.host instead of uri.host); (2) explicitly reject any URI whose host contains %00; or (3) remove the idn-ruby gem so Addressable falls back to the unaffected pure-Ruby IDNA backend. Additionally, restrict egress from application servers where feasible to limit the blast radius of any bypass.
The vulnerability was discovered and reported by Bob Aman (@sporkmonger), the maintainer of the Addressable gem itself, and was fixed in the same release (Github Advisory). The advisory was published to the GitHub Advisory Database on December 1, 2026, and received standard automated tracking from vulnerability aggregators. No significant broader media coverage or notable researcher commentary beyond the official advisory has been observed.
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."