CVE-2023-34457
published medium CVSS 3.1 · 5.9MechanicalSoup vulnerable to malicious web server reading arbitrary files on client using file input inside HTML form
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MechanicalSoup | — | MechanicalSoup>= 0.2.0, < 1.3.0 | Affected | Not stated | GitHub_M |
| mechanicalsoup_project | — | mechanicalsoup0.2.0 to < 1.3.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-MechanicalSoupaarch64 | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13499-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-MechanicalSoupppc64le | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13499-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-MechanicalSoups390x | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13499-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-MechanicalSoupx86_64 | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13499-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-MechanicalSoupaarch64 | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13499-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-MechanicalSoupppc64le | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13499-1 |
Show 14 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-MechanicalSoups390x | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13499-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-MechanicalSoupx86_64 | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13499-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-MechanicalSoupaarch64 | Advisory build | 1.4.0-2.4 | OPENSUSE-SU-2026:11993-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-MechanicalSoupppc64le | Advisory build | 1.4.0-2.4 | OPENSUSE-SU-2026:11993-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-MechanicalSoups390x | Advisory build | 1.4.0-2.4 | OPENSUSE-SU-2026:11993-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-MechanicalSoupx86_64 | Advisory build | 1.4.0-2.4 | OPENSUSE-SU-2026:11993-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-MechanicalSoupaarch64 | Advisory build | 1.4.0-2.4 | OPENSUSE-SU-2026:11993-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-MechanicalSoupppc64le | Advisory build | 1.4.0-2.4 | OPENSUSE-SU-2026:11993-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-MechanicalSoups390x | Advisory build | 1.4.0-2.4 | OPENSUSE-SU-2026:11993-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-MechanicalSoupx86_64 | Advisory build | 1.4.0-2.4 | OPENSUSE-SU-2026:11993-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-MechanicalSoupaarch64 | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13499-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-MechanicalSoupppc64le | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13499-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-MechanicalSoups390x | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13499-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-MechanicalSoupx86_64 | Advisory build | 1.3.0-1.1 | OPENSUSE-SU-2024:13499-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MechanicalSoup | MechanicalSoup | >= 0.2.0, < 1.3.0 (affected) | GitHub_M · cna |
| mechanicalsoup_project | mechanicalsoup | 0.2.0 to < 1.3.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-20 CWE-20: Improper Input Validation
References
4- https://github.com/MechanicalSoup/MechanicalSoup/commit/d57c4a269bba3b9a0c5bfa20292955b849006d9e
- https://github.com/MechanicalSoup/MechanicalSoup/releases/tag/v1.3.0
- https://github.com/MechanicalSoup/MechanicalSoup/security/advisories/GHSA-x456-3ccm-m6j4
- https://security.netapp.com/advisory/ntap-20230803-0005/
Provider assertions
3GitHub_M · cna
MechanicalSoup vulnerable to malicious web server reading arbitrary files on client using file input inside HTML form
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 187e748160912665825099ad7ef0dc121279e6fa113c19f9e6bb9280c9ec5973
- Ingested
- 23 Sep 2026, 08:09:31 UTC
- Source record
- Official CVE record