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-100713 Overview
CVE-2026-100713 is a time-of-check time-of-use (TOCTOU) race condition in Froxlor versions 2.3.10 and earlier. The flaw resides in the SSH key synchronization cron job at lib/Froxlor/Cron/System/SshKeys.php within the SshKeys::generateFiles function. Containment validation performed by FileDir::makeCorrectDir() and makeCorrectFile() runs only at check time, while the live filesystem path is re-resolved as root at write time. On installations with the non-default setting system.allow_customer_shell=1, a customer with local shell access can swap their ~/.ssh directory for a symlink between the check and write operations. This classifies as a race condition vulnerability [CWE-367] leading to privilege escalation.
Critical Impact
A successful race window grants the attacker full root compromise of the Froxlor panel host by causing the root-run cron to append their public key to /root/.ssh/authorized_keys and change ownership of /root/.ssh to the attacker.
Affected Products
- Froxlor 2.3.10 and earlier versions
- Froxlor installations with system.allow_customer_shell=1 enabled
- Froxlor panel hosts running the SSH key synchronization cron
Discovery Timeline
- 2026-09-26 - CVE-2026-100713 published to NVD
- 2026-09-26 - Last updated in NVD database
Technical Details for CVE-2026-100713
Vulnerability Analysis
The vulnerability stems from a split between validation and execution in the SSH key sync cron. FileDir::makeCorrectDir() and makeCorrectFile() verify that the target path is contained within the customer's home directory. After validation, the cron performs a database round-trip and reads additional files before writing. The write operation uses file_put_contents with FILE_APPEND|LOCK_EX, followed by chmod, chown, and chgrp calls. Because the live path is re-resolved as root at write time, an attacker can replace intermediate directories with symlinks after the check completes. This is a residual race that bypasses the earlier check-time fix tracked under GHSA-mq5v. The cron re-runs on every interval, giving attackers unlimited attempts to win the race.
Root Cause
The root cause is the absence of path or file-descriptor pinning between validation and use. The code does not use O_NOFOLLOW or openat2(RESOLVE_NO_SYMLINKS) to anchor the resolved path. Each syscall independently resolves the path string, allowing an attacker to change what the path points to between operations.
Attack Vector
A customer with local shell access prepares two directories: a legitimate ~/.ssh that passes containment checks, and a symlink pointing to /root/.ssh. After the cron validates the path, the attacker atomically swaps the directory with the symlink using rename(). The root-run cron then appends the attacker's public key to /root/.ssh/authorized_keys and chowns /root/.ssh to the customer. The attacker gains SSH root access to the panel host.
See the GitHub Security Advisory GHSA-927x and the VulnCheck Advisory for Froxlor for additional technical details.
Detection Methods for CVE-2026-100713
Indicators of Compromise
- Unexpected entries in /root/.ssh/authorized_keys matching customer-controlled public keys
- Ownership of /root/.ssh or files within it changed from root to a non-privileged customer account
- Rapid rename() or symlink() syscalls targeting ~/.ssh within customer home directories around cron execution times
- Root SSH logins from source addresses not matching administrator baselines
Detection Strategies
- Monitor filesystem auditd events for rename and symlink operations on .ssh directories under customer home paths
- Alert on any modification to /root/.ssh/authorized_keys outside of change windows
- Compare the ownership and permissions of /root/.ssh against a known-good baseline on each cron interval
- Review Froxlor cron logs for repeated or anomalous invocations of SshKeys::generateFiles
Monitoring Recommendations
- Enable Linux audit rules on /root/.ssh and customer ~/.ssh paths with watches for write, attribute, and metadata changes
- Centralize SSH authentication logs and correlate successful root logins with recent cron execution
- Track process ancestry when Froxlor cron processes perform chown or chmod on paths outside customer home trees
How to Mitigate CVE-2026-100713
Immediate Actions Required
- Upgrade Froxlor to version 2.3.12, which contains the fix for this race condition
- Set system.allow_customer_shell=0 in Froxlor settings until the upgrade is applied
- Audit /root/.ssh/authorized_keys for unauthorized entries and remove any keys not owned by administrators
- Reset ownership and permissions on /root/.ssh to root:root with mode 700
Patch Information
The issue is fixed in Froxlor 2.3.12. The patch resolves the residual race left by the earlier GHSA-mq5v fix by eliminating the window between path validation and the write operation. Administrators should apply the upgrade immediately on all panel hosts.
Workarounds
- Disable customer shell access by setting system.allow_customer_shell=0 in the Froxlor configuration
- Restrict login shells for customer accounts to /sbin/nologin or /bin/false at the operating system level
- Temporarily disable the SSH key synchronization cron until the upgrade is completed
- Mount customer home directories with nosymfollow where supported by the kernel and filesystem
# Configuration example: disable customer shell access in Froxlor
# Via admin panel: System > Settings > System > Allow customer shell access = No
# Or directly in the database:
UPDATE panel_settings SET value = '0' WHERE varname = 'allow_customer_shell';
# Lock down customer shells at the OS level
for user in $(getent passwd | awk -F: '$3 >= 1000 {print $1}'); do
usermod -s /sbin/nologin "$user"
done
# Restore root SSH directory ownership
chown -R root:root /root/.ssh
chmod 700 /root/.ssh
chmod 600 /root/.ssh/authorized_keys
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

