p PatchFirst

CVE-2026-62362

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 4.9 · Medium · EPSS 0.3%

Published
Updated

Affected products and versions

  • peerbanhelper

    Versions
    • >= 5.0.0, < 9.3.15: Affected

    No fix published

Original sources

Check your server →