{"api_version":"1","generated_at":"2026-11-16T19:13:12+00:00","cve":"CVE-2026-129784","urls":{"html":"https://cve.report/CVE-2026-129784","api":"https://cve.report/api/cve/CVE-2026-129784.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-129784","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-129784"},"summary":{"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.","state":"PUBLISHED","assigner":"JFROG","published_at":"2026-11-16 11:16:45","updated_at":"2026-11-16 11:16:45"},"problem_types":["CWE-502","CWE-502 CWE-502: Deserialization of Untrusted Data"],"metrics":[{"version":"3.1","source":"reefs@jfrog.com","type":"Secondary","score":"8.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":8.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"8.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://rubygems.org/gems/httpx","name":"https://rubygems.org/gems/httpx","refsource":"reefs@jfrog.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/HoneyryderChuck/httpx","name":"https://github.com/HoneyryderChuck/httpx","refsource":"reefs@jfrog.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://gitlab.com/os85/httpx/-/commit/eeb785d3250eee9379494fb62c37c315a31e327c","name":"https://gitlab.com/os85/httpx/-/commit/eeb785d3250eee9379494fb62c37c315a31e327c","refsource":"reefs@jfrog.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/ohler55/oj/blob/develop/pages/Security.md","name":"https://github.com/ohler55/oj/blob/develop/pages/Security.md","refsource":"reefs@jfrog.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://gitlab.com/os85/httpx","name":"https://gitlab.com/os85/httpx","refsource":"reefs@jfrog.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/HoneyryderChuck/httpx/releases/tag/v1.9.1","name":"https://github.com/HoneyryderChuck/httpx/releases/tag/v1.9.1","refsource":"reefs@jfrog.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/HoneyryderChuck/httpx/commit/eeb785d3250eee9379494fb62c37c315a31e327c","name":"https://github.com/HoneyryderChuck/httpx/commit/eeb785d3250eee9379494fb62c37c315a31e327c","refsource":"reefs@jfrog.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-129784","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129784","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"os85","product":"httpx","version":"affected 1.9.0 1.9.1 semver","platforms":[]}],"timeline":[{"source":"CNA","time":"2026-11-04T00:00:00.000Z","lang":"en","value":"JFrog reports the issue to the httpx maintainer via email."},{"source":"CNA","time":"2026-11-13T00:00:00.000Z","lang":"en","value":"Maintainer commits the fix (eeb785d) changing json_load to use Oj :strict mode; released as httpx v1.9.1."}],"solutions":[{"source":"CNA","title":"","value":"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.","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Natan Nehorai of the JFrog Vulnerability Research team","lang":"en"},{"source":"CNA","value":"JFrog Security Research","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://rubygems.org/gems/httpx","defaultStatus":"unaffected","packageName":"httpx","product":"httpx","programFiles":["lib/httpx/transcoder/json.rb","lib/httpx/response.rb"],"repo":"https://gitlab.com/os85/httpx","vendor":"os85","versions":[{"lessThan":"1.9.1","status":"affected","version":"1.9.0","versionType":"semver"}]}],"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Affects httpx 1.9.0 only when the oj gem is loaded (and loaded before httpx), multi_json is absent from the bundle, and the process has not pinned a safe Oj.default_options. Reaching code execution additionally requires a gadget chain and an attacker-influenced URL passed to response.json. Applications that keep multi_json, pin a safe Oj mode, or call response.json with an explicit safe mode are not exploitable.</p>"}],"value":"Affects httpx 1.9.0 only when the oj gem is loaded (and loaded before httpx), multi_json is absent from the bundle, and the process has not pinned a safe Oj.default_options. Reaching code execution additionally requires a gadget chain and an attacker-influenced URL passed to response.json. Applications that keep multi_json, pin a safe Oj mode, or call response.json with an explicit safe mode are not exploitable."}],"credits":[{"lang":"en","type":"finder","value":"Natan Nehorai of the JFrog Vulnerability Research team"},{"lang":"en","type":"coordinator","value":"JFrog Security Research"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>The httpx Ruby gem parses JSON response bodies through its transcoder layer. <code>HTTPX::Response#json</code> delegates to <code>Transcoder::JSON.decode</code>, and when the oj gem is loaded and multi_json is absent, the decoder falls back to <code>json_load</code>, which calls <code>Oj.load(response.to_s)</code> with no mode option. <code>Oj.load</code> defaults to <code>:object</code> mode, in which a response document can allocate any already-loaded Ruby class (<code>\"^o\":\"ClassName\"</code>) and set its instance variables, or resolve a class or module reference (<code>\"^c\":\"Name\"</code>). An attacker who controls, or can influence, the URL an application fetches with <code>HTTPX.get(url).json</code> 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.</p>"}],"value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"An application loads oj before httpx, does not have multi_json in its bundle, does not pin a safe process-wide Oj.default_options, the Ruby process contains a valid gadget chain, and calls response.json on a response from an attacker-influenced URL."}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-502","description":"CWE-502: Deserialization of Untrusted Data","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-16T10:53:51.915Z","orgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","shortName":"JFROG"},"references":[{"name":"httpx repository","tags":["product"],"url":"https://github.com/HoneyryderChuck/httpx"},{"name":"httpx on RubyGems","tags":["product"],"url":"https://rubygems.org/gems/httpx"},{"name":"Fix commit: json: fix oj integration to avoid RCE mode","tags":["patch"],"url":"https://github.com/HoneyryderChuck/httpx/commit/eeb785d3250eee9379494fb62c37c315a31e327c"},{"name":"httpx v1.9.1 (fixed version)","tags":["patch"],"url":"https://github.com/HoneyryderChuck/httpx/releases/tag/v1.9.1"},{"name":"Oj security documentation: :object mode and safe loading","tags":["technical-description"],"url":"https://github.com/ohler55/oj/blob/develop/pages/Security.md"},{"tags":["product"],"url":"https://gitlab.com/os85/httpx"},{"tags":["patch"],"url":"https://gitlab.com/os85/httpx/-/commit/eeb785d3250eee9379494fb62c37c315a31e327c"}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Upgrade to httpx 1.9.1, which calls <code>Oj.load</code> with an explicit <code>{ mode: :strict }</code> default. If upgrading is not possible, pass a safe mode at the call site (<code>response.json(mode: :strict)</code>), or set a safe process-wide default such as <code>Oj.default_options = { mode: :strict }</code> (or <code>:rails</code>) before any untrusted JSON is parsed. Do not rely on Oj's shipped <code>:object</code> default for data that arrived over the network.</p>"}],"value":"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."}],"source":{"discovery":"EXTERNAL"},"timeline":[{"lang":"en","time":"2026-11-04T00:00:00.000Z","value":"JFrog reports the issue to the httpx maintainer via email."},{"lang":"en","time":"2026-11-13T00:00:00.000Z","value":"Maintainer commits the fix (eeb785d) changing json_load to use Oj :strict mode; released as httpx v1.9.1."}],"title":"Insecure deserializaiton in the httpx Ruby gem via unsafe Oj object-mode","x_generator":{"engine":"Vulnogram 1.0.5"}}},"cveMetadata":{"assignerOrgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","assignerShortName":"JFROG","cveId":"CVE-2026-129784","datePublished":"2026-11-16T10:53:51.915Z","dateReserved":"2026-11-16T10:52:48.547Z","dateUpdated":"2026-11-16T10:53:51.915Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-16 11:16:45","lastModifiedDate":"2026-11-16 11:16:45","problem_types":["CWE-502","CWE-502 CWE-502: Deserialization of Untrusted Data"],"metrics":{"cvssMetricV31":[{"source":"reefs@jfrog.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":8.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"129784","Ordinal":"1","Title":"Insecure deserializaiton in the httpx Ruby gem via unsafe Oj obj","CVE":"CVE-2026-129784","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"129784","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Insecure deserializaiton in the httpx Ruby gem via unsafe Oj obj"}]}}}