CVE-2026-129784
8.5HighPublished 16 Nov 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- High
- Privileges
- Low
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-502
What an attacker gets
Authenticated attackers can achieve remote code execution if they control the URL fetched by the application. This occurs because the library insecurely deserializes JSON responses when the oj gem is present.
Root cause
The httpx gem uses Oj.load with default settings, which allows arbitrary object instantiation and gadget chain execution.
Affected versions
httpx 1.9.0
CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Fix & remediation
Upgrade to httpx 1.9.1. If you cannot upgrade immediately, ensure the oj gem is not installed or configured to use safe loading modes.
$ bundle update httpxAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
- https://github.com/HoneyryderChuck/httpx
- https://github.com/HoneyryderChuck/httpx/commit/eeb785d3250eee9379494fb62c37c315a31e327c
- https://github.com/HoneyryderChuck/httpx/releases/tag/v1.9.1
- https://github.com/ohler55/oj/blob/develop/pages/Security.md
- https://gitlab.com/os85/httpx
- https://gitlab.com/os85/httpx/-/commit/eeb785d3250eee9379494fb62c37c315a31e327c
- https://rubygems.org/gems/httpx