Skip to content

Arbitrary file read vulnerability

Critical
kesara published GHSA-cfmv-h8fx-85m7 Aug 26, 2025

Package

pip xml2rfc (pip)

Affected versions

<= 3.30.0

Patched versions

3.30.1

Description

Impact

When generating PDF files, this vulnerability allows an attacker to read arbitrary files from the filesystem by injecting malicious link element into the XML.

Workarounds

Test untrusted input with link elements with rel="attachment" before processing.

Credits

This vulnerability was reported by Mohamed Ouad from Doyensec.

Severity

Critical

CVE ID

No known CVE

Weaknesses

No CWEs