HomeCVE Intelligence › CVE-2026-54540
CVSS 8.8 HIGH Vulnerability

CVE-2026-54540: Pheditor has an authenticated terminal command whitelist bypass

Summary Pheditor 2.0.4 has an authenticated terminal command whitelist bypass. The terminal feature checks whether the submitted command starts with one of the configured TERMINAL_COMMANDS values, then passes the full c…

8.8CVSS Score
HIGHSeverity
NOCISA KEV
VulnerabilityImpact Type

📋 Vulnerability Details

CVE IDCVE-2026-54540
Vendorcomposer
Affected Productpheditor/pheditor
Vulnerability TypeVulnerability
CVSS Score8.8 (HIGH)
Actively Exploited❌ No known exploitation
Patch StatusSee Vendor Advisory →
Reported ByCYBERDUDEBIVASH SENTINEL APEX Intelligence (via github_advisories)

🔬 Technical Analysis

#

Summary Pheditor 2.0.4 has an authenticated terminal command whitelist bypass. The terminal feature checks whether the submitted command starts with one of the configured TERMINAL_COMMANDS values, then passes the full command string to shell_exec(). Shell command substitution such as $() is not blocked, so an authenticated user with the terminal permission can bypass a restricted command allowlist and execute arbitrary shell commands as the web server user.

Details Tested repository: https://github.com/pheditor/pheditor Tested commit: 62b43df7cb8956a9b0deb9bec278ca8676c890c5 Affected version: Pheditor 2.0.4 Relevant code in pheditor.php: - The terminal handler receives $_POST['command'] and stores it in $command.

• It blocks only &, ;, and ||.
• It checks whet

🎯 Known Indicators of Compromise

{"type":"sha1","value":"62b43df7cb8956a9b0deb9bec278ca8676c890c5","confidence_score":0.9,"first_seen":"2026-07-16","source_count":1} {"type":"url","value":"https://github.com/pheditor/pheditor","confidence_score":0.82,"first_seen":"2026-07-16","source_count":1}

📚 Advisory References

⚡ DETECTION RULES AVAILABLE

Get CVE-2026-54540 Detection Pack

Sigma rules, YARA signatures, IOC table, and SIEM queries for Splunk, Elastic, Sentinel, and Chronicle — deployable in 5 minutes.

✓ Sigma Rules ✓ YARA Pack ✓ IOC Table ✓ SIEM Queries
🛡️ Get Detection Pack → 🔌 Access via API →

🔗 Related Intelligence