Search
Find a vulnerability
Search criteria
2 vulnerabilities by os85
CVE-2026-129784 (GCVE-0-2026-129784)
Vulnerability from nvd – Published: 2026-11-16 10:53 – Updated: 2026-11-16 18:13
VLAI
EPSS
VEX
Title
Insecure deserializaiton in the httpx Ruby gem via unsafe Oj object-mode
Summary
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
8.5 (High)
SSVC
Exploitation: none
Automatable: no
Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-16 14:38 UTC
CWE
- CWE-502 - Deserialization of Untrusted Data
Assigner
References
7 references
| URL | Tags |
|---|---|
| https://github.com/HoneyryderChuck/httpx | product |
| https://rubygems.org/gems/httpx | product |
| https://github.com/HoneyryderChuck/httpx/commit/e… | patch |
| https://github.com/HoneyryderChuck/httpx/releases… | patch |
| https://github.com/ohler55/oj/blob/develop/pages/… | technical-description |
| https://gitlab.com/os85/httpx | product |
| https://gitlab.com/os85/httpx/-/commit/eeb785d325… | patch |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-129784",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-11-16T14:38:24.834539Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-11-16T18:13:11.328Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"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": "\u003cp\u003eAffects 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.\u003c/p\u003e"
}
],
"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": "\u003cp\u003eThe httpx Ruby gem parses JSON response bodies through its transcoder layer. \u003ccode\u003eHTTPX::Response#json\u003c/code\u003e delegates to \u003ccode\u003eTranscoder::JSON.decode\u003c/code\u003e, and when the oj gem is loaded and multi_json is absent, the decoder falls back to \u003ccode\u003ejson_load\u003c/code\u003e, which calls \u003ccode\u003eOj.load(response.to_s)\u003c/code\u003e with no mode option. \u003ccode\u003eOj.load\u003c/code\u003e defaults to \u003ccode\u003e:object\u003c/code\u003e mode, in which a response document can allocate any already-loaded Ruby class (\u003ccode\u003e\"^o\":\"ClassName\"\u003c/code\u003e) and set its instance variables, or resolve a class or module reference (\u003ccode\u003e\"^c\":\"Name\"\u003c/code\u003e). An attacker who controls, or can influence, the URL an application fetches with \u003ccode\u003eHTTPX.get(url).json\u003c/code\u003e 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.\u003c/p\u003e"
}
],
"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": "\u003cp\u003eUpgrade to httpx 1.9.1, which calls \u003ccode\u003eOj.load\u003c/code\u003e with an explicit \u003ccode\u003e{ mode: :strict }\u003c/code\u003e default. If upgrading is not possible, pass a safe mode at the call site (\u003ccode\u003eresponse.json(mode: :strict)\u003c/code\u003e), or set a safe process-wide default such as \u003ccode\u003eOj.default_options = { mode: :strict }\u003c/code\u003e (or \u003ccode\u003e:rails\u003c/code\u003e) before any untrusted JSON is parsed. Do not rely on Oj\u0027s shipped \u003ccode\u003e:object\u003c/code\u003e default for data that arrived over the network.\u003c/p\u003e"
}
],
"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\u0027s 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-16T18:13:11.328Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-129784 (GCVE-0-2026-129784)
Vulnerability from cvelistv5 – Published: 2026-11-16 10:53 – Updated: 2026-11-16 18:13
VLAI
EPSS
VEX
Title
Insecure deserializaiton in the httpx Ruby gem via unsafe Oj object-mode
Summary
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
8.5 (High)
SSVC
Exploitation: none
Automatable: no
Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-16 14:38 UTC
CWE
- CWE-502 - Deserialization of Untrusted Data
Assigner
References
7 references
| URL | Tags |
|---|---|
| https://github.com/HoneyryderChuck/httpx | product |
| https://rubygems.org/gems/httpx | product |
| https://github.com/HoneyryderChuck/httpx/commit/e… | patch |
| https://github.com/HoneyryderChuck/httpx/releases… | patch |
| https://github.com/ohler55/oj/blob/develop/pages/… | technical-description |
| https://gitlab.com/os85/httpx | product |
| https://gitlab.com/os85/httpx/-/commit/eeb785d325… | patch |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-129784",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-11-16T14:38:24.834539Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-11-16T18:13:11.328Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"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": "\u003cp\u003eAffects 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.\u003c/p\u003e"
}
],
"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": "\u003cp\u003eThe httpx Ruby gem parses JSON response bodies through its transcoder layer. \u003ccode\u003eHTTPX::Response#json\u003c/code\u003e delegates to \u003ccode\u003eTranscoder::JSON.decode\u003c/code\u003e, and when the oj gem is loaded and multi_json is absent, the decoder falls back to \u003ccode\u003ejson_load\u003c/code\u003e, which calls \u003ccode\u003eOj.load(response.to_s)\u003c/code\u003e with no mode option. \u003ccode\u003eOj.load\u003c/code\u003e defaults to \u003ccode\u003e:object\u003c/code\u003e mode, in which a response document can allocate any already-loaded Ruby class (\u003ccode\u003e\"^o\":\"ClassName\"\u003c/code\u003e) and set its instance variables, or resolve a class or module reference (\u003ccode\u003e\"^c\":\"Name\"\u003c/code\u003e). An attacker who controls, or can influence, the URL an application fetches with \u003ccode\u003eHTTPX.get(url).json\u003c/code\u003e 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.\u003c/p\u003e"
}
],
"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": "\u003cp\u003eUpgrade to httpx 1.9.1, which calls \u003ccode\u003eOj.load\u003c/code\u003e with an explicit \u003ccode\u003e{ mode: :strict }\u003c/code\u003e default. If upgrading is not possible, pass a safe mode at the call site (\u003ccode\u003eresponse.json(mode: :strict)\u003c/code\u003e), or set a safe process-wide default such as \u003ccode\u003eOj.default_options = { mode: :strict }\u003c/code\u003e (or \u003ccode\u003e:rails\u003c/code\u003e) before any untrusted JSON is parsed. Do not rely on Oj\u0027s shipped \u003ccode\u003e:object\u003c/code\u003e default for data that arrived over the network.\u003c/p\u003e"
}
],
"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\u0027s 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-16T18:13:11.328Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}