CVE-2026-129784
published high CVSS 3.1 · 8.5Insecure deserializaiton in the httpx Ruby gem via unsafe Oj object-mode
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| os85 | — | httpx1.9.0 to < 1.9.1 · Other versions: unaffected | Affected | Not stated | JFROG |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- JFROG · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- Scenarios
- en: 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.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| os85 | httpx | 1.9.0 to < 1.9.1 (affected · semver)Default: unaffected | JFROG · cna |
Weaknesses
1- CWE-502 CWE-502: Deserialization of Untrusted Data
References
7- httpx repository https://github.com/HoneyryderChuck/httpx
- Fix commit: json: fix oj integration to avoid RCE mode https://github.com/HoneyryderChuck/httpx/commit/eeb785d3250eee9379494fb62c37c315a31e327c
- httpx v1.9.1 (fixed version) https://github.com/HoneyryderChuck/httpx/releases/tag/v1.9.1
- Oj security documentation: :object mode and safe loading https://github.com/ohler55/oj/blob/develop/pages/Security.md
- https://gitlab.com/os85/httpx
- https://gitlab.com/os85/httpx/-/commit/eeb785d3250eee9379494fb62c37c315a31e327c
- httpx on RubyGems https://rubygems.org/gems/httpx
Provider assertions
2JFROG · cna
Insecure deserializaiton in the httpx Ruby gem via unsafe Oj object-mode
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 08e8a6e4ef1ca66f5185f5f2d0f79babe64f9b0d86feaf80f4f0b26b559c06a0
- Ingested
- 16 Nov 2026, 18:17:51 UTC
- Source record
- Official CVE record