CVE-2026-62252: Homer Remote Code Execution Vulnerability

CRITICAL
Advisory Identifier: GHSA-6xp5-7rcx-xfgx
CVSS 9.8
CWE-798
Published
Advisory Summary

CVE-2026-62252 is a CRITICAL (CVSS 9.8) remote code execution vulnerability (CWE-798: Use of Hard-coded Credentials) affecting Homer libraries in the Go ecosystem. The issue involves hardcoded default admin password 'sipcapture' with no forced change on first login. Remediation is available by upgrading affected packages to version 0.0.0-20260625091610-b2e942031ff8.

CVE-2026-62252 at a Glance

CVE Identifier CVE-2026-62252
GHSA Identifier GHSA-6xp5-7rcx-xfgx
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-798: Use of Hard-coded Credentials
Affected Product Homer
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 9.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-62252

To remediate this vulnerability, upgrade all affected Homer dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/sipcapture/homer-app fixed: 0.0.0-20260625091610-b2e942031ff8
Upgrade github.com/sipcapture/homer-app to 0.0.0-20260625091610-b2e942031ff8
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/sipcapture/homer-app

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-62252, inspect your project dependencies for Homer:

inspect dependencies for github.com/sipcapture/homer-app

Analyze the terminal output to locate any version of Homer in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20260625091610-b2e942031ff8), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-798: Use of Hard-coded Credentials, where the product contains hard-coded credentials, such as a password or cryptographic key. In Homer, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary On every fresh Homer deployment using internal authentication, the bootstrap process automatically creates an `admin` account with the password `sipcapture` (stored as a legacy SHA-256 hex hash). There is no first-login forced-change mechanism. Any attacker who reaches the login endpoint immediately gains full administrative access. ### Details **`config/config.go` lines 858-861:** ```go // DefaultInternalAuthPasswordHash is the SHA-256 hex digest of the default // bootstrap password (cleartext: sipcapture). const DefaultInternalAuthPasswordHash = "883ffc1f37fd0fe542b0fb9740035c4383e7d976c411161d24e62edace280f90" ``` **`coordinator/services/auth_bootstrap.go` lines 20-71:** `EnsureBootstrapAdminUser()` runs at startup. If no admin user exists, it inserts a row with `username=admin`, `password_hash=DefaultInternalAuthPasswordHash`. No `force_change`, no `first_login` flag, no expiry is set. **`coordinator/services/auth_bootstrap_test.go` line 114** confirms the plaintext: ```go u, err := svc.Authenticate(ctx, "admin", "sipcapture") ``` **`passwordhash/password.go` lines 36-45:** Legacy SHA-256 hex hashes are accepted via `legacySHA256HexEqual`, so the default credential is functional on any deployment. ### PoC ```bash # Authenticate with default credentials — works on any fresh Homer deployment curl -s -X POST http://<homer-host>/api/v3/auth \ -H 'Content-Type: application/json' \ -d '{"username":"admin","password":"sipcapture"}' # Response: {"token":"<admin-jwt>","data":{"userGroup":"admin"}} # Use the token to access all admin functionality curl -H "Authorization: Bearer <admin-jwt>" http://<homer-host>/api/v3/users ``` ### Impact Use of Hard-coded Credentials (CWE-798). Any attacker who can reach a freshly deployed Homer instance gains immediate full administrative access using the publicly documented default password, with no lockout, rate limiting, or forced password change required. ### Fix Remove the hardcoded `DefaultInternalAuthPasswordHash` constant. Require operators to provide a hashed admin password in the configuration file. Alternatively, generate a random password on first startup, print it to stdout once, and immediately force a change on first login. If possible, please apply for a CVE number when posting.

CVE-2026-62252 Affected Homer Versions

1 component(s)
Fixed Versions:
0.0.0-20260625091610-b2e942031ff8
Product / Package Ecosystem Affected Versions Fixed Version
github.com/sipcapture/homer-app
Go
< 0.0.0-20260625091610-b2e942031ff8
0.0.0-20260625091610-b2e942031ff8

References

Frequently Asked Questions

What is CVE-2026-62252?
CVE-2026-62252 is a security vulnerability in Homer involving Hardcoded Default Admin Password 'sipcapture' With No Forced Change on First Login under CWE-798: Use of Hard-coded Credentials.
Which Homer versions are affected?
Affected versions include releases prior to 0.0.0-20260625091610-b2e942031ff8 across affected packages: github.com/sipcapture/homer-app.
What version fixes CVE-2026-62252?
Upgrading to 0.0.0-20260625091610-b2e942031ff8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/sipcapture/homer-app affected?
Yes, github.com/sipcapture/homer-app is affected in releases prior to 0.0.0-20260625091610-b2e942031ff8. Upgrade your dependency to 0.0.0-20260625091610-b2e942031ff8 or later.
What is the CVSS score of CVE-2026-62252?
CVE-2026-62252 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-62252?
CVE-2026-62252 is classified under CWE-798: Use of Hard-coded Credentials (The product contains hard-coded credentials, such as a password or cryptographic key.).
How can I check Go dependencies for CVE-2026-62252?
Run the dependency tree command: 'inspect dependencies for github.com/sipcapture/homer-app'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-6xp5-7rcx-xfgx",
  "modified" : "2026-10-07T16:12:02Z",
  "published" : "2026-10-07T16:12:02Z",
  "aliases" : [ "CVE-2026-62252" ],
  "summary" : "Homer: Hardcoded Default Admin Password 'sipcapture' With No Forced Change on First Login",
  "details" : "### Summary\nOn every fresh Homer deployment using internal authentication, the bootstrap process automatically creates an `admin` account with the password `sipcapture` (stored as a legacy SHA-256 hex hash). There is no first-login forced-change mechanism. Any attacker who reaches the login endpoint immediately gains full administrative access.\n\n### Details\n**`config/config.go` lines 858-861:**\n```go\n// DefaultInternalAuthPasswordHash is the SHA-256 hex digest of the default\n// bootstrap password (cleartext: sipcapture).\nconst DefaultInternalAuthPasswordHash = \"883ffc1f37fd0fe542b0fb9740035c4383e7d976c411161d24e62edace280f90\"\n```\n\n**`coordinator/services/auth_bootstrap.go` lines 20-71:** `EnsureBootstrapAdminUser()` runs at startup. If no admin user exists, it inserts a row with `username=admin`, `password_hash=DefaultInternalAuthPasswordHash`. No `force_change`, no `first_login` flag, no expiry is set.\n\n**`coordinator/services/auth_bootstrap_test.go` line 114** confirms the plaintext:\n```go\nu, err := svc.Authenticate(ctx, \"admin\", \"sipcapture\")\n```\n\n**`passwordhash/password.go` lines 36-45:** Legacy SHA-256 hex hashes are accepted via `legacySHA256HexEqual`, so the default credential is functional on any deployment.\n\n### PoC\n```bash\n# Authenticate with default credentials — works on any fresh Homer deployment\ncurl -s -X POST http://<homer-host>/api/v3/auth \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"username\":\"admin\",\"password\":\"sipcapture\"}'\n# Response: {\"token\":\"<admin-jwt>\",\"data\":{\"userGroup\":\"admin\"}}\n\n# Use the token to access all admin functionality\ncurl -H \"Authorization: Bearer <admin-jwt>\" http://<homer-host>/api/v3/users\n```\n\n### Impact\nUse of Hard-coded Credentials (CWE-798). Any attacker who can reach a freshly deployed Homer instance gains immediate full administrative access using the publicly documented default password, with no lockout, rate limiting, or forced password change required.\n\n### Fix\nRemove the hardcoded `DefaultInternalAuthPasswordHash` constant. Require operators to provide a hashed admin password in the configuration file. Alternatively, generate a random password on first startup, print it to stdout once, and immediately force a change on first login.\n\nIf possible, please apply for a CVE number when posting.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/sipcapture/homer-app"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20260625091610-b2e942031ff8"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/sipcapture/homer/security/advisories/GHSA-6xp5-7rcx-xfgx"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sipcapture/homer/pull/838"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sipcapture/homer/commit/b2e942031ff8cd7435a244ebef306ee97d16b809"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/sipcapture/homer"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sipcapture/homer/releases/tag/11.0.283"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-798" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-10-07T16:12:02Z",
    "nvd_published_at" : null
  }
}