← Back
CVE-2026-7210
high
CVSS 7.5
Vulnerability in libpython (CVE-2026-7210)
Summary
vulnerability in libpython (CVE-2026-7210). Risk of unauthorized operations or information disclosure. Exploitable via ``xml.parsers.expat``.
AI summary snake-internal / snake-material-v2
A vulnerability tracked as **CVE-2026-7210** has been found in libpython.
Attackers can target a specific entry point like ``xml.parsers.expat`` over the network to misuse the product.
Risk of unauthorized operations or information disclosure. CVSS score: 7.5/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "libpython CVE-2026-7210" on the vendor's site.
CVE-2026-7210 (libpython) — CWE-331 / CVSS v3 7.5
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: `xml.parsers.expat` / `xml.etree.ElementTree`
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
❓ What is the problem
**A vulnerability** (CWE-331) exists in libpython. Attackers reach the vulnerable code path via ``xml.parsers.expat`` without authentication.
📍 Affected scope
libpython — . Attack surface: `xml.parsers.expat` / `xml.etree.ElementTree`.
🔥 Severity
Severity: High (CVSS 7.5/10). Risk of unauthorized operations or information disclosure
🔧 How to fix
Update to the patched release per vendor advisory.
🛡️ Workaround
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
🔍 Detection
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run `grep -r 'libpython' .` against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response Actions (7 steps)
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'libpython' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `libpython` を grep し、稼働しているサービス・バージョンを把握する。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
Bitnami
libpython
[{"type":"SEMVER","events":[{"introduced":"0"}]}]
Bitnami
python
[{"type":"SEMVER","events":[{"introduced":"0"}]}]
Bitnami
python-min
[{"type":"SEMVER","events":[{"introduced":"0"}]}]
References
- advisory [email protected]
- web https://nvd.nist.gov/vuln/detail/CVE-2026-7210
- web https://github.com/python/cpython/issues/149018
- web https://github.com/python/cpython/pull/149023
- web https://mail.python.org/archives/list/[email protected]/thread/PNY5OMBDPM2FRUZTWFFPJ6LISWKV627K
- web https://github.com/advisories/GHSA-wxv8-w48j-r2f4
- web http://www.openwall.com/lists/oss-security/2026/05/11/8
- web http://www.openwall.com/lists/oss-security/2026/05/11/13
- web https://github.com/python/cpython/commit/24b8f12544468e4cedf5bfbe25442fcd495391e4
- web https://github.com/python/cpython/commit/3573b3b1ecbd99030a0b18658e1bfece771b2566
- web https://github.com/python/cpython/commit/eeea765cb9d8f1fc3d8918b272ac3c477983f27a
- web https://github.com/python/cpython/commit/fc9b11ff49cbc82e6f917d07a61517a2b5f3145f
- web https://github.com/python/cpython/commit/e37df2a6a71d6538698e2d3188a7c345b827640b
- web https://github.com/python/cpython/commit/cbaecf9f16da611a646d507c1cbca265c588fc56
- web https://github.com/python/cpython/commit/ea70712d1a8508e14e9677d44f838dab04dc0286