Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to PeerBanHelper web API
-
DeliveryCraft malicious 'field' query parameter
-
ExploitBypass mapField() via unrecognized name
-
ExecutionSQL injected through ${field} in DB mapper
-
ImpactRead entire PeerBanHelper database
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated session against the PeerBanHelper web API (PR:H - a privileged/admin panel user) and the ability to reach the /api/statistic/analysis/field endpoint, which routes to countField or sumField. The specific trigger is supplying a 'field' query parameter whose value is NOT one of the recognized field names, because mapField() passes unrecognized names straight into the ${field}-interpolated SQL; recognized field names are not injectable. Affected versions are 5.0.0 up to (but not including) 9.3.15 across any backing database (SQLite, MySQL, or PostgreSQL). The primary limiting factor is the prerequisite of valid high-privilege credentials; there is no user-interaction requirement and no non-default configuration needed beyond a running, reachable instance on an affected version. |
| Impact | This is a medium-severity issue (CVSS 4.9) whose real-world risk is constrained primarily by its authentication requirement. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N indicates a network-reachable, low-complexity attack but one requiring high privileges (PR:H) - i.e., an already-authenticated administrator of the PeerBanHelper web UI/API. Impact is confined to confidentiality (C:H: full read of the PeerBanHelper database) with no integrity or availability impact (I:N/A:N), consistent with a read-oriented SQL injection in the /api/statistic/analysis/field endpoint. No EPSS score was supplied, the CVE is not listed in CISA KEV, and no public proof-of-concept is referenced - therefore no public exploit identified at time of analysis. No SSVC decision data was provided. The signals are internally consistent (no conflicts between CVSS vector and description), but the headline risk is dampened by the fact that an attacker must first hold valid high-privilege credentials, which largely reduces this to a post-authentication data-disclosure / privilege-boundary weakness rather than a mass-exploitable remote flaw. Note that EPSS, KEV, and POC signals are all absent rather than confirmed-negative, so this reflects lack of evidence of exploitation, not proof of none. |
| Exploit ScenarioDerived | An attacker who already possesses valid PeerBanHelper web-panel credentials sends a request to /api/statistic/analysis/field with a crafted 'field' query parameter. Because mapField() forwards unrecognized field names unsanitized into a ${field} string-interpolated SQL statement, the attacker injects SQL that is executed by the SQLite, MySQL, or PostgreSQL mapper, allowing them to read arbitrary data from the PeerBanHelper database. No public PoC is referenced, though the fixing commit clearly illustrates the vulnerable code path. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 16, 2026
Authenticated SQL injection in PeerBanHelper versions 5.0.0 through releases before 9.3.15 enables a high-privileged web API user to read arbitrary data from the configured SQLite, MySQL, or PostgreSQL database by supplying an unrecognized field value to the /api/statistic/analysis/field endpoint. Exploitation requires valid admin-panel credentials (CVSS PR:H) and reachable API access, with no user interaction needed. CVE-2026-62362 is rated medium severity (CVSS 4.9), is fixed in 9.3.15, and has no public exploit identified at time of analysis.
RemediationAI
Upgrade to PeerBanHelper 9.3.15 or later, which adds validation rejecting dangerous field values before SQL interpolation; the exact fixed version is 9.3.15. The vendor advisory (https://github.com/PBH-BTN/PeerBanHelper/security/advisories/GHSA-pc89-mfwm-hj9x), release tag (https://github.com/PBH-BTN/PeerBanHelper/releases/tag/v9.3.15), and fix commit (https://github.com/PBH-BTN/PeerBanHelper/commit/bec34c8b93c6ea3a3bc2ad992aedd41b95cd400a) provide patch details. If immediate upgrade is not possible, restrict network access to the PeerBanHelper web API and ensure only trusted administrators hold high-privilege accounts; those measures reduce exposure but do not remove the injection when an authenticated user can reach the endpoint, and they impose operational limits on legitimate API use. No vendor-released workaround beyond upgrading is described in the provided data.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The issue is a CWE-89 SQL injection in PeerBanHelper's Java web API. The /api/statistic/analysis/field endpoint accepts a field query parameter and routes it to countField or sumField; mapField() passes names it does not recognize directly into SQL template interpolation (${field}) rather than using bound parameters. Because the same mapper pattern is used for SQLite, MySQL, and PostgreSQL, an authenticated attacker who supplies a non-allowlisted field name can alter the query and extract all data in the PeerBanHelper database. Recognized field names are mapped safely; only unrecognized values trigger the injectable interpolation. The fix commit adds MyBatis-Plus SqlInjectionUtils.check() to reject dangerous field values. The CVSS vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N confirms remote network exploitation with high privileges, no user interaction, and high confidentiality impact, while integrity and availability impacts are absent.
Know when Peerbanhelper gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Network-reachable API endpoint (AV:N) with simple crafted parameter (AC:L) but requires an authenticated privileged panel user (PR:H); read-only data disclosure yields C:H, I:N, A:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
PeerBanHelper automatically blocks unwanted, leeching, and abnormal BitTorrent peers using customizable and cloud rules. From 5.0.0 until 9.3.15, the /api/statistic/analysis/field endpoint accepts a crafted field query parameter from an authenticated user and passes it to countField or sumField. The mapField() method forwards unrecognized field names without sanitization, so unrecognized field names are interpolated into SQL through ${field} across the SQLite, MySQL, and PostgreSQL mappers. Successful exploitation can read all data in the PeerBanHelper database. This issue is fixed in version 9.3.15.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
EUVD-2026-102944
NVD
CVE.org
GitHub
Exploit-DB