Every CVE Search/ Get API key

CVE-2014-2906

The psub function in fish (aka fish-shell) 1.16.0 before 2.1.1 does not properly create temporary...

7.0 HighFix available

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

0.31%Down 0.6 points since Feb 4, 2022
90%50%10%1%

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 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
4.4 MediumAV: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
fish
Debian:12
before 2.1.1-1
2.1.1-1
fish
Debian:13
before 2.1.1-1
2.1.1-1
fish
Debian:14
before 2.1.1-1
2.1.1-1
fish
Mageia:4
before 2.1.1-1.mga4
2.1.1-1.mga4
fish3
openSUSE:Leap 15.0
before 3.0.0-lp150.3.1
3.0.0-lp150.3.1
fish3
openSUSE:Leap 15.1
before 3.0.0-lp151.2.1
3.0.0-lp151.2.1
fish
openSUSE:Tumbleweed
before 2.4.0-1.1
2.4.0-1.1

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 13 moreShow less
MoveEnter Open