CVE-2026-129784 Insecure deserializaiton in the httpx Ruby gem via unsafe Oj object-mode

High 8.5 Published Updated

Attackers controlling fetched URLs can make httpx deserialize JSON into arbitrary Ruby objects, potentially executing code in apps using the oj gem.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Harmful if only installed
No
Needs a specific call
Yes
Fix
None listed

What is CVE-2026-129784?

CVE-2026-129784 is a high-severity unsafe deserialization vulnerability in os85 httpx, published on 16 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-502

Which versions are affected by CVE-2026-129784?

An affected version is only exploitable if your software calls HTTPX::Response#json or Oj.load. Many projects that include it are not exposed.

How do I fix CVE-2026-129784?

No fix has been published for CVE-2026-129784 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2026-129784 being exploited?

There is no known exploitation of CVE-2026-129784 in the wild and no public exploit code.

Sources

Also known as GHSA-jgqw-w3x2-9h6q, UBUNTU-CVE-2026-129784.

Is CVE-2026-129784 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free