critical CVSS 9.8

CVE-2026-21875·PHP vulnerability

ClipBucket v5 is an open source video sharing platform. Versions 5.5.2-#187 and below allow an attacker to perform Blind SQL Injection through the add comment section within a channel. When adding a comment within a channel, there is a POST request to the /actions/ajax.php endpoint. The obj_id parameter within the POST request to /actions/ajax.php is then used within the user_exists function of the upload/includes/classes/user.class. php file as the $id parameter. It is then used within the count function of the upload/includes/classes/db.class. php file. The $id parameter is concatenated into the query without validation or sanitization, and a user-supplied input like 1' or 1=1-- - can be used to trigger the injection. This issue does not have a fix at the time of publication.

Severity
critical
Software
PHP
Fixed in
5.5.2-191
Published
2026-01-08

Affected versions

From: 5.3

Until: 5.5.2-191

Fixed in: 5.5.2-191

How to fix this CVE

ClipBucket v5 versions up to 5.5.2-#187 contain a critical blind SQL injection vulnerability in the comment functionality that allows unauthenticated attackers to extract sensitive database information. Update ClipBucket immediately to version 5.5.2-#191 or later, which patches the unsafe parameter handling in the ajax.php endpoint. Review your PHP application code to ensure all user inputs are parameterized using prepared statements before passing them to database queries.

sudo dnf update php

Defensia detects this vulnerability

What an exploitation attempt looks like

Sample log line indicative of exploitation attempts:

POST /actions/ajax.php.*obj_id=.*['\"]\s*(OR|AND|UNION|--|;|/\*)

WAF mitigation (if patching is not yet possible)

Add this rule to your WAF to block exploitation attempts while you schedule the patch.

Implement a WAF rule to block POST requests to /actions/ajax.php where the obj_id parameter contains SQL metacharacters or common injection patterns. Specifically, deny requests matching: obj_id parameter contains single quotes, double quotes, SQL keywords (UNION, SELECT, OR, AND), SQL comments (-- or /*), or semicolons. Additionally, enforce strict input validation requiring obj_id to be numeric only.

How to check if you are affected

  1. Run `php -v` to confirm the installed PHP version and verify your ClipBucket installation version by checking the VERSION file in the ClipBucket root directory
  2. Verify the vulnerable /actions/ajax.php endpoint exists and check file permissions with `ls -la /path/to/clipbucket/actions/ajax.php`
  3. Search your web server logs (Apache/Nginx) for POST requests to /actions/ajax.php containing SQL metacharacters like single quotes, dashes, or 'or 1=1' patterns: `grep -i "ajax.php.*\('+\|or\s*1=1\)" /var/log/apache2/access.log`
  4. Confirm the patch by checking if ClipBucket version is 5.5.2-#191 or higher via `grep -i 'version' /path/to/clipbucket/VERSION` and verify that the user.class.php file uses parameterized queries in the user_exists function

FAQ

What is CVE-2026-21875?

CVE-2026-21875 is a critical blind SQL injection vulnerability in ClipBucket v5 that exists in the comment submission feature. An attacker can manipulate the obj_id parameter sent to /actions/ajax.php to execute arbitrary SQL queries without authentication, potentially exposing or modifying the entire database.

Is CVE-2026-21875 being actively exploited?

No, CVE-2026-21875 is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits have been released as of this advisory.

What versions of PHP are affected by CVE-2026-21875?

ClipBucket v5 versions 5.3 through 5.5.2-#187 are vulnerable. The vulnerability was remediated in version 5.5.2-#191 and later.

How do I check if my server is vulnerable to CVE-2026-21875?

Determine your ClipBucket version by examining the VERSION file in your ClipBucket installation directory. If the version is 5.5.2-#187 or earlier, your instance is vulnerable. You can also test by sending a POST request with a malicious SQL payload to /actions/ajax.php with the obj_id parameter set to `1' or 1=1-- -` and observing if the application behavior changes unexpectedly.

Does Defensia detect CVE-2026-21875?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If PHP is installed on a monitored server, CVE-2026-21875 will appear in your dashboard with remediation steps.

Related PHP CVEs

CVE-2025-47916CVSS 10Invision Community 5.0.0 before 5.0.7 allows remote code execution via crafted template strings to themeeditor.php. The issue lies within the themeeditor controller (file: /applications/core/modules/front/system/themeeditor.php), where a protected method named customCss can be invoked by unauthenticated users. This method passes the value of the content parameter to the Theme::makeProcessFunction() method; hence it is evaluated by the template engine. Accordingly, this can be exploited by unauthenticated attackers to inject and execute arbitrary PHP code by providing crafted template strings.
CVE-2025-25174CVSS 10Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in beeteam368 BeeTeam368 Extensions beeteam368-extensions allows PHP Local File Inclusion.This issue affects BeeTeam368 Extensions: from n/a through <= 1.9.4.
CVE-2026-39337CVSS 10ChurchCRM is an open-source church management system. Prior to 7.1.0, critical pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The "$dbPassword" variable is not sanitized. This vulnerability exists due to an incomplete fix for CVE-2025-62521. This vulnerability is fixed in 7.1.0.
CVE-2025-62521CVSS 10ChurchCRM is an open-source church management system. Prior to version 5.21.0, a pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The vulnerability exists in `setup/routes/setup.php` where user input from the setup form is directly concatenated into a PHP configuration template without any validation or sanitization. Any parameter in the setup form can be used to inject PHP code that gets written to `Include/Config.php`, which is then executed on every page load. This is more severe than typical authenticated RCE vulnerabilities because it requires no credentials and affects the installation process that administrators must complete. Version 5.21.0 patches the issue.
CVE-2025-46348CVSS 10YesWiki is a wiki system written in PHP. Prior to version 4.5.4, the request to commence a site backup can be performed and downloaded without authentication. The archives are created with a predictable filename, so a malicious user could create and download an archive without being authenticated. This could result in a malicious attacker making numerous requests to create archives and fill up the file system, or by downloading the archive which contains sensitive site information. This issue has been patched in version 4.5.4.

References

Track CVEs across your fleet automatically

Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-21875. Free for 1 server.

Get started free