Insecure deserializaiton in the httpx Ruby gem via unsafe Oj object-mode
CVE-2026-129784Published 16 Nov 2026, 10:53 UTC
Real-world risk
2.3/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.5
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from JFROG)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| httpxNiche | >= 1.9.0, < 1.9.1 | 1.9.1 |
What to do
Update to a fixed version: 1.9.1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.7% chance of exploitation in 30 days (percentile 53), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.270
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.27 × threat 0.852.295
- Rounded to one decimal between 0.1 and 102.3
Exploitation and evidence timeline
- 16 Nov 2026 Published
- 2 Dec 2026 Risk 2.3 (cvss fallback)
Weakness
CWE-502
References
- https://github.com/HoneyryderChuck/httpxproduct
- https://rubygems.org/gems/httpxproduct
- https://github.com/HoneyryderChuck/httpx/commit/eeb785d3250eee9379494fb62c37c315a31e327cpatch
- https://github.com/HoneyryderChuck/httpx/releases/tag/v1.9.1patch
- https://github.com/ohler55/oj/blob/develop/pages/Security.mdtechnical-description
- https://gitlab.com/os85/httpxproduct
- https://gitlab.com/os85/httpx/-/commit/eeb785d3250eee9379494fb62c37c315a31e327cpatch
- CVE-2026-129784 on CVE.org