CVE-2026-129784
Received Received - Intake

Remote Code Execution in httpx Ruby Gem via Oj JSON Parsing

Vulnerability report for CVE-2026-129784, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-16

Last updated on: 2026-11-16

Assigner: JFrog

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-16
Last Modified
2026-11-16
Generated
2026-11-16
AI Q&A
2026-11-16
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
os85 httpx From 1.9.0 (inc) to 1.9.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-502 The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The httpx Ruby gem's JSON parsing has a flaw where HTTPX::Response#json uses Oj.load without strict mode when oj gem is loaded. This allows attackers who control the fetched URL to instantiate arbitrary Ruby classes or set instance variables via crafted JSON, potentially leading to remote code execution if a gadget chain exists.

Impact Analysis

An attacker could exploit this to execute arbitrary code in your application if it uses httpx 1.9.0 and processes JSON responses from untrusted sources. This could lead to data breaches, system compromise, or unauthorized actions depending on the application's context.

Compliance Impact

This vulnerability could violate compliance requirements like GDPR (data protection) or HIPAA (health data security) by enabling unauthorized code execution, potentially leading to data leaks or system breaches. Organizations must ensure patched versions are used to maintain compliance.

Mitigation Strategies
  • Upgrade httpx to version 1.9.1 or later to address the vulnerability.
  • Review and update JSON parsing logic to use Oj in strict mode by adding mode: :strict to Oj.load calls.
  • Avoid using Oj.load without strict mode when processing untrusted JSON data.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-129784. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...