Skip to main content

PeerBanHelper CVE-2026-62362

| EUVDEUVD-2026-102944 MEDIUM
SQL Injection (CWE-89)
2026-10-16 GitHub_M
4.9
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to PeerBanHelper web API
  2. Delivery
    Craft malicious 'field' query parameter
  3. Exploit
    Bypass mapField() via unrecognized name
  4. Execution
    SQL injected through ${field} in DB mapper
  5. Impact
    Read entire PeerBanHelper database

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated session against the PeerBanHelper web API (PR:H - a privileged/admin panel user) and the ability to reach the /api/statistic/analysis/field endpoint, which routes to countField or sumField. The specific trigger is supplying a 'field' query parameter whose value is NOT one of the recognized field names, because mapField() passes unrecognized names straight into the ${field}-interpolated SQL; recognized field names are not injectable. Affected versions are 5.0.0 up to (but not including) 9.3.15 across any backing database (SQLite, MySQL, or PostgreSQL). The primary limiting factor is the prerequisite of valid high-privilege credentials; there is no user-interaction requirement and no non-default configuration needed beyond a running, reachable instance on an affected version.

Impact

This is a medium-severity issue (CVSS 4.9) whose real-world risk is constrained primarily by its authentication requirement. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N indicates a network-reachable, low-complexity attack but one requiring high privileges (PR:H) - i.e., an already-authenticated administrator of the PeerBanHelper web UI/API. Impact is confined to confidentiality (C:H: full read of the PeerBanHelper database) with no integrity or availability impact (I:N/A:N), consistent with a read-oriented SQL injection in the /api/statistic/analysis/field endpoint. No EPSS score was supplied, the CVE is not listed in CISA KEV, and no public proof-of-concept is referenced - therefore no public exploit identified at time of analysis. No SSVC decision data was provided. The signals are internally consistent (no conflicts between CVSS vector and description), but the headline risk is dampened by the fact that an attacker must first hold valid high-privilege credentials, which largely reduces this to a post-authentication data-disclosure / privilege-boundary weakness rather than a mass-exploitable remote flaw. Note that EPSS, KEV, and POC signals are all absent rather than confirmed-negative, so this reflects lack of evidence of exploitation, not proof of none.

Exploit ScenarioDerived

An attacker who already possesses valid PeerBanHelper web-panel credentials sends a request to /api/statistic/analysis/field with a crafted 'field' query parameter. Because mapField() forwards unrecognized field names unsanitized into a ${field} string-interpolated SQL statement, the attacker injects SQL that is executed by the SQLite, MySQL, or PostgreSQL mapper, allowing them to read arbitrary data from the PeerBanHelper database. No public PoC is referenced, though the fixing commit clearly illustrates the vulnerable code path.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 16, 2026

Authenticated SQL injection in PeerBanHelper versions 5.0.0 through releases before 9.3.15 enables a high-privileged web API user to read arbitrary data from the configured SQLite, MySQL, or PostgreSQL database by supplying an unrecognized field value to the /api/statistic/analysis/field endpoint. Exploitation requires valid admin-panel credentials (CVSS PR:H) and reachable API access, with no user interaction needed. CVE-2026-62362 is rated medium severity (CVSS 4.9), is fixed in 9.3.15, and has no public exploit identified at time of analysis.

RemediationAI

Upgrade to PeerBanHelper 9.3.15 or later, which adds validation rejecting dangerous field values before SQL interpolation; the exact fixed version is 9.3.15. The vendor advisory (https://github.com/PBH-BTN/PeerBanHelper/security/advisories/GHSA-pc89-mfwm-hj9x), release tag (https://github.com/PBH-BTN/PeerBanHelper/releases/tag/v9.3.15), and fix commit (https://github.com/PBH-BTN/PeerBanHelper/commit/bec34c8b93c6ea3a3bc2ad992aedd41b95cd400a) provide patch details. If immediate upgrade is not possible, restrict network access to the PeerBanHelper web API and ensure only trusted administrators hold high-privilege accounts; those measures reduce exposure but do not remove the injection when an authenticated user can reach the endpoint, and they impose operational limits on legitimate API use. No vendor-released workaround beyond upgrading is described in the provided data.

Affected VersionsENISA

PeerBanHelper 5.0.0, < 9.3.15

Affected Packages

euvd peerbanhelper fix: 9.3.15

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The issue is a CWE-89 SQL injection in PeerBanHelper's Java web API. The /api/statistic/analysis/field endpoint accepts a field query parameter and routes it to countField or sumField; mapField() passes names it does not recognize directly into SQL template interpolation (${field}) rather than using bound parameters. Because the same mapper pattern is used for SQLite, MySQL, and PostgreSQL, an authenticated attacker who supplies a non-allowlisted field name can alter the query and extract all data in the PeerBanHelper database. Recognized field names are mapped safely; only unrecognized values trigger the injectable interpolation. The fix commit adds MyBatis-Plus SqlInjectionUtils.check() to reject dangerous field values. The CVSS vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N confirms remote network exploitation with high privileges, no user interaction, and high confidentiality impact, while integrity and availability impacts are absent.

Know when Peerbanhelper gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 4.9 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 4.9 MEDIUM

Network-reachable API endpoint (AV:N) with simple crafted parameter (AC:L) but requires an authenticated privileged panel user (PR:H); read-only data disclosure yields C:H, I:N, A:N.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Oct 16, 2026 - 18:03 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

Prevalence
Low
niche self-hosted BitTorrent peer-banning tool, no enterprise footprint
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy