Live threats

All CVEs / Mechanicalsoup Project

CVE-2023-34457Mechanicalsoup Project Mechanicalsoup

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.0%
probability of exploitation in 30 days · percentile 62
Auth required
No
Published
Jul 5, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mechanicalsoup.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI mechanicalsoup ≥ 0.2.0 < 1.3.0 1.3.0 pip install "mechanicalsoup>=1.3.0"
PyPI mechanicalsoup < 1.3.0 1.3.0 pip install "mechanicalsoup>=1.3.0"

Per OSV / GitHub Advisories (GHSA-x456-3ccm-m6j4, PYSEC-2023-108). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mechanicalsoup_projectmechanicalsoup< 1.3.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.