CVE-2026-25241

PEAR is Vulnerable to SQL Injection in /get/<package>/<version> Endpoint

Published Feb 3, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
Description
PEAR is a framework and distribution system for reusable PHP components. Prior to version 1.33.0, an unauthenticated SQL injection in the /get/<package>/<version> endpoint allows remote attackers to execute arbitrary SQL via a crafted package version. This issue has been patched in version 1.33.0.

Analysis

AI-generated

Technical impact

The vulnerability is a classic SQL injection in the /get/<package>/<version> endpoint of the Pearweb framework. Because the endpoint does not enforce authentication and directly interpolates the package version into an SQL query, a remote attacker can forge requests that inject arbitrary SQL statements. Successful exploitation gives the attacker read or write access to the underlying database, allowing theft or modification of data and potentially full control over the application. The weakness is listed as CWE‑89: Improper Neutralization of Special Elements used in an SQL Command.

Affected Systems

The flaw exists in Pearweb, the PHP component distribution system provided by the Pear project. All releases older than 1.33.0 are affected. The vulnerability is exposed through the publicly accessible web endpoint /get/<package>/<version> and can be triggered by any user without authentication.

Risk and Exploitability

The CVSS base score of 9.3 indicates critical severity, while the EPSS probability of less than 1% suggests that, in practice, exploitation has not been observed or is unlikely at present. The issue is not listed in the CISA KEV catalog, meaning there is no evidence of widespread exploitation. However, the unauthenticated nature of the attack and the potential to compromise the database make it a high‑risk target for threat actors. An attacker can simply send a crafted HTTP request to the vulnerable endpoint from any network site with access to the Pearweb server.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Pearweb version 1.33.0 or later, where the SQL injection has been fixed.
  • If an immediate upgrade is not possible, block external access to the /get/<package>/<version> endpoint using firewall rules or a web application firewall to prevent unauthenticated requests from reaching the vulnerable code.
  • Apply additional input validation to the package and version parameters, or disable the endpoint entirely if it is not required for production.

Generated by OpenCVE AI on April 18, 2026 at 00:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:pear:pearweb:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Pear
Pear pearweb
Vendors & Products Pear
Pear pearweb
Type Values Removed Values Added
Description PEAR is a framework and distribution system for reusable PHP components. Prior to version 1.33.0, an unauthenticated SQL injection in the /get/<package>/<version> endpoint allows remote attackers to execute arbitrary SQL via a crafted package version. This issue has been patched in version 1.33.0.
Title PEAR is Vulnerable to SQL Injection in /get/<package>/<version> Endpoint
Weaknesses CWE-89
References
Metrics cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 4, 2026, 9:18 PM
Reserved
Jan 30, 2026, 2:44 PM
Status
Analyzed
Published
Feb 3, 2026, 7:16 PM
Modified
Jun 17, 2026, 10:24 AM