{"id":"CVE-2021-3725","details":"Vulnerability in dirhistory plugin Description: the widgets that go back and forward in the directory history, triggered by pressing Alt-Left and Alt-Right, use functions that unsafely execute eval on directory names. If you cd into a directory with a carefully-crafted name, then press Alt-Left, the system is subject to command injection. Impacted areas: - Functions pop_past and pop_future in dirhistory plugin.","modified":"2026-07-08T05:57:26.377980127Z","published":"2021-11-30T10:15:08.670Z","database_specific":{"unresolved_ranges":[{"source":"CPE_RANGE","vendor_product":"planetargon:oh_my_zsh","cpes":["cpe:2.3:a:planetargon:oh_my_zsh:*:*:*:*:*:*:*:*"],"extracted_events":[{"fixed":"11-11-2021"}]}]},"references":[{"type":"FIX","url":"https://github.com/ohmyzsh/ohmyzsh/commit/06fc5fb"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ohmyzsh/ohmyzsh","events":[{"introduced":"0"},{"fixed":"06fc5fb"}],"database_specific":{"source":"REFERENCES"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3725.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}