All vulnerabilities

RubyGems

CVE-2026-129784

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

Severity
High 8.5
Published
16 Nov 2026
Last changed
16 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.9.1
Exploit chance
0.7% in the next 30 daysHigher than 52% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Deserialization of untrusted data (CWE-502)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
httpxRubyGems · osv:RubyGems:httpx
  • From 1.9.0 before 1.9.1

About httpx

Total downloads (RubyGems)
13,679,559RubyGems, 24 Nov 2026

This is the only vulnerability in httpx in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-129784