CVE-2026-22402

7.5 HIGH

📋 TL;DR

This CVE describes a PHP Local File Inclusion vulnerability in the Triply WordPress theme by pavothemes. Attackers can include arbitrary local files through improper filename control in PHP include/require statements, potentially leading to sensitive information disclosure or code execution. WordPress sites using Triply theme versions up to and including 2.4.7 are affected.

💻 Affected Systems

Products:
  • pavothemes Triply WordPress Theme
Versions: n/a through <= 2.4.7
Operating Systems: Any OS running PHP and WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with Triply theme active. PHP configuration with allow_url_include disabled does not prevent local file inclusion.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Full server compromise through inclusion of malicious PHP files leading to remote code execution, data theft, and complete site takeover.

🟠

Likely Case

Sensitive file disclosure (configuration files, database credentials, source code) and limited code execution within web server context.

🟢

If Mitigated

No impact if proper file permissions and input validation are implemented, or if vulnerable code paths are inaccessible.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Simple path traversal or file inclusion payloads can trigger the vulnerability. Public exploit details available in security advisories.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: >2.4.7

Vendor Advisory: https://patchstack.com/database/Wordpress/Theme/triply/vulnerability/wordpress-triply-theme-2-4-7-local-file-inclusion-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Appearance > Themes. 3. Check Triply theme version. 4. If version <=2.4.7, update to latest version via theme update or manual upload. 5. Verify update completed successfully.

🔧 Temporary Workarounds

Disable vulnerable theme

all

Switch to default WordPress theme until patch is applied

wp theme activate twentytwentyfour

Restrict file access

linux

Set strict file permissions on web directory and configuration files

chmod 640 wp-config.php
chmod 640 .htaccess
find /var/www/html -type f -name '*.php' -exec chmod 644 {} \;

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block file inclusion patterns
  • Disable theme functionality through WordPress hooks or remove vulnerable theme files

🔍 How to Verify

Check if Vulnerable:

Check WordPress theme version in Appearance > Themes or run: wp theme list --field=name,version | grep -i triply

Check Version:

wp theme list --field=name,version | grep -i triply

Verify Fix Applied:

Confirm Triply theme version is >2.4.7 and test file inclusion attempts return errors instead of file contents

📡 Detection & Monitoring

Log Indicators:

  • Unusual file path patterns in PHP error logs
  • Multiple requests to theme files with ../ or similar path traversal sequences
  • Requests to non-existent theme files with parameter manipulation

Network Indicators:

  • HTTP requests containing file inclusion patterns (../../etc/passwd, php://filter, etc.)
  • Unusual file extensions in theme-related requests

SIEM Query:

source="web_logs" AND (uri_path="*triply*" AND (query="*../*" OR query="*php://*" OR query="*file=*"))

🔗 References

📤 Share & Export