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

- Severity: Medium 4.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-16T16:43:52.058Z
- Modified: 2026-10-28T19:17:37.147Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- PBH-BTN PeerBanHelper: >= 5.0.0, < 9.3.15

## References

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

## Sources

- CVE List: [CVE-2026-62362](https://www.cve.org/CVERecord?id=CVE-2026-62362), CVE Terms of Use, modified 2026-10-28
- NVD: [CVE-2026-62362](https://nvd.nist.gov/vuln/detail/CVE-2026-62362), Public domain, modified 2026-10-28

---

Page: https://cve.day/CVE-2026-62362 · Whole record: https://cve.day/CVE-2026-62362.json · Rebuilt by cve.day 2026-11-25T22:59:45.068Z
