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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.9
- **CVSS:** 4.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.47% (percentile 33, 2026-11-26)
- **CWE:** CWE-89
- **Published:** 2026-10-16T16:43:52.058Z
- **Modified:** 2026-10-28T19:17:37.147Z

## Who should check

- Anyone running PBH-BTN PeerBanHelper \>= 5.0.0, \< 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.

## Affected and fixed versions

- PBH-BTN PeerBanHelper: \>= 5.0.0, \< 9.3.15 (cvelist)

## Mitigation

- Upgrade PeerBanHelper to 9.3.15 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-62362. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-62362.md
Affected: PBH-BTN PeerBanHelper >= 5.0.0, < 9.3.15
Fixed in: PBH-BTN PeerBanHelper 9.3.15

Steps:
1. Search this machine and project for PBH-BTN PeerBanHelper: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-62362 being exploited?

There is no confirmed exploitation: CVE-2026-62362 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.47% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-62362?

Medium: CVSS 4.9 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-62362?

PBH-BTN PeerBanHelper \>= 5.0.0, \< 9.3.15.

### Is there a fix for CVE-2026-62362?

Yes. Fixed in PBH-BTN PeerBanHelper 9.3.15. Upgrade PeerBanHelper to 9.3.15 or later.

### How do I check if I'm affected by CVE-2026-62362?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-62362>

HTML: <https://flawdb.com/CVE-2026-62362> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-62362>
