Bug 2493380 (CVE-2026-13412) - CVE-2026-13412 joe: Arbitrary command execution via malicious tags file
Summary: CVE-2026-13412 joe: Arbitrary command execution via malicious tags file
Keywords:
Status: NEW
Alias: CVE-2026-13412
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2493381 2493382
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-26 10:51 UTC by OSIDB Bzimport
Modified: 2026-06-26 10:58 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-26 10:51:57 UTC
JOE's tag-search feature (default keybinding ^K ;) reads a file literally named `tags` from the current working directory and parses whitespace-separated tag entries. The extracted FILE value is passed unchanged to JOE's internal file loader, which preserves a feature where filenames beginning with `!` are executed as shell commands via `/bin/sh -c`. Because the tag-file parser performs no validation of the FILE token, a crafted `tags` file whose FILE field begins with `!` triggers arbitrary command execution as the user running JOE the moment the victim performs a tag search that matches the malicious key. Affected components: joe/utag.c (dotag, dotagjump), joe/b.c (bfind, bload). Affected editors: joe, jmacs, jpico, jstar. The restricted editor rjoe is not exposed by default.


Note You need to log in before you can comment on or make changes to this bug.