Skip to content

httpx

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?

ProductAffected versions (from the sources)Fixed in
httpxNiche>= 1.9.0, < 1.9.11.9.1

What to do

Update to a fixed version: 1.9.1.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededLowA real low-privileged accountFrom the CVSS vector0.60
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.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
  1. Prerequisites multiplied together0.270
  2. Threat T1: Nothing known0.850
  3. 10 × impact 1 × prerequisites 0.27 × threat 0.852.295
  4. Rounded to one decimal between 0.1 and 102.3

How the score works

Exploitation and evidence timeline

  1. 16 Nov 2026 Published
  2. 2 Dec 2026 Risk 2.3 (cvss fallback)

Weakness

CWE-502

References

Get alerts for httpx

Free email or text alerts when a vulnerability in httpx reaches risk 8 or higher. Nothing else.