Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-108913 Overview
CVE-2026-108913 is a code execution vulnerability in omarchy-theme-set affecting Omarchy versions prior to 4.0.1. The flaw allows arbitrary code execution when a user installs a third-party theme from an untrusted Git repository. Files placed into ~/.local/state/omarchy/current/theme may include executable content that runs with the user's privileges. The weakness is classified as [CWE-829]: Inclusion of Functionality from Untrusted Control Sphere.
Critical Impact
Installing a malicious Omarchy theme results in arbitrary code execution on the user's system, with full access to the user account's data and permissions.
Affected Products
- Omarchy versions prior to 4.0.1
- omarchy-theme-set component
- omarchy-theme-install component (related patch surface)
Discovery Timeline
- 2026-10-11 - CVE-2026-108913 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-108913
Vulnerability Analysis
Omarchy installs user-selected themes by cloning Git repositories into ~/.config/omarchy/themes and then applying them with omarchy-theme-set. The installation workflow trusts the content of the remote repository and does not sanitize file types, symlinks, or Git URL parameters. As a result, a theme repository can smuggle in executable content or path primitives that are then evaluated as the user. The attack requires the victim to install a theme from an attacker-controlled repository, which represents the user interaction component of the attack chain.
Root Cause
The root cause is unsafe handling of untrusted repository contents and unvalidated Git URLs. Three primitives contribute: executable or symlinked files are copied into state directories without filtering; the theme name is derived from the repository URL without validating against path traversal (for example ..) or leading-dot values; and the REPO_URL argument is passed to git without rejecting values that resemble Git options or <helper>::<address> remote-helper syntax. Together these allow a crafted theme repository or URL to coerce code execution or clobber user configuration.
Attack Vector
An attacker publishes a theme repository containing malicious payloads (for example, a symlinked unlock.png pointing at an arbitrary file, or theme assets that execute during apply). The attacker then convinces a victim to install it with omarchy-theme-install <url>. On the next theme set, the untrusted content is read or executed by Omarchy helpers running under the user account.
# Security patch in bin/omarchy-theme-install - reject hostile Git URLs and theme names
# Source: https://github.com/omacom/omarchy/commit/ef6d9e6605b121df15bf310e630e04f0c1119fc8
# git reads a leading dash as an option, and `<helper>::<address>` as a remote
# helper to run. The helper name is a bare word at the very start, which is what
# this matches; an scp-style IPv6 host such as git@[2001:db8::1]:org/repo.git
# carries `::` too and must still clone.
if [[ $REPO_URL == -* || $REPO_URL =~ ^[A-Za-z0-9][A-Za-z0-9+.-]*:: ]]; then
echo "Error: '$REPO_URL' names a git option or transport helper, not a repository."
exit 1
fi
THEMES_DIR="$HOME/.config/omarchy/themes"
# Strip user@host: prefix from scp-style SSH URLs so basename sees just the path
REPO_PATH="$REPO_URL"
[[ $REPO_PATH != *"://"* && $REPO_PATH == *:*/* ]] && REPO_PATH="${REPO_PATH#*:}"
THEME_NAME=$(basename -- "$REPO_PATH" .git | sed -E 's/^omarchy-//; s/-theme$//' | tr '[:upper:]' '[:lower:]')
THEME_PATH="$THEMES_DIR/$THEME_NAME"
# The name comes from the URL and is joined into a path that is about to be
# removed, so a repo called `..` would take ~/.config/omarchy with it. A leading
# dot is refused with it: `host:-s/foo.git` leaves basename with `.git`.
if [[ -z $THEME_NAME || $THEME_NAME == .* || $THEME_NAME == */* ]]; then
echo "Error: '$REPO_URL' does not give a usable theme name."
exit 1
fi
Source: GitHub Commit ef6d9e6
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2026-108913
Indicators of Compromise
- Unexpected files or symlinks under ~/.config/omarchy/themes/<theme> pointing outside the theme directory, especially targeting system paths or home-directory dotfiles.
- Presence of executable files (shell scripts, binaries) copied into ~/.local/state/omarchy/current/theme.
- git clone operations initiated by omarchy-theme-install against repositories outside a known trusted allowlist.
- Shell history entries invoking omarchy-theme-install with URLs beginning with - or containing :: before the patch.
Detection Strategies
- Monitor child processes spawned by omarchy-theme-set and omarchy-plymouth-set for shell interpreters or non-image handlers.
- Alert on file writes to /usr/share originating from theme-set workflows, since patched builds reject symlinked logo paths.
- Flag git clone command lines whose repository argument matches the hostile patterns ^- or ^[A-Za-z0-9][A-Za-z0-9+.-]*::.
Monitoring Recommendations
- Baseline the Omarchy version across Linux endpoints and alert on hosts still running pre-4.0.1 releases.
- Collect filesystem telemetry for ~/.config/omarchy/themes and ~/.local/state/omarchy to detect symlink creation and permission anomalies.
- Record outbound Git traffic from user sessions to identify theme installs from unapproved sources.
How to Mitigate CVE-2026-108913
Immediate Actions Required
- Upgrade Omarchy to version 4.0.1 or later on all affected systems.
- Audit ~/.config/omarchy/themes for recently installed third-party themes and remove any whose provenance cannot be verified.
- Inspect ~/.local/state/omarchy/current/theme for symlinks and executable files, and remove anything unexpected before the next theme apply.
Patch Information
The fix ships in Omarchy 4.0.1. Patch commit ef6d9e6 adds symlink rejection in bin/omarchy-plymouth-set, validates the derived theme name against empty, leading-dot, and path-separator values, and refuses REPO_URL values that start with - or match Git remote-helper syntax. See the GitHub Release v4.0.1, the GitHub Pull Request #7884, the GitHub Security Advisory GHSA-mxm5-5433-ggf5, and the Aeon Security Advisory for full details.
Workarounds
- Only install themes from repositories you have reviewed or that come from a vetted allowlist of maintainers.
- Before applying a new theme, inspect the cloned repository for symlinks, shell scripts, and executable bits using find ~/.config/omarchy/themes/<theme> -type l -o -perm -u+x.
- Avoid passing user-supplied strings directly to omarchy-theme-install; reject arguments beginning with - or containing :: at the wrapper level if automation is involved.
# Configuration example - verify Omarchy version and audit theme directory
omarchy --version # must report 4.0.1 or later
find ~/.config/omarchy/themes -type l -ls
find ~/.local/state/omarchy/current/theme -type l -o -perm -u+x
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

