{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-129784", "assignerOrgId": "48a46f29-ae42-4e1d-90dd-c1676c1e5e6d", "state": "PUBLISHED", "assignerShortName": "JFROG", "dateReserved": "2026-11-16T10:52:48.547Z", "datePublished": "2026-11-16T10:53:51.915Z", "dateUpdated": "2026-11-16T18:13:11.328Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "48a46f29-ae42-4e1d-90dd-c1676c1e5e6d", "shortName": "JFROG", "dateUpdated": "2026-11-16T10:53:51.915Z" }, "title": "Insecure deserializaiton in the httpx Ruby gem via unsafe Oj object-mode", "problemTypes": [ { "descriptions": [ { "lang": "en", "cweId": "CWE-502", "description": "CWE-502: Deserialization of Untrusted Data", "type": "CWE" } ] } ], "affected": [ { "vendor": "os85", "product": "httpx", "collectionURL": "https://rubygems.org/gems/httpx", "packageName": "httpx", "repo": "https://gitlab.com/os85/httpx", "programFiles": [ "lib/httpx/transcoder/json.rb", "lib/httpx/response.rb" ], "versions": [ { "status": "affected", "version": "1.9.0", "lessThan": "1.9.1", "versionType": "semver" } ], "defaultStatus": "unaffected" } ], "descriptions": [ { "lang": "en", "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.", "supportingMedia": [ { "type": "text/html", "base64": false, "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.

" } ] } ], "references": [ { "url": "https://github.com/HoneyryderChuck/httpx", "name": "httpx repository", "tags": [ "product" ] }, { "url": "https://rubygems.org/gems/httpx", "name": "httpx on RubyGems", "tags": [ "product" ] }, { "url": "https://github.com/HoneyryderChuck/httpx/commit/eeb785d3250eee9379494fb62c37c315a31e327c", "name": "Fix commit: json: fix oj integration to avoid RCE mode", "tags": [ "patch" ] }, { "url": "https://github.com/HoneyryderChuck/httpx/releases/tag/v1.9.1", "name": "httpx v1.9.1 (fixed version)", "tags": [ "patch" ] }, { "url": "https://github.com/ohler55/oj/blob/develop/pages/Security.md", "name": "Oj security documentation: :object mode and safe loading", "tags": [ "technical-description" ] }, { "url": "https://gitlab.com/os85/httpx", "tags": [ "product" ] }, { "url": "https://gitlab.com/os85/httpx/-/commit/eeb785d3250eee9379494fb62c37c315a31e327c", "tags": [ "patch" ] } ], "metrics": [ { "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." } ], "cvssV3_1": { "version": "3.1", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseSeverity": "HIGH", "baseScore": 8.5, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H" } } ], "configurations": [ { "lang": "en", "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.", "supportingMedia": [ { "type": "text/html", "base64": false, "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.

" } ] } ], "solutions": [ { "lang": "en", "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.", "supportingMedia": [ { "type": "text/html", "base64": false, "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.

" } ] } ], "timeline": [ { "time": "2026-11-04T00:00:00.000Z", "lang": "en", "value": "JFrog reports the issue to the httpx maintainer via email." }, { "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." } ], "credits": [ { "lang": "en", "value": "Natan Nehorai of the JFrog Vulnerability Research team", "type": "finder" }, { "lang": "en", "value": "JFrog Security Research", "type": "coordinator" } ], "source": { "discovery": "EXTERNAL" }, "x_generator": { "engine": "Vulnogram 1.0.5" } }, "adp": [ { "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2026-11-16T14:38:24.834539Z", "id": "CVE-2026-129784", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-11-16T18:13:11.328Z" } } ] } }