Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2023-34457: MechanicalSoup is a Python library for automating interaction with websites

47
This week
MEDIUM 5.9REMOTEUPGRADE

CVE-2023-34457 is a medium-severity flaw (CVSS 5.9) affecting mechanicalsoup. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Public exploit reference
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score5.9 (Medium)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance1.1% (top 35%)
CISA exploited listNo
WeaknessCWE-20
Published2023-07-05
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: mechanicalsoup project

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

mechanicalsoup project mechanicalsoup UPGRADE
Affected: < 1.3.0
Fixed in: 1.3.0
Safe to downgrade to: no unaffected older release
1. Check installed version
pip show mechanicalsoup
2. UPGRADE to 1.3.0
pip install --upgrade "mechanicalsoup>=1.3.0"
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2023-34457?

mechanicalsoup: upgrade to 1.3.0. Exact commands for each OS are on this page.

Is CVE-2023-34457 being exploited?

CVE-2023-34457 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2023-34457 affect?

CVE-2023-34457 affects mechanicalsoup. Severity is medium (CVSS 5.9). 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 f

How urgent is CVE-2023-34457?

Priority 47/100. Public exploit reference; Remotely exploitable, no login, no user action

Software pages

Python vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.