CVE-2026-62362
Received Received - Intake

PeerBanHelper SQL Injection via Unsanitized Field Parameter

Vulnerability report for CVE-2026-62362, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-16

Last updated on: 2026-10-16

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-16
Last Modified
2026-10-16
Generated
2026-10-16
AI Q&A
2026-10-16
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
PBH-BTN PeerBanHelper >= 5.0.0, < 9.3.15

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-62362 is a SQL injection vulnerability in PeerBanHelper affecting versions 5.0.0 to 9.3.14. The issue occurs in the /api/statistic/analysis/field endpoint where an authenticated user can manipulate the field query parameter to inject malicious SQL code. The field parameter is passed directly into SQL queries via ${field} interpolation without proper sanitization, affecting SQLite, MySQL, and PostgreSQL databases.

Detection Guidance

To detect this vulnerability, monitor logs for suspicious API requests to /api/statistic/analysis/field with unusual field parameters. Check for SQL error messages in application logs. Use network monitoring tools to inspect traffic for malformed query parameters.

Impact Analysis

An attacker with authenticated access can exploit this vulnerability to read all data stored in the PeerBanHelper database. This includes sensitive information such as peer connection logs, banned peers, and potentially other application data depending on the database contents.

Compliance Impact

This vulnerability could lead to unauthorized access to personal or sensitive data, potentially violating GDPR's data protection requirements and HIPAA's safeguards for protected health information. Organizations using affected versions may face compliance violations if data breaches occur due to this vulnerability.

Mitigation Strategies

Immediately upgrade PeerBanHelper to version 9.3.15 or later. If upgrading is not possible, apply input validation to sanitize the field parameter before processing. Block or restrict access to the /api/statistic/analysis/field endpoint until patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-62362. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart