New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Recent posts

#21
Updates / Re: egde or lts
Last post by universal4 - November 21, 2026, 09:54:42 AM
Looks like the latest Iteration of 1.30.32 has the pcre2 fixed up as well as possible issues with ioncube loader issues.

If you try an update and it stays on 1.30.31 because it thinks the update already is set, try forcing the cron.daily to run and it should take that up to the latest point release on the LTS. (I saw that earlier also)
#22
Updates / Re: Trojanized cwpsrv on 1.30....
Last post by venty - November 21, 2026, 09:31:24 AM
Quote from: Starburst on November 20, 2026, 01:19:21 PMThis is why you need to keep CWP updated.
There is no way to manually update the CWP backend, but you can be aware until a fix comes out.

Not sure how you where still running an older version still yesterday, when the fix came out in 1.30.8 on 2026-11-11.

I been posting about the Nginx CVE's here as well as on sysadmin.help.

Last post was 2 days ago on 2026-11-18.

Hi,

I didn't quite get this...

The infection occurs on all versions of AL—8, 9, and 10—and specifically during an update???

What should we do??? Okay, we can clean it up, but what guarantee is there that it won't happen again—or if we reinstall the server from scratch???

BR
Venty
#23
Other / Re: URGENT – CWP update delive...
Last post by thefantas - November 21, 2026, 09:18:47 AM
I have administrator ports BLOCKED for nearly 190 countries, yet the issue still occurred when I clicked to update. I highly doubt this is a latent issue; over the last few months, I've been reinstalling CWP in a fresh environment and rotating keys extensively.
#24
Updates / Re: Trojanized cwpsrv on 1.30....
Last post by thefantas - November 21, 2026, 08:59:45 AM
**Title:** CWPdoor-style trojaned cwpsrv installed by the panel "Update" (cron.php → autoupdater) on AlmaLinux 10 — evidence and IOCs

Hello CWP team,

On one of our CWP servers, the panel's own update process replaced `/usr/local/cwpsrv/bin/cwpsrv` with a backdoored build. It looks like a renamed CWPdoor variant. Your `cwp_security_audit` flagged it on 2026-11-19 ("Panel binary tampered"), and we have since cleaned it. Please look into how it was delivered: everything points to the update chain that `cron.php` runs as root.

**Environment**
- AlmaLinux 10.2, CWP LTS 1.30.x (now 1.30.32), `cwpsrv-1.30.6-1.el10`.

**What happened (2026-11-08, 14:20 UTC)**
- The admin pressed **Update** in the admin panel (`module=update`), which runs `cron.php`.
- In the **"Update Server Packages"** step, instead of the usual "CentOS Web Panel (CWP) UPDATER" banner, the following ran. It is a 12,458-byte script fetched with `curl` and piped to a shell. Excerpt from `/var/log/cwp/panel_update_cwp.log`, times are UTC-5:

```
2026-11-08 09:20:46 CWP update started from the admin panel
============= CentOS Web Panel Cron ================
Firewall Flush Daily Blocks
Update Server Packages
  % Total    % Received % Xferd  Average Speed ...
#          CentOS Web Panel (CWP)   cwpsrv UPDATER              #
100 12458  100 12458 ...
[2026-11-08 09:20:49] Installed cwpsrv version: 1.30.6 (sha256 31a59668bd91b3bb, 4619408 bytes)
[2026-11-08 09:20:49] Distribution: AlmaLinux 10.2 (Lavender Lion) (almalinux10.2 build selected)
[2026-11-08 09:20:49] Downloading http://136.0.141.71/static/cwpsrv_1.30.6_almalinux10.2
[2026-11-08 09:20:49]   package accepted: cwpsrv/1.30.6 702f9c12b8b4f999
[2026-11-08 09:20:55] cwpsrv updated to 1.30.6 (almalinux10.2 build)
  sha256    : 31a59668bd91b3bb -> 702f9c12b8b4f999
  size      : 4619408 -> 4767232 bytes
  mtime     : 2026-10-30 17:05:53 (preserved)
  reported  : http://136.0.141.71/update?v=1.30.6
  log file  : none (this updater writes no files)
```

- The nightly `cron.daily` run the same day, at 08:47 UTC, did **not** do this. The binary's ctime is 2026-11-08 14:20:55 UTC.

**How the update chain works today (traced with strace, 2026-11-21)**
- We forced `cron.php` under strace. In "Update Server Packages" it runs:
  1. `wget -q https://centos-webpanel.com/webpanel/main.php?dl=cwp-el7_autoupdater.sh`
  2. `sh /usr/local/src/cwp-el7_autoupdater.sh`
  3. `rm -f` of the script.
- Today's script is clean: 7,427 bytes, sha256 `3dafa83a2def6d68f3970fb63513027009f20380da3a136a447c0500ffebcdc0`, banner "CentOS Web Panel (CWP)   UPDATER".
- On 2026-11-08 the output at exactly that point was a modified copy of that banner ("... **cwpsrv** UPDATER"). We could not recover that script, because it is deleted after it runs.
- Our conclusion is that the malicious stage arrived through this update channel: either the autoupdater served on 2026-11-08 or the panel code at that time. Delivery may have been selective. The download is HTTPS with certificate verification, so tampering in transit is unlikely.

**IOCs**
- **Attacker server:**
  - IP `136.0.141.71`
  - download `http://136.0.141.71/static/cwpsrv_1.30.6_almalinux10.2`
  - callback `http://136.0.141.71/update?v=1.30.6`
- **Trojaned cwpsrv:**
  - sha256 `702f9c12b8b4f999739201659e38f381f9d83a6b160d4215fd5de4085ad7bbb1`
  - md5 `55eae64a387d17c20c37efc30bbc5a14`
  - 4,767,232 bytes
- **Official `cwpsrv-1.30.6-1.el10`:** sha256 `31a59668bd91b3bbb6078887b480416bbe77e7b56be243c43edc5e7c758b7e74`, 4,619,408 bytes.
- **Strings present only in the trojan:**
  - `ngx_http_log_digest_aes_encrypt`, `ngx_http_log_digest_aes_decrypt`
  - `ngx_http_log_digest_helper_run`, `ngx_http_log_digest_helper_pid`
  - "cache digest: ... helper disabled"
  - `RSA_verify`, `PEM_read_bio_RSA_PUBKEY`, `BIO_f_base64`
- It has **no** `X-Ngx-Integrity` strings, so it is a renamed variant. It is **not** matched by `KNOWN_BAD_BINHASH` in `cwp_security_audit` (#846866). Only the `rpm -V` check caught it.

**What we did**
- Reinstalled the signed `cwpsrv` RPM; `rpm -V` is clean.
- Blocked `136.0.141.71`.
- Restricted the admin port to trusted IPs.
- Checked for Ebury (clean, with your busybox scan), new accounts and keys, and modified packages. We found nothing.

**Requests / questions**
1. Can you check what `main.php?dl=cwp-el7_autoupdater.sh` served around **2026-11-08 14:20 UTC**, and whether it can serve different content to different clients?
2. Is this related to incident #846866? Is there an advisory, and how many servers are affected?
3. Please **sign** the autoupdater and the panel zips (GPG or minisign) and verify the signature in `cron.php` before running them. An `.md5` from the same server does not protect against a compromised server.
4. Please add the hash above to `KNOWN_BAD_BINHASH`.
5. `cwp.repo` ships with `gpgcheck=0` although the RPMs are signed. Please enable `gpgcheck=1`.

We can share the trojaned binary privately with your security team.

Thanks.
#25
Updates / Re: egde or lts
Last post by universal4 - November 21, 2026, 08:53:34 AM
Agreed, I am currently sticking with the LTS also, but I see the edge version 2.0.26 fixes the PCRE2 library mismatch which I experienced on a few of my servers during recent updates.

Considering building another one, possibly on alma10 and going with the edge updates to see how it goes.
#26
PHP / Re: 9 Critical PHP CVE's - Ple...
Last post by overseer - November 21, 2026, 03:22:18 AM
8.3.37 is my server defaults; 8.5.13 for special Drupal sites.
#27
New Modules / Re: cloudflare module
Last post by overseer - November 21, 2026, 03:18:59 AM
Do I count?
#28
Updates / Re: egde or lts
Last post by overseer - November 21, 2026, 03:15:05 AM
For the record, many of us fuddy duddy folks prefer the conservative LTS track.
#29
Backup / Re: NEW Backup (beta) is broke...
Last post by clight77 - November 21, 2026, 03:00:27 AM
I read somewhere

BU issue is the password don't get stored correctly in the database table of cwp.
#30
CentOS-WebPanel Bugs / Re: CWP LTS: PHP 8.3.37 PCRE2 ...
Last post by Wonder - November 21, 2026, 01:05:07 AM
Good news! I've finally managed to resolve the issue, and I wanted to share what I found in case it helps anyone else.

I compared two servers running AlmaLinux 8.10 and CWP LTS, both using the same CWP repository.

The first server had successfully updated to CWP LTS 1.30.32 and was still using cwpphp 8.3.36. Everything worked correctly.

The second server was stuck on CWP LTS 1.30.31 after automatically installing cwpphp 8.3.37-1.el8, which caused the PCRE2 and ionCube problems described earlier.

Both servers had the same system PCRE2 version (10.32), but PHP behaved differently:

Server 1:
CWP LTS 1.30.32
cwpphp 8.3.36-1
PCRE2 10.32
preg_match() => int(1)

Server 2 (affected):
CWP LTS 1.30.31
cwpphp 8.3.37-1.el8
PCRE2 10.32
preg_match() => bool(false)

I also discovered that the two servers were using different revisions of the CWP repository metadata, despite having exactly the same repository URL. The first server only listed cwpphp 8.3.36, while the second already listed a newer package, cwpphp 8.3.37-2.el8.

That gave me an idea: instead of trying to repair CWP again, I downloaded and installed the newer cwpphp package directly using DNF.

dnf upgrade -y cwpphp-8.3.37-2.x86_64.rpm

And that was the solution!

After installing cwpphp 8.3.37-2.el8, PHP worked correctly with the system PCRE2 10.32 library, without LD_LIBRARY_PATH or any other workaround:

PHP 8.3.37
PCRE2 10.32
preg_match() => int(1)
ionCube PHP Loader v15.5.1

I then ran:

sh /scripts/update_cwp

This time it completed without the previous PCRE2, ionCube or PHP fatal errors, and CWP successfully updated from LTS 1.30.31 to 1.30.32.

Finally, I removed all the temporary LD_LIBRARY_PATH workarounds from both PHP-FPM systemd services, restored the original AutoSSL cron entries and restored /etc/cron.d/cwp.sh.

Everything is now back to its normal configuration:

AlmaLinux 8.10
CWP LTS 1.30.32
cwpphp 8.3.37-2.el8
cwpsrv 1.30.6
PCRE2 10.32 (system)
ionCube Loader 15.5.1

The panel is accessible, all CWP services are running, PHP works without warnings, and there is only one active ionCube configuration. No server reboot was necessary.

The scheduled AutoSSL jobs still need to complete their next normal runs, but their original cron configurations have been restored.

Based on these tests, it looks like cwpphp 8.3.37-1.el8 introduced the incompatibility and 8.3.37-2.el8 corrected it.

Hopefully this helps anyone who encounters the same issue. Thanks!