diff --git a/gems/httpx/CVE-2026-129784.yml b/gems/httpx/CVE-2026-129784.yml new file mode 100644 index 0000000000..5f3f7110d8 --- /dev/null +++ b/gems/httpx/CVE-2026-129784.yml @@ -0,0 +1,38 @@ +--- +gem: httpx +cve: 2026-129784 +ghsa: jgqw-w3x2-9h6q +url: https://nvd.nist.gov/vuln/detail/CVE-2026-129784 +title: Possible RCE with httpx gema +date: 2026-11-16 +description: | + The httpx Ruby gem parses JSON response bodies through its transcoder + layer. HTTPX::Response#json delegates to Transcoder::JSON.decode, and + when the oj gem is loaded and multi_json is absent, the decoder falls + back to json_load, which calls Oj.load(response.to_s) with no mode + option. Oj.load defaults to :object mode, in which a response document + can allocate any already-loaded Ruby class ("^o":"ClassName") and + set its instance variables, or resolve a class or module reference + ("^c":"Name"). An attacker who controls, or can influence, the URL + an application fetches with HTTPX.get(url).json therefore controls + object instantiation in the victim process. With a matching gadget + chain, this issue can potentially cause remote code execution. + Affects httpx 1.9.0; fixed in 1.9.1. +cvss_v3: 8.5 +unaffected_versions: + - "< 1.9.0" +patched_versions: + - ">= 1.9.1" +related: + url: + - https://nvd.nist.gov/vuln/detail/CVE-2026-129784 + - https://rubygems.org/gems/httpx/versions/1.9.1 + - https://github.com/HoneyryderChuck/httpx/releases/tag/v1.9.1 + - https://github.com/HoneyryderChuck/httpx/compare/v1.9.0...v1.9.1 + - https://github.com/HoneyryderChuck/httpx/commit/eeb785d3250eee9379494fb62c37c315a31e327c + - https://gitlab.com/os85/httpx/-/commit/eeb785d3250eee9379494fb62c37c315a31e327c + - https://github.com/ohler55/oj/blob/develop/pages/Security.md + - https://github.com/advisories/GHSA-jgqw-w3x2-9h6q +notes: | + - cvss_v3 from nvd.nist.gov and GHSA URL. + - NOTE: Source Code on Gitlab.com, Mirror on Github.com.