CVE-2014-2906
The psub function in fish (aka fish-shell) 1.16.0 before 2.1.1 does not properly create temporary...
CVE-2014-2906 is a high vulnerability (CVSS 7.0) in Fishshell Fish, published October 9, 2014. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.31%, the 24th percentile. Fixed in fish 2.1.1-1.
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.0
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.
- Record
CVE-2014-2906- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 4.4 Medium
AV:L/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-362
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2014-2906- Updated
- 2026-11-02
EUVDEUVD-2014-2929 No score
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.
- Record
EUVD-2014-2929- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-7848-7877-wpjg No score
The psub function in fish (aka fish-shell) 1.16.0 before 2.1.1 does not properly create temporary...
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.
- Record
GHSA-7848-7877-wpjg- Updated
- 2026-11-02
OSV
7.0
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.
- Record
CVE-2014-2906- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2014-2906
7.0
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.
- Record
DEBIAN-CVE-2014-2906- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVMGASA-2014-0404 No score
Updated fish package fixes multiple security vulnerabilities
Updated fish packages fix security vulnerability:
fish, from at least version 1.16.0 to version 2.1.0 (inclusive), does not check the credentials of processes communicating over the fishd universal variable server UNIX domain socket. This allows a local attacker to elevate their privileges to those of a target user running fish, including root (CVE-2014-2905).
fish, from at least version 1.16.0 to version 2.1.0 (inclusive), creates temporary files in an insecure manner.
Versions 1.23.0 to 2.1.0 (inclusive) execute code via funced from these
temporary files, allowing privilege escalation to those of any user
running fish, including root (CVE-2014-3856).
Additionally, from at least version 1.16.0 to version 2.1.0 (inclusive), fish will read data using the psub function from these temporary files, meaning that the input of commands used with the psub function is under the control of the attacker (CVE-2014-2906).
fish, from version 2.0.0 to version 2.1.0 (inclusive), fails to restrict connections to the Web-based configuration service (fish_config). This allows remote attackers to execute arbitrary code in the context of the user running fish_config (CVE-2014-2914).
The service is generally only running for short periods of time. The use of the fish_config tool is optional as other interfaces to fish configuration are available.
The fish package has been updated to version 2.1.1 to fix these issues.
- Record
MGASA-2014-0404- Updated
- 2026-11-02
OSVopenSUSE-SU-2019:2177-1 No score
Security update for fish3
This update supplies the 'fish3' package, complementary to the 'fish' package.
- Record
openSUSE-SU-2019:2177-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2019:2188-1 No score
Security update for fish3
This update includes fish3 into the openSUSE Leap 15.1 distribution.
- Record
openSUSE-SU-2019:2188-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10348-1 No score
fish-2.4.0-1.1 on GA media
These are all security issues fixed in the fish-2.4.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10348-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
fishDebian:12 |
before 2.1.1-1 | 2.1.1-1 |
fishDebian:13 |
before 2.1.1-1 | 2.1.1-1 |
fishDebian:14 |
before 2.1.1-1 | 2.1.1-1 |
fishMageia:4 |
before 2.1.1-1.mga4 | 2.1.1-1.mga4 |
fish3openSUSE:Leap 15.0 |
before 3.0.0-lp150.3.1 | 3.0.0-lp150.3.1 |
fish3openSUSE:Leap 15.1 |
before 3.0.0-lp151.2.1 | 3.0.0-lp151.2.1 |
fishopenSUSE:Tumbleweed |
before 2.4.0-1.1 | 2.4.0-1.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
openwall.com/lists/oss-security/2014/04/28/4
github.com/fish-shell/fish-shell/issues/1437
github.com/fish-shell/fish-shell/releases/tag/2.1.1
nvd.nist.gov/vuln/detail/CVE-2014-2906
github.com/advisories/GHSA-7848-7877-wpjg
security-tracker.debian.org/tracker/CVE-2014-2906
Show 13 moreShow less
advisories.mageia.org/MGASA-2014-0404.html
bugs.mageia.org/show_bug.cgi?id=13984
openwall.com/lists/oss-security/2014/09/28/8
fishshell.com/release_notes.html
lists.fedoraproject.org/pipermail/package-announce/2014-May/132618.html
lists.opensuse.org/archives/list/[email protected]/thread/3XMUPRUMZVMHTIGMFKMR5QUFUP4OTEOW
bugzilla.suse.com/1128601
suse.com/security/cve/CVE-2014-2905
suse.com/security/cve/CVE-2014-2906
suse.com/security/cve/CVE-2014-2914
suse.com/security/cve/CVE-2014-3219
suse.com/security/cve/CVE-2014-3856
lists.opensuse.org/archives/list/[email protected]/thread/2W3QH6VXA2BZDXBQCFFTODXPYTUKYKPG