python-mechanicalsoup — security advisory
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 `` 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.
- Products
- python-mechanicalsoup
- Affected versions
- 0.10.0-1, 0.10.0-1.1, 0.10.0-3, 0.10.0-4, 0.10.0-6build1, 0.7.0-1, 0.8.0-1, 1.3.0-1, 1.3.0-2, 1.4.0-0ubuntu1, 1.4.0-0ubuntu2
- Fixed versions
- Not specified
- CVEs
- CVE-2023-34457
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:42 UTC · Revision 1
Source evidence
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 `` 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.
osv:UBUNTU-CVE-2023-34457
python-mechanicalsoup
Fixed versions: Not specified
python-mechanicalsoup
Fixed versions: Not specified
python-mechanicalsoup
Fixed versions: Not specified
python-mechanicalsoup
Fixed versions: Not specified
python-mechanicalsoup
Fixed versions: Not specified
python-mechanicalsoup
Fixed versions: Not specified
python-mechanicalsoup
Fixed versions: Not specified
Complete source record
{
"id": "4d3f975241d59199d0ec89f14edbdbaed401829297d50f3d34e925d5589c5915",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-34457",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2023-34457",
"summary": "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 `` 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.",
"evidence": "osv:UBUNTU-CVE-2023-34457",
"products": [
{
"name": {
"value": "python-mechanicalsoup",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.7.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.8.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.10.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.10.0-1.1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "python-mechanicalsoup",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.10.0-3",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "python-mechanicalsoup",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.10.0-4",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "python-mechanicalsoup",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.10.0-6build1",
"evidence": "/affected/3/versions"
},
{
"value": "1.3.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.3.0-2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "python-mechanicalsoup",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.3.0-2",
"evidence": "/affected/4/versions"
},
{
"value": "1.4.0-0ubuntu1",
"evidence": "/affected/4/versions"
},
{
"value": "1.4.0-0ubuntu2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "python-mechanicalsoup",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.4.0-0ubuntu2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "python-mechanicalsoup",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.4.0-0ubuntu2",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2023-34457",
"aliases": [
"UBUNTU-CVE-2023-34457"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-mechanicalsoup",
"purl": "pkg:deb/ubuntu/python-mechanicalsoup?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"0.7.0-1",
"0.8.0-1",
"0.10.0-1",
"0.10.0-1.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-34457.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-mechanicalsoup",
"binary_version": "0.10.0-1.1"
},
{
"binary_name": "python3-mechanicalsoup",
"binary_version": "0.10.0-1.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-mechanicalsoup",
"purl": "pkg:deb/ubuntu/python-mechanicalsoup?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"0.10.0-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-34457.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-mechanicalsoup",
"binary_version": "0.10.0-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-mechanicalsoup",
"purl": "pkg:deb/ubuntu/python-mechanicalsoup?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.10.0-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-34457.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-mechanicalsoup",
"binary_version": "0.10.0-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-mechanicalsoup",
"purl": "pkg:deb/ubuntu/python-mechanicalsoup?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"0.10.0-6build1",
"1.3.0-1",
"1.3.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-34457.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-mechanicalsoup",
"binary_version": "1.3.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-mechanicalsoup",
"purl": "pkg:deb/ubuntu/python-mechanicalsoup?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.3.0-2",
"1.4.0-0ubuntu1",
"1.4.0-0ubuntu2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-34457.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-mechanicalsoup",
"binary_version": "1.4.0-0ubuntu2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-mechanicalsoup",
"purl": "pkg:deb/ubuntu/python-mechanicalsoup?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.4.0-0ubuntu2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-34457.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-mechanicalsoup",
"binary_version": "1.4.0-0ubuntu2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-mechanicalsoup",
"purl": "pkg:deb/ubuntu/python-mechanicalsoup?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.4.0-0ubuntu2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-34457.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-mechanicalsoup",
"binary_version": "1.4.0-0ubuntu2"
}
]
}
}
],
"modified": "2026-10-17T12:57:19.860996307Z",
"provider": "osv",
"upstream": [
"CVE-2023-34457"
],
"references": [
"https://ubuntu.com/security/CVE-2023-34457",
"https://github.com/MechanicalSoup/MechanicalSoup/security/advisories/GHSA-x456-3ccm-m6j4",
"https://github.com/MechanicalSoup/MechanicalSoup/commit/d57c4a269bba3b9a0c5bfa20292955b849006d9e",
"https://github.com/MechanicalSoup/MechanicalSoup/releases/tag/v1.3.0",
"https://www.cve.org/CVERecord?id=CVE-2023-34457"
]
},
"related_cves": [
{
"value": "CVE-2023-34457",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 357205,
"published_at": "2023-07-05T20:15:00+00:00"
}