lxmlにおけるXML 外部エンティティの脆弱性
| Title |
lxmlにおけるXML 外部エンティティの脆弱性
|
| Summary |
lxmlはPython言語でXMLおよびHTMLを処理するためのライブラリです。6.1.0より前のバージョンでは、デフォルト設定(resolve_entities=True)でいずれかの2つのパーサーを使用すると、信頼されていないXML入力によりローカルファイルを読み取ることが可能でした。resolve_entitiesオプションを明示的にresolve_entities='internal'またはresolve_entities=Falseに設定すると、ローカルファイルへのアクセスが無効になります。この脆弱性は6.1.0で修正されました。
|
| Possible impacts |
当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
April 24, 2026, midnight |
| Registration Date |
April 30, 2026, 12:27 p.m. |
| Last Update |
April 30, 2026, 12:27 p.m. |
|
CVSS3.0 : 重要
|
| Score |
7.5
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected System
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年04月30日] 掲載 |
April 30, 2026, 12:27 p.m. |
NVD Vulnerability Information
CVE-2026-41066
| Summary |
lxml is a library for processing XML and HTML in the Python language. Prior to 6.1.0, using either of the two parsers in the default configuration (with resolve_entities=True) allows untrusted XML input to read local files. Setting the resolve_entities option explicitly to resolve_entities='internal' or resolve_entities=False disables the local file access. This vulnerability is fixed in 6.1.0.
|
| Publication Date |
April 25, 2026, 2:16 a.m. |
| Registration Date |
April 25, 2026, 4:08 a.m. |
| Last Update |
April 28, 2026, 2:59 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:lxml:lxml:*:*:*:*:*:*:*:* |
|
|
|
6.1.0 |
Related information, measures and tools
Common Vulnerabilities List