CVE-2026-62362: PeerBanHelper: SQL injection via ${field} interpolation in MyBatis mapper for analysis endpoint

Published Oct 16, 2026
·
Updated

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 Software

1 affected component
PeerBanHelper PeerBanHelper>=5.0.0<9.3.15

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade PeerBanHelper to a version that resolves this vulnerability.

    Fixed in 9.3.15

Event History

Oct 16, 2026
CVE Published
via MITRE·04:43 PM
Data Sourced
via MITRE·04:43 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated user who can send requests to the /api/statistic/analysis/field endpoint can supply a crafted field parameter. No user interaction is required.

2

Which deployments are affected?

PeerBanHelper versions from 5.0.0 through versions before 9.3.15 are affected. The vulnerable interpolation is present in the SQLite, MySQL, and PostgreSQL mappers.

3

What data could be exposed?

Successful exploitation can allow reading all data in the PeerBanHelper database. The provided impact information does not indicate data modification or service disruption.

4

How can I remediate this issue?

Upgrade PeerBanHelper to version 9.3.15, which fixes the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203