CVEfocus › CVE database › CVE-2023-34457

CVE-2023-34457MechanicalSoup vulnerable to malicious web server reading arbitrary files on client…

CVSS 5.9 MediumEPSS 1.0% (higher than 62% of CVEs)Published 2023-07-05Updated 2025-02-13Assigner: GitHub_M

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.

CWE-20

What to do

Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
2Fix pending
3Under investigation
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10python-mechanicalsoupFix pendingUBUNTU-CVE-2023-34457
Ubuntu 26.04python-mechanicalsoupUnder investigationUBUNTU-CVE-2023-34457
Ubuntu 25.10python-mechanicalsoupWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-34457
Ubuntu 24.04python-mechanicalsoupUnder investigationUBUNTU-CVE-2023-34457
Ubuntu 22.04python-mechanicalsoupUnder investigationUBUNTU-CVE-2023-34457
Ubuntu 20.04python-mechanicalsoupWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-34457
Ubuntu 18.04python-mechanicalsoupWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-34457
Debian 14python-mechanicalsoupFixed1.3.0-1DEBIAN-CVE-2023-34457
Debian 13python-mechanicalsoupFixed1.3.0-1DEBIAN-CVE-2023-34457
Debian 12python-mechanicalsoupFix pendingDEBIAN-CVE-2023-34457
PyPI librarymechanicalsoupFixed1.3.0PYSEC-2023-108

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.