Skip to main content
CVE-2026-25240VulnerabilityPublished Updated

CVE-2026-25240: pear pearweb · SQL Injection

Affects pear pearwebSource CVE Database V5

0

Not known to be exploited · CVSS 6.9 Medium : upgrade to 1.33.0 when convenient.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 22% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.33.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade pear pearweb to 1.33.0.

Affected software

ProductAffectedFixed in
pearpearwebAffected
  • <1.33.0
Fixed in
  • 1.33.0

AI-suggested

1. Upgrade pearweb to version 1.33.0 or later immediately to apply the official patch addressing the SQL injection vulnerability. 2. Conduct a thorough code review of all PHP applications using pearweb to identify and remediate any other instances of unsafe SQL query construction, especially those involving dynamic IN clauses or array inputs. 3. Implement parameterized queries or prepared statements consistently across the codebase to prevent SQL injection. 4. Enforce strict input validation and sanitization on all user-supplied data, particularly arrays used in database queries. 5. Restrict network exposure of pearweb services to trusted internal networks or VPNs to reduce attack surface. 6. Enable detailed logging and monitoring of database queries and application logs to detect suspicious activity indicative of injection attempts. 7. Educate developers on secure coding practices related to SQL query construction and input handling. 8. Consider deploying Web Application Firewalls (WAFs) with rules targeting SQL injection patterns as an additional layer of defense.

Description

CVE-2026-25240 is a medium-severity SQL injection vulnerability affecting pearweb versions prior to 1.33.0. The flaw arises in the user::maintains() function when role filters are passed as an array and interpolated unsafely into an SQL IN clause, allowing attackers to manipulate queries. No authentication or user interaction is required, and exploitation can lead to limited data integrity impacts. The vulnerability has been patched in version 1.33.0. There are no known exploits in the wild yet. European organizations using pearweb in their PHP environments should prioritize updating to the fixed version to prevent potential exploitation.

References

Community reviews

Loading reviews…