onnx — security advisory
Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. Prior to version 1.21.0, there is an issue in onnx.load, the code checks for symlinks to prevent path traversal, but completely misses hardlinks because a hardlink looks exactly like a regular file on the filesystem. This issue has been patched in version 1.21.0.
- Products
- onnx
- Affected versions
- 1.13.1-3, 1.13.1-3build1, 1.14.1-2, 1.14.1-2.1, 1.14.1-2.1build1, 1.14.1-2.1build2, 1.14.1-2.1ubuntu0.1~esm1, 1.17.0-3build1, 1.20.0-1, 1.20.0-6, 1.7.0+dfsg-3build1, 1.7.0+dfsg-3build2, 1.7.0+dfsg-3ubuntu1, 1.7.0+dfsg-3ubuntu2
- Fixed versions
- Not specified
- CVEs
- CVE-2026-34446
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:08 UTC · Revision 1
Source evidence
Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. Prior to version 1.21.0, there is an issue in onnx.load, the code checks for symlinks to prevent path traversal, but completely misses hardlinks because a hardlink looks exactly like a regular file on the filesystem. This issue has been patched in version 1.21.0.
osv:UBUNTU-CVE-2026-34446
onnx
Fixed versions: Not specified
onnx
Fixed versions: Not specified
onnx
Fixed versions: Not specified
onnx
Fixed versions: Not specified
onnx
Fixed versions: Not specified
Complete source record
{
"id": "9296ce7f278d5fe650c562334eca57e42c0eb846be07b1cbedf24816e07a382e",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-34446",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-34446",
"summary": "Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. Prior to version 1.21.0, there is an issue in onnx.load, the code checks for symlinks to prevent path traversal, but completely misses hardlinks because a hardlink looks exactly like a regular file on the filesystem. This issue has been patched in version 1.21.0.",
"evidence": "osv:UBUNTU-CVE-2026-34446",
"products": [
{
"name": {
"value": "onnx",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.7.0+dfsg-3build1",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.0+dfsg-3build2",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.0+dfsg-3ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.0+dfsg-3ubuntu2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "onnx",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.13.1-3",
"evidence": "/affected/1/versions"
},
{
"value": "1.13.1-3build1",
"evidence": "/affected/1/versions"
},
{
"value": "1.14.1-2",
"evidence": "/affected/1/versions"
},
{
"value": "1.14.1-2.1",
"evidence": "/affected/1/versions"
},
{
"value": "1.14.1-2.1build1",
"evidence": "/affected/1/versions"
},
{
"value": "1.14.1-2.1build2",
"evidence": "/affected/1/versions"
},
{
"value": "1.14.1-2.1ubuntu0.1~esm1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "onnx",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.17.0-3build1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "onnx",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.20.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.20.0-6",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "onnx",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.17.0-3build1",
"evidence": "/affected/4/versions"
},
{
"value": "1.20.0-1",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-34446",
"aliases": [
"UBUNTU-CVE-2026-34446"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "onnx",
"purl": "pkg:deb/ubuntu/onnx?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.7.0+dfsg-3build1",
"1.7.0+dfsg-3build2",
"1.7.0+dfsg-3ubuntu1",
"1.7.0+dfsg-3ubuntu2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34446.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libonnx-testdata",
"binary_version": "1.7.0+dfsg-3ubuntu2"
},
{
"binary_name": "libonnx1",
"binary_version": "1.7.0+dfsg-3ubuntu2"
},
{
"binary_name": "libonnxifi",
"binary_version": "1.7.0+dfsg-3ubuntu2"
},
{
"binary_name": "python3-onnx",
"binary_version": "1.7.0+dfsg-3ubuntu2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "onnx",
"purl": "pkg:deb/ubuntu/onnx?arch=source&distro=esm-apps%2Fnoble",
"ecosystem": "Ubuntu:Pro:24.04:LTS"
},
"versions": [
"1.13.1-3",
"1.13.1-3build1",
"1.14.1-2",
"1.14.1-2.1",
"1.14.1-2.1build1",
"1.14.1-2.1build2",
"1.14.1-2.1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34446.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libonnx-testdata",
"binary_version": "1.14.1-2.1ubuntu0.1~esm1"
},
{
"binary_name": "libonnx1t64",
"binary_version": "1.14.1-2.1ubuntu0.1~esm1"
},
{
"binary_name": "python3-onnx",
"binary_version": "1.14.1-2.1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "onnx",
"purl": "pkg:deb/ubuntu/onnx?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.17.0-3build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34446.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libonnx-testdata",
"binary_version": "1.17.0-3build1"
},
{
"binary_name": "libonnx1t64",
"binary_version": "1.17.0-3build1"
},
{
"binary_name": "python3-onnx",
"binary_version": "1.17.0-3build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "onnx",
"purl": "pkg:deb/ubuntu/onnx?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.20.0-1",
"1.20.0-6"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34446.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libonnx-testdata",
"binary_version": "1.20.0-6"
},
{
"binary_name": "libonnx1l",
"binary_version": "1.20.0-6"
},
{
"binary_name": "python3-onnx",
"binary_version": "1.20.0-6"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "onnx",
"purl": "pkg:deb/ubuntu/onnx?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.17.0-3build1",
"1.20.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34446.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libonnx-testdata",
"binary_version": "1.20.0-1"
},
{
"binary_name": "libonnx1t64",
"binary_version": "1.20.0-1"
},
{
"binary_name": "python3-onnx",
"binary_version": "1.20.0-1"
}
]
}
}
],
"modified": "2026-10-17T12:58:11.856240575Z",
"provider": "osv",
"upstream": [
"CVE-2026-34446"
],
"references": [
"https://ubuntu.com/security/CVE-2026-34446",
"https://www.cve.org/CVERecord?id=CVE-2026-34446"
]
},
"related_cves": [
{
"value": "CVE-2026-34446",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 358319,
"published_at": "2026-04-01T18:16:00+00:00"
}