Skip to main content
← All vulnerabilities
CVE-2026-62362GHSA-PC89-MFWM-HJ9X

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 9.3.15
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • PBH-BTN PeerBanHelper

    From 5.0.0 · fixed in 9.3.15

References 3

GitHub · PBH-BTN/PeerBanHelper