{"answers":{"affected":"6 open source packages ship an affected version, including httpcore2 and httpx2.","exploited":"There is no known exploitation of CVE-2026-84381 in the wild and no public exploit code.","fix":"Upgrade httpcore2 to 2.10.0 or later.","what":"CVE-2026-84381 is a high-severity vulnerability in pydantic httpcore2, published on 2 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-84381 and fix it if it is affected.\n\nWhat it is: CVE-2026-84381 is a high-severity vulnerability in pydantic httpcore2, published on 2 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-84381 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- httpcore2 (PyPI): affected all versions; fixed in 2.10.0\n- httpcore2 (PyPI): affected all versions; fixed in 2.10.0\n- httpcore2 (PyPI): affected all versions; fixed in 2.10.0\n- httpx2 (PyPI): affected from 2.6.0; fixed in 2.10.0\n- httpx2 (PyPI): affected from 2.6.0; fixed in 2.10.0\n- httpx2 (PyPI): affected from 2.6.0; fixed in 2.10.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-84381/ (Markdown: https://insights.sbomify.com/CVE-2026-84381/index.md)","id":"CVE-2026-84381","markdown":"https://insights.sbomify.com/CVE-2026-84381/index.md","name":"CVE-2026-84381","record":{"aliases":["ECHO-2af1-2f46-154f","GHSA-7mj9-2mp8-4m2p","MINI-794m-j5jh-44gg","PYSEC-2026-3844","PYSEC-2026-3845","ROOT-APP-PYPI-CVE-2026-84381","UBUNTU-CVE-2026-84381"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Python HTTP client","requires_auth":"none","summary":"HTTPX2 sends WebSocket traffic over SOCKS proxies without TLS, allowing attackers to read or modify sensitive data and impersonate servers.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-319","name":"Cleartext Transmission of Sensitive Information"}],"description":"HTTPX2 is a next generation HTTP client for Python. Prior to 2.10.0, httpcore2 fails to start TLS in src/httpcore2/httpcore2/_sync/socks_proxy.py and src/httpcore2/httpcore2/_async/socks_proxy.py when the remote origin uses wss through a SOCKS5 proxy because the TLS upgrade condition only recognizes https. HTTPX2 exposes the flaw through Client.websocket() and AsyncClient.websocket() from 2.6.0 through 2.9.1, so the opening handshake, query parameters, Authorization headers, cookies, and subsequent frames can cross the proxy path in plaintext without certificate verification. An attacker controlling or observing that path can read or modify traffic and impersonate the WebSocket server. This issue is fixed in httpcore2 2.10.0 and HTTPX2 2.10.0.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies","id":"CVE-2026-84381","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"other","year":"2026"},"n_packages":6,"n_references":4,"next":{"headline":"HTTPX2: Streaming response decompression does not bound peak memory (decompression amplification)","id":"CVE-2026-84382"},"packages":[{"ecosystem":"PyPI","fixed":["2.10.0"],"introduced":["0"],"last_affected":[],"package":"httpcore2","purl":null,"source":"GHSA-7mj9-2mp8-4m2p"},{"ecosystem":"PyPI","fixed":["2.10.0"],"introduced":["0"],"last_affected":[],"package":"httpcore2","purl":"pkg:pypi/httpcore2","source":"GHSA-7mj9-2mp8-4m2p"},{"ecosystem":"PyPI","fixed":["2.10.0"],"introduced":["0"],"last_affected":[],"package":"httpcore2","purl":"pkg:pypi/httpcore2","source":"PYSEC-2026-3844"},{"ecosystem":"PyPI","fixed":["2.10.0"],"introduced":["2.6.0"],"last_affected":[],"package":"httpx2","purl":null,"source":"GHSA-7mj9-2mp8-4m2p"},{"ecosystem":"PyPI","fixed":["2.10.0"],"introduced":["2.6.0"],"last_affected":[],"package":"httpx2","purl":"pkg:pypi/httpx2","source":"GHSA-7mj9-2mp8-4m2p"},{"ecosystem":"PyPI","fixed":["2.10.0"],"introduced":["2.6.0"],"last_affected":[],"package":"httpx2","purl":"pkg:pypi/httpx2","source":"PYSEC-2026-3845"}],"prev":{"headline":"HTTPX2: Conflicting Content-Length and Transfer-Encoding headers can be auto-generated","id":"CVE-2026-84380"},"products":["httpcore2","httpx2"],"published":"2026-09-02","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-05","vendors":["pydantic"]},"summary":"HTTPX2 sends WebSocket traffic over SOCKS proxies without TLS, allowing attackers to read or modify sensitive data and impersonate servers.","url":"https://insights.sbomify.com/CVE-2026-84381/"}