{"id":"CVE-2026-129784","summary":"Insecure deserializaiton in the httpx Ruby gem via unsafe Oj object-mode","details":"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.","modified":"2026-11-17T21:00:48.341990681Z","published":"2026-11-16T10:53:51.915Z","database_specific":{"cna_assigner":"JFROG","cwe_ids":["CWE-502"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129784.json"},"references":[{"type":"WEB","url":"https://rubygems.org/gems/httpx"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129784.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129784"},{"type":"FIX","url":"https://github.com/HoneyryderChuck/httpx/commit/eeb785d3250eee9379494fb62c37c315a31e327c"},{"type":"FIX","url":"https://github.com/HoneyryderChuck/httpx/releases/tag/v1.9.1"},{"type":"FIX","url":"https://gitlab.com/os85/httpx/-/commit/eeb785d3250eee9379494fb62c37c315a31e327c"},{"type":"PACKAGE","url":"https://github.com/HoneyryderChuck/httpx"},{"type":"PACKAGE","url":"https://gitlab.com/os85/httpx"},{"type":"ARTICLE","url":"https://github.com/ohler55/oj/blob/develop/pages/Security.md"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/honeyryderchuck/httpx","events":[{"introduced":"022952f38f0cb5960be1c3b1ef195042f1b440c0"},{"fixed":"2c46ae44ed53877f66fff04ad5eae1d064c56d16"},{"fixed":"eeb785d3250eee9379494fb62c37c315a31e327c"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"1.9.0"},{"fixed":"1.9.1"}]},{"range":[{"fixed":"eeb785d3250eee9379494fb62c37c315a31e327c"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v1.9.1","range":[{"fixed":"2c46ae44ed53877f66fff04ad5eae1d064c56d16"}],"source":"REFERENCES_TAG"}]}},{"type":"GIT","repo":"https://gitlab.com/os85/httpx","events":[{"introduced":"0"},{"fixed":"eeb785d3250eee9379494fb62c37c315a31e327c"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"eeb785d3250eee9379494fb62c37c315a31e327c"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v1.9.0","v1.8.4","v1.8.3","v1.8.2","v1.8.1","v1.8.0","v1.7.8","v1.7.7","v1.7.6","v1.7.5","v1.7.4","v1.7.3","v1.7.2","v1.7.1","v1.7.0","v1.6.3","v1.6.2","v1.6.1","v1.6.0","v1.5.1","v1.5.0","v1.4.4","v1.4.3","v1.4.2","v1.4.1","v1.4.0","v1.3.4","v1.3.3","v1.3.2","v1.3.1","v1.3.0","v1.2.6","v1.2.5","v1.2.4","v1.2.3","v1.2.2","v1.2.1","v1.2.0","v1.1.5","v1.1.4","v1.1.3","v1.1.2","v1.1.1","v1.1.0","v1.0.2","v1.0.1","v1.0.0","v0.24.5","v0.24.4","v0.24.3","v0.24.2","v0.24.1","v0.24.0","v0.23.3","v0.23.2","v0.23.1","v0.23.0","v0.22.5","v0.22.4","v0.22.3","v0.22.2","v0.22.1","v0.22.0","v0.21.1","v0.21.0","v0.20.4","v0.20.3","v0.20.2","v0.20.1","v0.20.0","v0.19.8","v0.19.7","v0.19.6","v0.19.5","v0.19.4","v0.19.3","v0.19.2","v0.19.0","v0.18.5","v0.18.4","v0.18.3","v0.18.2","v0.18.1","v0.18.0","v0.17.0","v0.16.0","v0.15.4","v0.15.3","v0.15.2","v0.15.1","v0.15.0","v0.14.3","v0.14.2","v0.14.1","v0.14.0","v0.13.2","v0.13.1","v0.13.0","v0.12.0","v0.11.1","v0.11.0","v0.10.2","v0.10.1","v0.10.0","v0.9.0","v0.8.2","v0.8.1","v0.8.0","v0.7.0","v0.6.7","v0.6.6","v0.6.5","v0.6.4","v0.6.3","v0.6.2","v0.6.1","v0.6.0","v0.5.1","v0.5.0","v0.4.1","v0.4.0","v0.3.1","v0.3.0","v0.2.1","v0.2.0","v0.1.0","v0.0.5","v0.0.4","v0.0.3","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-129784.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}