{"api_version":"1","generated_at":"2026-07-23T09:29:35+00:00","cve":"CVE-2014-2906","urls":{"html":"https://cve.report/CVE-2014-2906","api":"https://cve.report/api/cve/CVE-2014-2906.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2014-2906","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2014-2906"},"summary":{"title":"CVE-2014-2906","description":"The psub function in fish (aka fish-shell) 1.16.0 before 2.1.1 does not properly create temporary files, which allows local users to execute arbitrary commands via a temporary file with a predictable name.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2020-01-28 16:15:00","updated_at":"2020-02-03 17:01:00"},"problem_types":["CWE-362"],"metrics":[],"references":[{"url":"https://github.com/fish-shell/fish-shell/issues/1437","name":"https://github.com/fish-shell/fish-shell/issues/1437","refsource":"MISC","tags":["Third Party Advisory"],"title":"psub and funced don't protect tempfiles (CVE-2014-2906 and CVE-2014-3856) · Issue #1437 · fish-shell/fish-shell · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2014/04/28/4","name":"http://www.openwall.com/lists/oss-security/2014/04/28/4","refsource":"MISC","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - Upcoming security release of fish 2.1.1","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/fish-shell/fish-shell/releases/tag/2.1.1","name":"https://github.com/fish-shell/fish-shell/releases/tag/2.1.1","refsource":"CONFIRM","tags":["Release Notes"],"title":"Release fish 2.1.1 · fish-shell/fish-shell · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2014-2906","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-2906","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2014","cve_id":"2906","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"fishshell","cpe5":"fish","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2014","cve_id":"2906","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"fishshell","cpe5":"fish","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2014-2906","qid":"690250","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for fish (6c083cf8-4830-11e4-ae2c-c80aa9043978)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2014-2906","STATE":"PUBLIC"},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The psub function in fish (aka fish-shell) 1.16.0 before 2.1.1 does not properly create temporary files, which allows local users to execute arbitrary commands via a temporary file with a predictable name."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"references":{"reference_data":[{"refsource":"MISC","name":"http://www.openwall.com/lists/oss-security/2014/04/28/4","url":"http://www.openwall.com/lists/oss-security/2014/04/28/4"},{"refsource":"MISC","name":"https://github.com/fish-shell/fish-shell/issues/1437","url":"https://github.com/fish-shell/fish-shell/issues/1437"},{"refsource":"CONFIRM","name":"https://github.com/fish-shell/fish-shell/releases/tag/2.1.1","url":"https://github.com/fish-shell/fish-shell/releases/tag/2.1.1"}]}},"nvd":{"publishedDate":"2020-01-28 16:15:00","lastModifiedDate":"2020-02-03 17:01:00","problem_types":["CWE-362"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7,"baseSeverity":"HIGH"},"exploitabilityScore":1,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:P/I:P/A:P","accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":4.4},"severity":"MEDIUM","exploitabilityScore":3.4,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:fishshell:fish:*:*:*:*:*:*:*:*","versionStartIncluding":"1.16.0","versionEndExcluding":"2.1.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2014","CveId":"2906","Ordinal":"69848","Title":"CVE-2014-2906","CVE":"CVE-2014-2906","Year":"2014"},"notes":[{"CveYear":"2014","CveId":"2906","Ordinal":"1","NoteData":"The psub function in fish (aka fish-shell) 1.16.0 before 2.1.1 does not properly create temporary files, which allows local users to execute arbitrary commands via a temporary file with a predictable name.","Type":"Description","Title":null},{"CveYear":"2014","CveId":"2906","Ordinal":"2","NoteData":"2020-01-28","Type":"Other","Title":"Published"},{"CveYear":"2014","CveId":"2906","Ordinal":"3","NoteData":"2020-01-28","Type":"Other","Title":"Modified"}]}}}