{"id":"CVE-2026-7246","summary":"Pallets Click contains a command injection via Unsanitized Filename \"click.edit()\"","details":"Pallets Click, versions 8.3.2 and below, contain a command injection vulnerability in the click.edit() function, allowing attackers to pass arbitrary OS commands from an unprivileged account.","aliases":["GHSA-47fr-3ffg-hgmw"],"modified":"2026-07-08T08:14:47.921351921Z","published":"2026-04-30T13:16:44.050Z","related":["SUSE-SU-2026:22254-1","SUSE-SU-2026:22321-1","openSUSE-SU-2026:10760-1","openSUSE-SU-2026:21017-1"],"database_specific":{"cna_assigner":"certcc","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7246.json"},"references":[{"type":"WEB","url":"https://github.com/pallets/click/releases/tag/8.3.3"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-7246.json"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:24761"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:24762"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-7246"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7246.json"},{"type":"ADVISORY","url":"https://github.com/tsigouris007/security-advisories/security/advisories/GHSA-47fr-3ffg-hgmw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7246"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2464121"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pallets/click","events":[{"introduced":"0"},{"fixed":"c06d2d0a6aee6bcc50bd8257be2a4a592f4e75d0"}],"database_specific":{"cpe":"cpe:2.3:a:palletsprojects:click:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"8.3.3"}],"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"]}}],"versions":["8.1.0","8.0.0","8.0.0rc1","8.0.0a1","7.0","6.0","5.0","4.0","3.0","2.0","0.5.1","0.5","0.4","0.3","0.2","0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-7246.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H"}]}