CVE-2026-25241
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedPEAR 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceAn unauthenticated SQL injection vulnerability exists in PEAR versions prior to 1.33.0. The /get/<package>/<version> endpoint fails to properly sanitize the version parameter before using it in SQL queries, allowing remote attackers to inject and execute arbitrary SQL commands. The vulnerability is exploitable without authentication and has a CVSS score of 9.8, indicating critical severity with potential for complete system compromise.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 1.33.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify if Pear Pearweb is installedCheck for the presence of Pear Pearweb installation by searching for pearweb files or the PEAR package manager. Common locations include /usr/share/pear, /var/www/pear, or the web server document root. Look for pearweb-specific directories or files.Affected if Pear Pearweb is found on the system and the version is below 1.33.0 or cannot be determined.
-
Determine the installed Pear Pearweb versionIf Pear Pearweb is installed, locate its version information. This may be in a VERSION file, composer.json, or by running 'pear version' or 'pear info pear/pearweb' if the PEAR command-line tool is available. Check the package metadata or changelog for version details.Affected if The installed version is less than 1.33.0 or the version cannot be verified.
-
Verify the vulnerable endpoint is exposedCheck if the web server exposes the /get/<package>/<version> endpoint. This typically requires the PEAR web interface (pearweb) to be running as part of the PEAR installation. Inspect the web server configuration to determine if pearweb routes are accessible.Affected if The /get/ endpoint is accessible from the network and Pear Pearweb version is below 1.33.0.
-
Inspect version parameter handlingIf code access is available, review the source code handling the /get/<package>/<version> route, specifically how the version parameter is processed before being used in database queries. Look for direct insertion of the version parameter into SQL statements without sanitization or parameterized queries.Affected if The version parameter is used directly in SQL queries without proper escaping, prepared statements, or input validation.
The environment is affected if Pear Pearweb is installed with a version below 1.33.0 and the /get/ endpoint is accessible, as the unauthenticated SQL injection can be exploited through the version parameter.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped1.33.0
Upgrade PEAR to version 1.33.0 or later to apply the security patch. If immediate upgrade is not feasible, implement input validation on the version parameter and consider deploying a WAF with SQL injection detection rules as a temporary compensating control.
1.33.0
- Backup your existing Pearweb installation and database before upgrading
- Download Pearweb version 1.33.0 from the official repository
- Replace the existing Pearweb files with the new version 1.33.0
- Verify that the /get/<package>/<version> endpoint no longer accepts malicious SQL payloads
- Test that normal package retrieval functionality continues to work correctly
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing3.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,224.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-25241 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-25241 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data