PYSEC-2026-522

    Dashboard / Vulnerabilities / PYSEC-2026-522

    PYSEC-2026-522

    Published: 29 Jun 2026Last Modified: 1 Jul 2026

    Summary: ReportLab vulnerable to remote code execution via paraparser

    Details: paraparser in ReportLab before 3.5.31 allows remote code execution because start_unichar in paraparser.py evaluates untrusted user input in a unichar element in a crafted XML document with '<unichar code="' followed by arbitrary Python code, a similar issue to CVE-2019-17626.

    Affected packages

    Package

    Name: reportlab

    Purl: pkg:pypi/reportlab

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -3.5.31

    Affected versions

    2.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    PYSEC-2026-522 | CVE-DB