Skip to content
Heist/ feed
Back to feed
Medium

PeerBanHelper: SQL injection via ${field} interpolation in MyBatis mapper for analysis endpoint

Type: advisorySources: Official CVE List

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.

Products
PeerBanHelper
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-62362
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 21:57 UTC · Revision 2

Source evidence

PeerBanHelper: SQL injection via ${field} interpolation in MyBatis mapper for analysis endpoint

core-cve · Original source

Published 16 Oct 2026, 16:43 UTC

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.

cve:CVE-2026-62362

PeerBanHelper

Fixed versions: Not specified

Complete source record
{
  "id": "a627296d289721e3f0046512084ebbab71b1d6188a7fb95d78e2c881992dd254",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-62362",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "PeerBanHelper: SQL injection via ${field} interpolation in MyBatis mapper for analysis endpoint",
    "summary": "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.",
    "evidence": "cve:CVE-2026-62362",
    "products": [
      {
        "name": {
          "value": "PeerBanHelper",
          "evidence": "/containers/cna/affected/0/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-62362",
      "aliases": [
        "CVE-2026-62362"
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "scope": "UNCHANGED",
            "version": "3.1",
            "baseScore": 4.9,
            "attackVector": "NETWORK",
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
            "integrityImpact": "NONE",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "availabilityImpact": "NONE",
            "privilegesRequired": "HIGH",
            "confidentialityImpact": "HIGH"
          }
        }
      ],
      "affected": [
        {
          "vendor": "PBH-BTN",
          "product": "PeerBanHelper",
          "versions": [
            {
              "status": "affected",
              "version": ">= 5.0.0, < 9.3.15"
            }
          ]
        }
      ],
      "modified": "2026-10-28T18:05:25.124Z",
      "provider": "cve",
      "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"
      ],
      "provider_metadata": {
        "adp": [
          {
            "title": "CISA ADP Vulnrichment",
            "metrics": [
              {
                "other": {
                  "type": "ssvc",
                  "content": {
                    "id": "CVE-2026-62362",
                    "role": "CISA Coordinator",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "version": "2.0.3",
                    "timestamp": "2026-10-28T18:05:17.742087Z"
                  }
                }
              }
            ],
            "references": [
              {
                "url": "https://github.com/PBH-BTN/PeerBanHelper/security/advisories/GHSA-pc89-mfwm-hj9x",
                "tags": [
                  "exploit"
                ]
              }
            ],
            "providerMetadata": {
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP",
              "dateUpdated": "2026-10-28T18:05:25.124Z"
            }
          }
        ],
        "cna": {
          "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
          "shortName": "GitHub_M",
          "dateUpdated": "2026-10-16T16:43:52.058Z"
        }
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-62362",
        "evidence": "/cveMetadata/cveId"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/containers/cna/metrics"
  },
  "source_id": "core-cve",
  "document_id": 470548,
  "published_at": "2026-10-16T16:43:52.058+00:00"
}