{"id":"CVE-2026-129784","published":"2026-11-16T10:53:51Z","modified":"2026-11-16T18:13:11Z","title":"Insecure deserializaiton in the httpx Ruby gem via unsafe Oj object-mode","vendor":"os85","product":"httpx","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00659,"percentile":0.52453,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/HoneyryderChuck/httpx","tags":["product"]},{"url":"https://rubygems.org/gems/httpx","tags":["product"]},{"url":"https://github.com/HoneyryderChuck/httpx/commit/eeb785d3250eee9379494fb62c37c315a31e327c","tags":["patch"]},{"url":"https://github.com/HoneyryderChuck/httpx/releases/tag/v1.9.1","tags":["patch"]},{"url":"https://github.com/ohler55/oj/blob/develop/pages/Security.md","tags":["technical-description"]},{"url":"https://gitlab.com/os85/httpx","tags":["product"]},{"url":"https://gitlab.com/os85/httpx/-/commit/eeb785d3250eee9379494fb62c37c315a31e327c","tags":["patch"]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":10.49},{"name":"CVSS severity","points":5.95}]},"vendorSlug":"os85","affectedVersions":[{"vendor":"os85","product":"httpx","versions":[">= 1.9.0, < 1.9.1"]}],"solutions":{"items":["Upgrade to httpx 1.9.1, which calls Oj.load with an explicit { mode: :strict } default. If upgrading is not possible, pass a safe mode at the call site (response.json(mode: :strict)), or set a safe process-wide default such as Oj.default_options = { mode: :strict } (or :rails) before any untrusted JSON is parsed. Do not rely on Oj's shipped :object default for data that arrived over the network."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-16T14:38:24.834539Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-126245","exploited":false,"provenance":"source"}}