6.8

GHSA-486P-G8X4-77MG: onnx PyPI

CVSS: 6.8v4.0MediumPublished
Published 21-08-2026Last modified 08-09-2026

Vulnerability summary

GHSA-486P-G8X4-77MG is a medium (CVSS 6.8) vulnerability in onnx PyPI.

Overall risk
27/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.8/10
010
Medium · v4.0 (OSV · Pypi), selected by version preference
EPSS score
Not scored
0%100%
No EPSS score yet
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 21-08-2026
    PublishedVulnerability first disclosed.
  2. 08-09-2026
    Last modifiedVulnerability information updated.

Description

Duplicate Advisory: ONNX: TOCTOU arbitrary file read/write in save_external_dat ## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-q56x-g2fj-4rj6. This link is maintained to preserve external references. ## Original Description In ONNX before 1.21.0, the 'save_external_data' function builds the external-data file path from the model's external_data location field and opens it for writing without 'O_NOFOLLOW/O_EXCL', after a non-atomic 'os.path.isfile()' check. A local attacker with write access to the directory where a victim serializes external data can deterministically pre-plant a symlink that is being followed, causing the victim's write to append to any file the victim can write, e.g. ~/.ssh/authorized_keys, cron files, or application configs. Fixed in 1.21.0.

CVSS metrics

2 scores · 1 source · 2 versions

EPSS trend

No EPSS score has been published for this record yet.

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

PyPI1 product
  • onnx≤ 1.20.1

1 vendor · 1 product

References

4 links