Categories
CVE-2026-62251 high CVSS 8.1

SQL Injection in github.com/sipcapture/homer-app (CVE-2026-62251)

Summary

SQL injection in github.com/sipcapture/homer-app (CVE-2026-62251). Confidential information can be exposed externally. Exploitable via V4StatisticsQuery. Mitigation: upgrade to 0.0.0-20260625085520-a7d027dc684b or later.

Original description

The description as published by the source.

Summary

The V4StatisticsQuery handler passes the user-supplied rawquery field directly to DuckDB without calling the sqlvalidator.ValidateRawSQL function used throughout the rest of the codebase. Any authenticated user can execute arbitrary SQL statements against all data accessible through the FlightSQL service.

Details

coordinator/handlers/statistics_v4.go lines 74-107 — V4StatisticsQuery:

query := &model.V4StatisticsQuery{}
if err = c.Bind(query); err != nil { ... }
// No ValidateRawSQL call here — contrast with other handlers:
results, err := h.flightService.Query(c.Request().Context(), query.RawQuery)

Contrast with coordinator/handlers/search.go line 194 — secure pattern not followed:

if err := sqlvalidator.ValidateRawSQL(rawQuery); err != nil {
    return c.JSON(http.StatusBadRequest, ...)
}

query.RawQuery is whatever the caller submitted; it is passed verbatim to the FlightSQL/DuckDB backend. The handler is registered under the protected group (requires JWT), but given that the default JWT secret is empty (see related advisory), this is effectively pre-authentication on a default deployment.

PoC

# With a valid JWT (or empty JWT secret bypass):
curl -s -X POST http:///api/v4/statistics/query \
  -H "Authorization: Bearer " \
  -H "Content-Type: application/json" \
  -d '{
    "param": {
      "query": [{"rawquery": "SELECT * FROM information_schema.tables"}]
    }
  }'
# Returns all table names accessib…

Source: GitHub Security Advisories (Global) NVD GitHub Advisory

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2026-62251 has been found in github.com/sipcapture/homer-app.
Attackers can target a specific entry point like V4StatisticsQuery over the network to misuse the product.
Confidential information can be exposed externally. CVSS score: 8.1/10.
What to do: upgrade github.com/sipcapture/homer-app to 0.0.0-20260625085520-a7d027dc684b or later.
If unsure, ask your IT team or search "github.com/sipcapture/homer-app CVE-2026-62251" on the vendor's site.

CVE-2026-62251 (github.com/sipcapture/homer-app) — CWE-89 / CVSS v3 8.1
Attack vector: remote (network-reachable) / no user interaction
Attack surface: V4StatisticsQuery / rawquery / sqlvalidator.ValidateRawSQL / query.RawQuery
Patched: 0.0.0-20260625085520-a7d027dc684b — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

❓ What is the problem

SQL injection (CWE-89) exists in github.com/sipcapture/homer-app. Attackers reach the vulnerable code path via V4StatisticsQuery.

📍 Affected scope

Check the vendor advisory for the affected versions of github.com/sipcapture/homer-app. Attack surface: V4StatisticsQuery / rawquery / sqlvalidator.ValidateRawSQL / query.RawQuery.

🔥 Severity

Severity: High (CVSS 8.1/10). Confidential information can be exposed externally.

🔧 How to fix

Update to 0.0.0-20260625085520-a7d027dc684b.

🛡️ Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

🔍 Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'github.com/sipcapture/homer-app' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposure identify
    grep -r 'github.com/sipcapture/homer-app' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で github.com/sipcapture/homer-app を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patch patch
    Upgrade github.com/sipcapture/homer-app to 0.0.0-20260625085520-a7d027dc684b

    ステージング環境で 0.0.0-20260625085520-a7d027dc684b に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

go github.com/sipcapture/homer-app
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.0-20260625085520-a7d027dc684b"}]}]

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details