{"id":"CVE-2026-129784","aliases":["EUVD-2026-126245","GHSA-jgqw-w3x2-9h6q","UBUNTU-CVE-2026-129784"],"status":"published","title":"Insecure deserializaiton in the httpx Ruby gem via unsafe Oj object-mode","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.","severity":{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-12-04","score":0.00659,"percentile":0.52942,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-502"],"published":"2026-11-16T10:53:51Z","modified":"2026-12-03T20:45:19Z","affected":[{"source":"osv","ecosystem":"Ubuntu:26.10","package":"ruby-httpx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.6-1","1.8.0-1","1.8.1-1"]}],"products":[{"vendor":"os85","product":"httpx"}],"references":[{"url":"https://github.com/HoneyryderChuck/httpx","tags":["product","package"]},{"url":"https://rubygems.org/gems/httpx","tags":["product","web"]},{"url":"https://github.com/HoneyryderChuck/httpx/commit/eeb785d3250eee9379494fb62c37c315a31e327c","tags":["patch","fix"]},{"url":"https://github.com/HoneyryderChuck/httpx/releases/tag/v1.9.1","tags":["patch","fix"]},{"url":"https://github.com/ohler55/oj/blob/develop/pages/Security.md","tags":["technical-description","article"]},{"url":"https://gitlab.com/os85/httpx","tags":["product","package"]},{"url":"https://gitlab.com/os85/httpx/-/commit/eeb785d3250eee9379494fb62c37c315a31e327c","tags":["patch","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129784","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-jgqw-w3x2-9h6q"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129784.json","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-129784","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-129784","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-129784","title":"Insecure deserializaiton in the httpx Ruby gem via unsafe Oj object-mode","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.","status":"published","published":"2026-11-16T10:53:51.915Z","modified":"2026-11-16T18:13:11.328Z","cvss":[{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-502"],"updated_at":"2026-11-16T11:50:47.634661Z"}],"euvd":[{"id":"EUVD-2026-126245","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.","status":"published","published":"2026-11-16T10:53:51Z","modified":"2026-11-16T18:13:11Z","cvss":[{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-16T15:54:23.326154Z"}],"ghsa":[{"id":"GHSA-jgqw-w3x2-9h6q","title":"The httpx Ruby gem parses JSON response bodies through its transcoder layer. HTTPX::Response#json...","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.","status":"published","published":"2026-11-16T12:31:40Z","modified":"2026-11-16T12:31:49Z","cvss":[{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-502"],"updated_at":"2026-11-16T12:40:09.906157Z"}],"nvd":[{"id":"CVE-2026-129784","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.","status":"published","published":"2026-11-16T11:16:45.537Z","modified":"2026-12-02T20:31:05.993Z","cvss":[{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-502"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","date":"2026-11-16"},"updated_at":"2026-12-02T20:36:15.474641Z"}],"osv":[{"id":"CVE-2026-129784","title":"Insecure deserializaiton in the httpx Ruby gem via unsafe Oj object-mode","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.","status":"published","published":"2026-11-16T10:53:51.915Z","modified":"2026-12-03T20:45:19.281272028Z","cvss":[{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-502"],"updated_at":"2026-11-17T21:06:44.007087Z"},{"id":"UBUNTU-CVE-2026-129784","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.","status":"published","published":"2026-11-16T11:16:00Z","modified":"2026-11-24T14:55:34.099068337Z","cvss":[{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-18T14:36:34.043206Z"}]}}
