Skip to main content

httpx Ruby gem CVE-2026-129784

| EUVDEUVD-2026-126245 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-11-16 JFROG GHSA-jgqw-w3x2-9h6q
8.5
CVSS 3.1 · Vendor: JFROG
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Influence URL the app fetches
  2. Delivery
    Serve crafted Oj object-mode JSON
  3. Exploit
    Response decoded via Oj.load default :object mode
  4. Execution
    Instantiate gadget-chain classes and set ivars
  5. Impact
    Achieve remote code execution in victim process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a specific, non-default stack: the oj gem must be loaded AND multi_json must be absent, which forces HTTPX::Response#json down the json_load fallback that calls Oj.load with no mode (defaulting to :object). The application must call .json (e.g. HTTPX.get(url).json) on a response from a URL the attacker controls or can influence, and for code execution a usable gadget chain must exist among classes already loaded in the victim process. Limiting factors: the dual dependency condition (oj present, multi_json absent) is non-default; attacker control/influence over the fetched URL is required; and RCE additionally depends on gadget availability - together these justify AC:H. Updating to httpx 1.9.1, which pins mode: :strict, is the complete fix per the patch.

Impact

Signals point to a genuine but conditional risk rather than a drop-everything emergency. The input CVSS of 8.5 (AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H) reflects CWE-502 unsafe deserialization that can 'potentially' reach RCE, and the vuln.today decision label is 'this_week' (not act_now/emergency). Exploitation status: no public exploit identified at time of analysis - the Oj Security.md reference is vendor documentation, not a PoC. This is NOT in CISA KEV and no EPSS score was supplied, so widespread-exploitation probability cannot be quantified from the data. The AC:H rating is consistent with the real preconditions (oj loaded, multi_json absent, an attacker-influenced fetch URL, and a usable gadget chain), which meaningfully lower real-world likelihood versus a default-config network bug. One conflict to flag: the supplied vector uses PR:L (which per convention reads as authenticated), yet the described mechanism needs no credentials on the victim - the attacker simply controls the HTTP response for a URL the app fetches - so the privilege requirement in the input vector is questionable; treat the auth qualifier as not firmly established. EPSS and KEV data are missing, so prioritize by the confirmed fix and the specific dependency pattern in your fleet rather than by an exploitation-probability number.

Exploit ScenarioDerived

A Ruby application that loads the oj gem (without multi_json) calls HTTPX.get(url).json on a URL an attacker can control or influence. The attacker returns a crafted JSON body using Oj object-mode markers ("^o"/"^c") so Oj.load instantiates arbitrary already-loaded classes and sets their instance variables; with a suitable gadget chain this can escalate to remote code execution in the victim process. No public exploit is identified at time of analysis, and the AC:H rating reflects the non-default dependency combination and gadget availability required.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 16, 2026

Deserialization of attacker-influenced JSON in the httpx Ruby gem 1.9.0 can instantiate arbitrary already-loaded Ruby classes inside the victim process and, where a usable gadget chain exists, may escalate to remote code execution. The dangerous path is only reachable on a non-default stack - the oj gem loaded and multi_json absent - and requires the application to call .json on a response fetched from a URL an attacker controls or can influence. No public exploit code or confirmed active exploitation was identified at time of analysis; the high severity score is tempered by the narrow preconditions (assessed AC:H), and httpx 1.9.1 pins Oj to strict mode as the vendor fix.

RemediationAI

Upgrade to httpx 1.9.1, which forces Oj into :strict mode inside json_load and is described by the vendor patch as the complete fix (https://github.com/HoneyryderChuck/httpx/releases/tag/v1.9.1, commit eeb785d3250eee9379494fb62c37c315a31e327c). If the upgrade cannot be applied immediately, the fallback branch can be avoided by changing the dependency set so it is never selected - either make multi_json loadable in the process or stop loading oj - with the trade-off that this changes which JSON backend performs parsing application-wide and may alter output and performance characteristics, so it needs testing; independently, avoid calling .json on responses from URLs that attackers control or can influence. Further background on the underlying Oj mode risk is at https://github.com/ohler55/oj/blob/develop/pages/Security.md. Because exploitation requires a specific non-default gem combination plus a usable gadget chain, this is best scheduled as a this-week dependency update rather than treated as a drop-everything emergency.

Affected VersionsENISA

httpx 1.9.0 <1.9.1

Affected Packages

euvd httpx fix: 1.9.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

httpx parses response bodies through its transcoder layer, and HTTPX::Response#json delegates to Transcoder::JSON.decode. In 1.9.0, when the oj gem is loaded and multi_json is unavailable, the decoder falls back to json_load, which called Oj.load(response.to_s) with no mode option. Oj defaults to :object mode, in which a response document can allocate any already-loaded Ruby class via "^o":"ClassName" and set its instance variables, or resolve a class or module reference via "^c":"Name" - the classic CWE-502 unsafe deserialization primitive. Object instantiation alone is not code execution: RCE depends on whether a matching gadget chain exists among classes already loaded in the victim process, which is why the dual dependency condition (oj present, multi_json absent), attacker influence over the fetched URL and gadget availability are all required. The fixing commit eeb785d3250eee9379494fb62c37c315a31e327c changes the call to Oj.load(response.to_s, { mode: :strict }.merge(options)), and the upstream Oj project documents the risks of non-strict load modes on its Security.md page. The affected package is tracked as cpe:2.3:a:os85:httpx.

Know when Ruby gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (JFROG) PRIMARY 8.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

Non-default gem config plus a required gadget chain drives AC:H; attacker controls the HTTP response without victim credentials, so PR:N; code execution stays in-process, so S:U.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (JFROG).

CVSS VectorVendor: JFROG

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

CVE-2026-129784 is a high-severity deserialization vulnerability in theRuby httpx gem (v1.9.0) that, under a specific non-default configuration, could allow an attacker to instantiate arbitrary Ruby classes and potentially achieve remote code execution. Only applications using the Oj gem (with multi_json absent) and processing JSON from attacker-controlled URLs are affected. No public exploit or active exploitation has been observed; the risk is elevated only for teams matching these narrow preconditions, but if present, a compromise could lead to full system takeover.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 48% exploitable
Prevalence
Low
secondary Ruby HTTP-client gem, modest adoption versus Faraday/net-http
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Ruby

View all
CVE-2017-17405 HIGH POC
8.8 Dec 15

Ruby before 2.4.3 allows Net::FTP command injection. Rated high severity (CVSS 8.8), this vulnerability is remotely expl

CVE-2017-17790 CRITICAL POC
9.8 Dec 20

The lazy_initialize function in lib/resolv.rb in Ruby through 2.4.3 uses Kernel#open, which might allow Command Injectio

CVE-2017-14064 CRITICAL POC
9.8 Aug 31

Ruby through 2.2.7, 2.3.x through 2.3.4, and 2.4.x through 2.4.1 can expose arbitrary memory during a JSON.generate call

CVE-2016-2336 CRITICAL POC
9.8 Jan 06

Type confusion exists in two methods of Ruby's WIN32OLE class, ole_invoke and ole_query_interface. Rated critical severi

CVE-2026-77602 CRITICAL POC
9.9 Sep 23

Authenticated remote code execution in OpenC3 COSMOS (Ruby gem 'openc3' versions 5.1.0 through 7.2.1) lets any logged-in

CVE-2026-44266 CRITICAL POC
9.8 Nov 03

Ruby code execution in Elo (npm @enspirit/elo) through 1.0.0 lets an attacker who controls Elo source gain arbitrary Rub

CVE-2016-2337 CRITICAL POC
9.8 Jan 06

Type confusion exists in _cancel_eval Ruby's TclTkIp class method. Rated critical severity (CVSS 9.8), this vulnerabilit

CVE-2016-2339 CRITICAL POC
9.8 Jan 06

An exploitable heap overflow vulnerability exists in the Fiddle::Function.new "initialize" function functionality of Rub

CVE-2017-9225 CRITICAL POC
9.8 May 24

An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7

CVE-2026-27614 CRITICAL POC
9.3 Feb 25

Stored XSS in Bugsink error tracking tool before 2.0.13 allows unauthenticated attackers to inject persistent scripts th

CVE-2017-0898 CRITICAL POC
9.1 Sep 15

Ruby before 2.4.2, 2.3.5, and 2.2.8 is vulnerable to a malicious format string which contains a precious specifier (*) w

CVE-2013-4164 MEDIUM POC
6.8 Nov 23

Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2.1 before 2.1.0 preview2, and tru

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy