Vulnerability · Published Oct 16, 2026 · Assigned by GitHub_M
CVE-2026-62362PeerBanHelper: SQL injection via ${field} interpolation in MyBatis mapper for analysis endpoint
Medium 4.9
In plain English
A medium-severity SQL injection in PeerBanHelper from PBH-BTN. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| PBH-BTN | PeerBanHelper | >= 5.0.0, < 9.3.15 |
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N