ADVISORIES

Vulnerability

CVE-2023-34457

MechanicalSoup is a Python library for automating interaction with websites. Starting in version 0.2.0 and prior to version 1.3.0, a malicious web server can read arbitrary files on the client using a `<input type="file" ...>` inside HTML form. All users of MechanicalSoup's form submission are affected, unless they took very specific (and manual) steps to reset HTML form field values. Version 1.3.0 contains a patch for this issue.

5 advisories report this vulnerability, across 4 ecosystems.

Medium severity All PyPI 2Debian 1Ubuntu 1openSUSE 1

Advisories

  • DEBIAN-CVE-2023-34457

    MechanicalSoup is a Python library for automating interaction with websites. Starting in version 0.2.0 and prior to version 1.3.0, a malicious web server can read arbitrary files on the client using a `<input…

    CVE-2023-34457 Debian Updated 26 October 2026
  • GHSA-x456-3ccm-m6j4

    MechanicalSoup vulnerable to malicious web server reading arbitrary files on client using file input inside HTML form

    High CVE-2023-34457 PyPI Updated 10 September 2026
  • PYSEC-2023-108

    MechanicalSoup is a Python library for automating interaction with websites. Starting in version 0.2.0 and prior to version 1.3.0, a malicious web server can read arbitrary files on the client using a `<input…

    CVE-2023-34457 PyPI Updated 8 November 2023
  • UBUNTU-CVE-2023-34457

    MechanicalSoup is a Python library for automating interaction with websites. Starting in version 0.2.0 and prior to version 1.3.0, a malicious web server can read arbitrary files on the client using a `<input…

    CVE-2023-34457 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2026:11993-1

    python313-MechanicalSoup-1.4.0-2.4 on GA media

    CVE-2023-34457 openSUSE Updated 5 October 2026

References