{"id":"CVE-2023-2800","aliases":["EUVD-2023-0299","GHSA-282v-666c-3fvg","PYSEC-2023-299"],"status":"published","title":"Insecure Temporary File in huggingface/transformers","description":"Insecure Temporary File in GitHub repository huggingface/transformers prior to 4.30.0.","severity":{"version":"3.0","score":4.7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00282,"percentile":0.21014,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-377"],"published":"2023-05-18T00:00:00Z","modified":"2026-10-28T02:30:55Z","fixes":[{"ecosystem":"PyPI","package":"transformers","fixed_in":["4.30.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"transformers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.30.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"transformers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.30.0"}]}],"versions":["0.1","2.0.0","2.1.0","2.1.1","2.10.0","2.11.0","2.2.0","2.2.1","2.2.2","2.3.0","2.4.0","2.4.1","2.5.0","2.5.1","2.6.0","2.7.0","2.8.0","2.9.0","2.9.1","3.0.0","3.0.1","3.0.2","3.1.0","3.2.0","3.3.0","3.3.1","3.4.0","3.5.0","3.5.1","4.0.0","4.0.0rc1","4.0.1","4.1.0","4.1.1","4.10.0","4.10.1","4.10.2","4.10.3","4.11.0","4.11.1","4.11.2","4.11.3","4.12.0","4.12.1","4.12.2","4.12.3","4.12.4","4.12.5","4.13.0","4.14.0","4.14.1","4.15.0","4.16.0","4.16.1","4.16.2","4.17.0","4.18.0","4.19.0","4.19.1","4.19.2","4.19.3","4.19.4","4.2.0","4.2.1","4.2.2","4.20.0","4.20.1","4.21.0","4.21.1","4.21.2","4.21.3","4.22.0","4.22.1","4.22.2","4.23.0","4.23.1","4.24.0","4.25.0","4.25.1","4.26.0","4.26.1","4.27.0","4.27.1","4.27.2","4.27.3","4.27.4","4.28.0","4.28.1","4.29.0","4.29.1","4.29.2","4.3.0","4.3.0rc1","4.3.1","4.3.2","4.3.3","4.4.0","4.4.1","4.4.2","4.5.0","4.5.1","4.6.0","4.6.1","4.7.0","4.8.0","4.8.1","4.8.2","4.9.0","4.9.1","4.9.2"]},{"source":"osv","ecosystem":"PyPI","package":"transformers","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"80ca92470938bbcc348e2d9cf4734c7c25cb1c43"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.30.0"}]}],"versions":["0.1","2.0.0","2.1.0","2.1.1","2.10.0","2.11.0","2.2.0","2.2.1","2.2.2","2.3.0","2.4.0","2.4.1","2.5.0","2.5.1","2.6.0","2.7.0","2.8.0","2.9.0","2.9.1","3.0.0","3.0.1","3.0.2","3.1.0","3.2.0","3.3.0","3.3.1","3.4.0","3.5.0","3.5.1","4.0.0","4.0.0rc1","4.0.1","4.1.0","4.1.1","4.10.0","4.10.1","4.10.2","4.10.3","4.11.0","4.11.1","4.11.2","4.11.3","4.12.0","4.12.1","4.12.2","4.12.3","4.12.4","4.12.5","4.13.0","4.14.0","4.14.1","4.15.0","4.16.0","4.16.1","4.16.2","4.17.0","4.18.0","4.19.0","4.19.1","4.19.2","4.19.3","4.19.4","4.2.0","4.2.1","4.2.2","4.20.0","4.20.1","4.21.0","4.21.1","4.21.2","4.21.3","4.22.0","4.22.1","4.22.2","4.23.0","4.23.1","4.24.0","4.25.0","4.25.1","4.26.0","4.26.1","4.27.0","4.27.1","4.27.2","4.27.3","4.27.4","4.28.0","4.28.1","4.29.0","4.29.1","4.29.2","4.3.0","4.3.0rc1","4.3.1","4.3.2","4.3.3","4.4.0","4.4.1","4.4.2","4.5.0","4.5.1","4.6.0","4.6.1","4.7.0","4.8.0","4.8.1","4.8.2","4.9.0","4.9.1","4.9.2","v4.16.0","v4.15.0","v4.14.0","v4.13.0","v4.12.0","v4.11.0","v4.10.0","v4.9.0","v4.8.0","v4.7.0","v4.6.0","v4.5.0","v4.4.0","v4.3.0.rc1","4.3.0.rc1","v4.2.0","v4.1.1","v4.1.0","v3.5.0","v3.4.0","v3.3.1","v3.3.0","v3.2.0","v3.1.0","v3.0.2","v3.0.1","v3.0.0","v2.11.0","v2.10.0","v2.9.1","v2.9.0","v2.8.0","v2.7.0","v2.6.0","v2.5.1","v2.5.0","v2.4.1","v2.4.0","v2.3.0","v2.2.2","v2.2.1","v2.2.0","v2.1.1","v2.1.0","v2.0.0","1.2.0","1.1.0","1.0","v0.6.2","v0.6.1","v0.6.0","v0.5.1","v0.5.0","0.5.0","v0.4.0","v0.3.0","v0.2.0","v0.1.2","0.1.2"]}],"products":[{"vendor":"huggingface","product":"huggingface/transformers"},{"vendor":"huggingface","product":"transformers"}],"references":[{"url":"https://huntr.dev/bounties/a3867b4e-6701-4418-8c20-3c6e7084a44a","tags":["x_transferred","Exploit","Patch","Third Party Advisory","web","evidence","fix"]},{"url":"https://github.com/huggingface/transformers/commit/80ca92470938bbcc348e2d9cf4734c7c25cb1c43","tags":["x_transferred","Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2800","tags":["advisory"]},{"url":"https://github.com/huggingface/transformers/pull/23372","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/transformers/PYSEC-2023-299.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-282v-666c-3fvg","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2800.json","tags":["advisory"]},{"url":"https://github.com/huggingface/transformers","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-2800","title":"Insecure Temporary File in huggingface/transformers","description":"Insecure Temporary File in GitHub repository huggingface/transformers prior to 4.30.0.","status":"published","published":"2023-05-18T00:00:00Z","modified":"2025-01-21T20:09:18.683Z","cvss":[{"version":"3.0","score":4.7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-377"],"updated_at":"2026-11-02T14:35:24.004321Z"}],"euvd":[{"id":"EUVD-2023-0299","description":"Insecure Temporary File in GitHub repository huggingface/transformers prior to 4.30.0.","status":"published","published":"2023-05-18T00:00:00Z","modified":"2025-01-21T20:09:18Z","cvss":[{"version":"3.0","score":4.7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T00:04:15.779798Z"}],"ghsa":[{"id":"GHSA-282v-666c-3fvg","title":"transformers has Insecure Temporary File","description":"Insecure Temporary File in GitHub repository huggingface/transformers 4.29.2 and prior. A fix is available at commit 80ca92470938bbcc348e2d9cf4734c7c25cb1c43 and has been released as part of version 4.30.0.","status":"published","published":"2023-05-18T18:30:35Z","modified":"2024-11-22T20:34:49Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-377"],"updated_at":"2026-11-02T14:38:22.774145Z"}],"nvd":[{"id":"CVE-2023-2800","description":"Insecure Temporary File in GitHub repository huggingface/transformers prior to 4.30.0.","status":"published","published":"2023-05-18T17:15:08.817Z","modified":"2026-06-17T05:53:28.303Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"3.0","score":4.7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"}],"cwes":["CWE-377"],"updated_at":"2026-11-02T14:08:03.200773Z"}],"osv":[{"id":"CVE-2023-2800","title":"Insecure Temporary File in huggingface/transformers","description":"Insecure Temporary File in GitHub repository huggingface/transformers prior to 4.30.0.","status":"published","published":"2023-05-18T00:00:00Z","modified":"2026-10-28T02:30:55.928162743Z","cvss":[{"version":"3.0","score":4.7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-377"],"updated_at":"2026-11-02T15:44:31.135751Z"},{"id":"GHSA-282v-666c-3fvg","title":"transformers has Insecure Temporary File","description":"Insecure Temporary File in GitHub repository huggingface/transformers 4.29.2 and prior. A fix is available at commit 80ca92470938bbcc348e2d9cf4734c7c25cb1c43 and has been released as part of version 4.30.0.","status":"published","published":"2023-05-18T18:30:35Z","modified":"2024-11-22T20:46:31.605562Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-377"],"updated_at":"2026-11-02T15:46:33.956911Z"},{"id":"PYSEC-2023-299","description":"Insecure Temporary File in GitHub repository huggingface/transformers prior to 4.30.0.","status":"published","published":"2023-05-18T17:15:00Z","modified":"2026-06-10T17:02:48.310585754Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:52:53.837392Z"}]}}
