{
  "id": "CVE-2026-129784",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-129784",
  "published_at": "2026-11-16T10:53:51.915Z",
  "title": "Insecure deserializaiton in the httpx Ruby gem via unsafe Oj object-mode",
  "vendor": "os85",
  "product": "httpx",
  "cvss": {
    "score": 8.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-502",
  "cvss_by_source": {
    "cna": 8.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "os85",
        "product": "httpx",
        "ranges": [
          "\u003e= 1.9.0, \u003c 1.9.1"
        ],
        "fixed_in": [
          "1.9.1"
        ]
      }
    ],
    "solutions": [
      "Upgrade to httpx 1.9.1, which calls Oj.load with an explicit { mode: :strict } default. If upgrading is not possible, pass a safe mode at the call site (response.json(mode: :strict)), or set a safe process-wide default such as Oj.default_options = { mode: :strict } (or :rails) before any untrusted JSON is parsed. Do not rely on Oj's shipped :object default for data that arrived over the network."
    ],
    "upgrade": [
      "Upgrade httpx to 1.9.1 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/HoneyryderChuck/httpx/commit/eeb785d3250eee9379494fb62c37c315a31e327c"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/HoneyryderChuck/httpx/releases/tag/v1.9.1"
      },
      {
        "kind": "Patch",
        "url": "https://gitlab.com/os85/httpx/-/commit/eeb785d3250eee9379494fb62c37c315a31e327c"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
